|
static string | GetBytesSignature (RSACryptoServiceProvider signer, byte[] data, bool useMD5=false) |
| Returns a signature of the MD5 hash of a byte array - Base64 encoded for storage More...
|
|
static string | GetFileSignature (RSACryptoServiceProvider signer, string folderPath, string fileName) |
| Returns a signature of the MD5 hash of a files contents - Base64 encoded for storage More...
|
|
static bool | InitPrivateKeyCryptoProvider (out RSACryptoServiceProvider signer) |
| Initializes a CryptoProvider using the expansions private key More...
|
|
static string | SignData (RSACryptoServiceProvider signer, string data) |
| Returns a signature of the Data - Base64 encoded for storage More...
|
|
static string Expansions.ExpansionsEditorSigning.GetBytesSignature |
( |
RSACryptoServiceProvider |
signer, |
|
|
byte[] |
data, |
|
|
bool |
useMD5 = false |
|
) |
| |
|
inlinestatic |
Returns a signature of the MD5 hash of a byte array - Base64 encoded for storage
- Parameters
-
signer | The RSACrypto Signer |
data | Array of bytes |
useMD5 | Set true if we want to compute an MD5 hash of the data before signing |
- Returns
static string Expansions.ExpansionsEditorSigning.GetFileSignature |
( |
RSACryptoServiceProvider |
signer, |
|
|
string |
folderPath, |
|
|
string |
fileName |
|
) |
| |
|
inlinestatic |
Returns a signature of the MD5 hash of a files contents - Base64 encoded for storage
- Parameters
-
signer | The RSACrypto Signer |
filePath | Path to the file |
- Returns
static bool Expansions.ExpansionsEditorSigning.InitPrivateKeyCryptoProvider |
( |
out RSACryptoServiceProvider |
signer | ) |
|
|
inlinestatic |
Initializes a CryptoProvider using the expansions private key
- Parameters
-
signer | RSACryptoProvider to be set up |
- Returns
- True if successful
static string Expansions.ExpansionsEditorSigning.SignData |
( |
RSACryptoServiceProvider |
signer, |
|
|
string |
data |
|
) |
| |
|
inlinestatic |
Returns a signature of the Data - Base64 encoded for storage
- Parameters
-
signer | The RSACrypto Signer |
data | Should be obvious |
- Returns
readonly string Expansions.ExpansionsEditorSigning.expansionSignatureFileName = "signature" |
|
static |
readonly string Expansions.ExpansionsEditorSigning.privateKeyFilename = "expansionsprivatekey.txt" |
|
static |
readonly string Expansions.ExpansionsEditorSigning.publicKeyFilename = "expansionspublickey.txt" |
|
static |
readonly string Expansions.ExpansionsEditorSigning.signingKeysPath = "/Expansions/Editor/Keys/" |
|
static |
string Expansions.ExpansionsEditorSigning.PrivateKeyPath |
|
staticget |
string Expansions.ExpansionsEditorSigning.PublicKeyPath |
|
staticget |
The documentation for this class was generated from the following file: