EncryptParameters.RsaOaepParameters(Byte[]) Method

Definition

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

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

Parameters

plaintext
Byte[]

The plaintext to encrypt.

Returns

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

Exceptions

plaintext is null.

Applies to