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. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應