Method | Description | |
---|---|---|
ComputeBrowserExamKey ( ) : string |
Compute a Browser Exam Key SHA256 hash base16 string.
|
|
ComputeHashForFiles ( IEnumerable |
||
ComputePasswordHash ( string input ) : string |
Compute a SHA256 hash base16 string.
|
|
DecryptDataWithCertificate ( byte encryptedData, |
Decrypt with X509 certificate/private key and RSA algorithm
|
|
DecryptDataWithPassword ( byte encryptedBytesWithSalt, string passphrase ) : byte[] |
Decrypt with password, key, salt using AES (Open SSL Decrypt)..
|
|
EncryptDataWithCertificate ( byte plainInputData, |
Encrypt with certificate/public key and RSA algorithm
|
|
EncryptDataWithPassword ( byte plainData, string password ) : byte[] |
Encrypt with password, key, salt using AES (Open SSL Encrypt).
|
|
GenerateBrowserExamKeySalt ( ) : byte[] |
Generate a Browser Exam Key Salt as byte data.
|
|
GetCertificateFromPassedStore ( byte publicKeyHash, |
Helper method: Search passed store for certificate with passed public key hash.
|
|
GetCertificateFromStore ( byte publicKeyHash ) : |
Get certificate from both stores.
|
|
GetCertificatesAndNames ( |
Get array of certificate references and the according names from both certificate stores.
|
|
GetCertificatesAndNamesFromStore ( |
Helper method: Get array of certificate references and the according names from the passed certificate store.
|
|
GetPublicKeyHashFromCertificate ( |
Get the public key hash for the certificate from the store.
|
|
GetSSLCertificatesAndNames ( |
Get array of CA certificate references and the according names from the certificate store.
|
|
Parse ( string data, string delimiter ) : List |
Recursively searches the supplied AD string for all groups.
|
|
StoreCertificateIntoStore ( byte certificateData ) : void |
Store certificate into the store.
|
Method | Description | |
---|---|---|
ComputeFileHash ( string file ) : string | ||
ComputeSEBComponentsHash ( ) : string |
public static ComputeBrowserExamKey ( ) : string | ||
return | string |
public static ComputeHashForFiles ( IEnumerable |
||
fileNames | IEnumerable |
|
return | string |
public static ComputePasswordHash ( string input ) : string | ||
input | string | |
return | string |
public static DecryptDataWithCertificate ( byte encryptedData, |
||
encryptedData | byte | |
sebCertificate | ||
return | byte[] |
public static DecryptDataWithPassword ( byte encryptedBytesWithSalt, string passphrase ) : byte[] | ||
encryptedBytesWithSalt | byte | |
passphrase | string | |
return | byte[] |
public static EncryptDataWithCertificate ( byte plainInputData, |
||
plainInputData | byte | |
sebCertificate | ||
return | byte[] |
public static EncryptDataWithPassword ( byte plainData, string password ) : byte[] | ||
plainData | byte | |
password | string | |
return | byte[] |
public static GenerateBrowserExamKeySalt ( ) : byte[] | ||
return | byte[] |
public static GetCertificateFromPassedStore ( byte publicKeyHash, |
||
publicKeyHash | byte | |
store | ||
return |
public static GetCertificateFromStore ( byte publicKeyHash ) : |
||
publicKeyHash | byte | |
return |
public static GetCertificatesAndNames ( |
||
certificateNames | ||
return |
public static GetCertificatesAndNamesFromStore ( |
||
certificateNames | ||
store | ||
return |
public static GetPublicKeyHashFromCertificate ( |
||
certificateRef | ||
return | byte[] |
public static GetSSLCertificatesAndNames ( |
||
certificateNames | ||
return |
public static Parse ( string data, string delimiter ) : List |
||
data | string | The string returned from AD to parse for a group. |
delimiter | string | The string to use as the seperator for the data. ex. "," |
return | List |
public static StoreCertificateIntoStore ( byte certificateData ) : void | ||
certificateData | byte | |
return | void |