EncryptionUtils Class

Definition

public static class EncryptionUtils
Inheritance
EncryptionUtils

Fields

IVSizeInBytesForAesCbc
KeySizeInBitsForAes128
KeySizeInBitsForAes256
KeySizeInBytesForAes128
KeySizeInBytesForAes256

Methods

CalculateChecksum(Byte[], Guid)
DecryptSymmetricKey(X509Certificate2, Byte[])
EncryptSymmetricKey(X509Certificate2, SymmetricAlgorithm)
EncryptSymmetricKeyData(X509Certificate2, Byte[])
EraseKey(Byte[])
GetCertificateFromStore(String)
GetCertificateFromStore(String, StoreLocation)
GetKeyIdAsGuid(String)
GetKeyIdentifierAsString(Guid)
SaveCertificateToStore(X509Certificate2)

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)