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)

Determines if a certain property is defined or not.

IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to