C# Class withSIX.Sync.Core.ExternalTools.AddonSigner

Inheritance: IAddonSigner, IDomainService
Show file Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
AddonSigner ( BiSigner signer ) : System
SignAllInFolder ( IAbsoluteDirectoryPath folder, BiKeyPair key ) : void
SignAllInFolder ( IAbsoluteDirectoryPath folder, IAbsoluteFilePath privateFile, bool repackOnFailure = false ) : void
SignFile ( IAbsoluteFilePath file, BiKeyPair key ) : void
SignFile ( IAbsoluteFilePath file, IAbsoluteFilePath privateFile, bool repackOnFailure = false ) : void
SignFolder ( IAbsoluteDirectoryPath folder, BiKeyPair key ) : void
SignFolder ( IAbsoluteDirectoryPath folder, IAbsoluteFilePath privateFile, bool repackOnFailure = false ) : void
SignMany ( SignManyParams spec ) : void

Private Methods

Method Description
ConfirmValidKeyOrPath ( IAbsoluteFilePath privateFile, IAbsoluteDirectoryPath keyPath ) : void
GetKey ( ProcessDirectoryOrFileParams spec, IAbsoluteDirectoryPath directory ) : BiKeyPair
MatchesBiSign ( BiSignFile s, FileInfo f ) : bool
MatchesBiSign ( string s, string f ) : bool
MatchesKey ( BiKeyFile biKeyFile, BiSignFile biSignFile ) : bool
ProcessDirectory ( ProcessDirectoryOrFileParams spec, IAbsoluteDirectoryPath directory ) : void
ProcessDirectoryOnlyMissing ( ProcessDirectoryOrFileParams spec, IAbsoluteDirectoryPath directory ) : void
ProcessDirectoryOrFile ( ProcessDirectoryOrFileParams spec ) : void
ProcessFile ( ProcessDirectoryOrFileParams spec, IAbsoluteFilePath filePath ) : void
SignFolderRecursively ( IAbsoluteDirectoryPath folder, IAbsoluteFilePath privateFile, bool repackOnFailure = false ) : void

Method Details

AddonSigner() public method

public AddonSigner ( BiSigner signer ) : System
signer BiSigner
return System

SignAllInFolder() public method

public SignAllInFolder ( IAbsoluteDirectoryPath folder, BiKeyPair key ) : void
folder IAbsoluteDirectoryPath
key BiKeyPair
return void

SignAllInFolder() public method

public SignAllInFolder ( IAbsoluteDirectoryPath folder, IAbsoluteFilePath privateFile, bool repackOnFailure = false ) : void
folder IAbsoluteDirectoryPath
privateFile IAbsoluteFilePath
repackOnFailure bool
return void

SignFile() public method

public SignFile ( IAbsoluteFilePath file, BiKeyPair key ) : void
file IAbsoluteFilePath
key BiKeyPair
return void

SignFile() public method

public SignFile ( IAbsoluteFilePath file, IAbsoluteFilePath privateFile, bool repackOnFailure = false ) : void
file IAbsoluteFilePath
privateFile IAbsoluteFilePath
repackOnFailure bool
return void

SignFolder() public method

public SignFolder ( IAbsoluteDirectoryPath folder, BiKeyPair key ) : void
folder IAbsoluteDirectoryPath
key BiKeyPair
return void

SignFolder() public method

public SignFolder ( IAbsoluteDirectoryPath folder, IAbsoluteFilePath privateFile, bool repackOnFailure = false ) : void
folder IAbsoluteDirectoryPath
privateFile IAbsoluteFilePath
repackOnFailure bool
return void

SignMany() public method

public SignMany ( SignManyParams spec ) : void
spec SignManyParams
return void