Property | Type | Description | |
---|---|---|---|
CreateCryptoTransform | ICryptoTransform | ||
CreateCryptoTransform | ICryptoTransform | ||
CreateEphemeralCryptoTransformCore | ICryptoTransform | ||
CreatePersistedCryptoTransformCore | ICryptoTransform | ||
ProduceCngKey | System.Security.Cryptography.CngKey |
Method | Description | |
---|---|---|
CngSymmetricAlgorithmCore ( ICngSymmetricAlgorithm outer ) : System |
Configures the core to use plaintext keys (to be auto-generated when first needed.)
|
|
CngSymmetricAlgorithmCore ( ICngSymmetricAlgorithm outer, string keyName, CngProvider provider, CngKeyOpenOptions openOptions ) : System |
Constructs the core to use a stored CNG key.
|
|
CreateDecryptor ( ) : ICryptoTransform | ||
CreateDecryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform | ||
CreateEncryptor ( ) : ICryptoTransform | ||
CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform | ||
GenerateIV ( ) : void | ||
GenerateKey ( ) : void | ||
GetKeyIfExportable ( ) : byte[] |
Note! This can and likely will throw if the algorithm was given a hardware-based key.
|
|
SetKey ( byte key ) : void | ||
SetKeySize ( int keySize, ICngSymmetricAlgorithm outer ) : void |
Method | Description | |
---|---|---|
CreateCryptoTransform ( bool encrypting ) : ICryptoTransform | ||
CreateCryptoTransform ( byte rgbKey, byte rgbIV, bool encrypting ) : ICryptoTransform | ||
CreateEphemeralCryptoTransformCore ( byte key, byte iv, bool encrypting ) : ICryptoTransform | ||
CreatePersistedCryptoTransformCore ( Func |
||
ProduceCngKey ( ) : System.Security.Cryptography.CngKey |
public CngSymmetricAlgorithmCore ( ICngSymmetricAlgorithm outer ) : System | ||
outer | ICngSymmetricAlgorithm | |
return | System |
public CngSymmetricAlgorithmCore ( ICngSymmetricAlgorithm outer, string keyName, CngProvider provider, CngKeyOpenOptions openOptions ) : System | ||
outer | ICngSymmetricAlgorithm | |
keyName | string | |
provider | CngProvider | |
openOptions | CngKeyOpenOptions | |
return | System |
public CreateDecryptor ( ) : ICryptoTransform | ||
return | ICryptoTransform |
public CreateDecryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform | ||
rgbKey | byte | |
rgbIV | byte | |
return | ICryptoTransform |
public CreateEncryptor ( ) : ICryptoTransform | ||
return | ICryptoTransform |
public CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform | ||
rgbKey | byte | |
rgbIV | byte | |
return | ICryptoTransform |
public SetKeySize ( int keySize, ICngSymmetricAlgorithm outer ) : void | ||
keySize | int | |
outer | ICngSymmetricAlgorithm | |
return | void |