EncryptionUtils EncryptionUtils EncryptionUtils Class

Definition

public static class EncryptionUtils
type EncryptionUtils = class
Public Class EncryptionUtils
Inheritance
EncryptionUtilsEncryptionUtilsEncryptionUtils

Fields

IVSizeInBytesForAesCbc IVSizeInBytesForAesCbc IVSizeInBytesForAesCbc
KeySizeInBitsForAes128 KeySizeInBitsForAes128 KeySizeInBitsForAes128
KeySizeInBitsForAes256 KeySizeInBitsForAes256 KeySizeInBitsForAes256
KeySizeInBytesForAes128 KeySizeInBytesForAes128 KeySizeInBytesForAes128
KeySizeInBytesForAes256 KeySizeInBytesForAes256 KeySizeInBytesForAes256

Methods

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

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to