EncryptParameters.RsaOaep256Parameters(Byte[]) Method

Definition

Creates an instance of the EncryptParameters class for the RsaOaep256 encryption algorithm.

public static Azure.Security.KeyVault.Keys.Cryptography.EncryptParameters RsaOaep256Parameters (byte[] plaintext);
static member RsaOaep256Parameters : byte[] -> Azure.Security.KeyVault.Keys.Cryptography.EncryptParameters
Public Shared Function RsaOaep256Parameters (plaintext As Byte()) As EncryptParameters

Parameters

plaintext
Byte[]

The plaintext to encrypt.

Returns

An instance of the EncryptParameters class for the RsaOaep256 encryption algorithm.

Exceptions

plaintext is null.

Applies to