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; }
public BiSigner(PboTools pboTools) { _pboTools = pboTools; }
public static BiKeyPair CreateSignKey(IAbsoluteFilePath path, PboTools pboTools) { CreateKey(path, pboTools); return(new BiKeyPair(path)); }
public BiSigner(PboTools pboTools) { _pboTools = pboTools; }