EncryptParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parameters for encrypting plaintext.
public class EncryptParameters
type EncryptParameters = class
Public Class EncryptParameters
- Inheritance
-
EncryptParameters
Properties
AdditionalAuthenticatedData |
Gets additional data that is authenticated during decryption but not encrypted. |
Algorithm |
Gets the EncryptionAlgorithm. |
Iv |
Gets the initialization vector for encryption. |
Plaintext |
Gets the plaintext to encrypt. |
Methods
A128CbcPadParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A128CbcPad encryption algorithm with PKCS#7 padding. |
A128CbcParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A128Cbc encryption algorithm. |
A128GcmParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A128Gcm encryption algorithm. The nonce will be generated automatically and returned in the EncryptResult after encryption. |
A192CbcPadParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A192CbcPad encryption algorithm with PKCS#7 padding. |
A192CbcParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A192Cbc encryption algorithm. |
A192GcmParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A192Gcm encryption algorithm. The nonce will be generated automatically and returned in the EncryptResult after encryption. |
A256CbcPadParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A256CbcPad encryption algorithm with PKCS#7 padding. |
A256CbcParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A256Cbc encryption algorithm. |
A256GcmParameters(Byte[], Byte[]) |
Creates an instance of the EncryptParameters class for the A256Gcm encryption algorithm. The nonce will be generated automatically and returned in the EncryptResult after encryption. |
Rsa15Parameters(Byte[]) |
Creates an instance of the EncryptParameters class for the Rsa15 encryption algorithm. |
RsaOaep256Parameters(Byte[]) |
Creates an instance of the EncryptParameters class for the RsaOaep256 encryption algorithm. |
RsaOaepParameters(Byte[]) |
Creates an instance of the EncryptParameters class for the RsaOaep encryption algorithm. |