Inheritance: IDomainService
Exemplo n.º 1
0
 public static void CreateKey(IAbsoluteFilePath path, PboTools pboTools)
 {
     if (!(!path.FileName.Contains("@")))
     {
         throw new ArgumentOutOfRangeException("!path.FileName.Contains(\"@\")");
     }
     if (!(!path.FileName.Contains(".biprivatekey")))
     {
         throw new ArgumentOutOfRangeException("!path.FileName.Contains(\".biprivatekey\")");
     }
     if (!(!path.FileName.Contains(".bikey")))
     {
         throw new ArgumentOutOfRangeException("!path.FileName.Contains(\".bikey\")");
     }
     pboTools.CreateKey(path);
 }
 public IronFrontInstaller(IProcessManager processManager, PboTools pboTools,
     Func<IMirrorSelector, ExportLifetimeContext<IMultiMirrorFileDownloader>> createMultiMirrorFileDownloader,
     Func<int, IReadOnlyCollection<Uri>, ExportLifetimeContext<IMirrorSelector>> createMirrorSelectorWithLimit) {
     _processManager = processManager;
     _pboTools = pboTools;
     _createMultiMirrorFileDownloader = createMultiMirrorFileDownloader;
     _createMirrorSelectorWithLimit = createMirrorSelectorWithLimit;
 }
Exemplo n.º 3
0
 public BiSigner(PboTools pboTools)
 {
     _pboTools = pboTools;
 }
Exemplo n.º 4
0
 public static BiKeyPair CreateSignKey(IAbsoluteFilePath path, PboTools pboTools)
 {
     CreateKey(path, pboTools);
     return(new BiKeyPair(path));
 }
Exemplo n.º 5
0
 public BiSigner(PboTools pboTools) {
     _pboTools = pboTools;
 }