Share via


IKeyVaultClient.Encrypt Method

Definition

Overloads

Encrypt(String, String, Byte[])
Encrypt(String, String, String, Byte[])

Encrypt(String, String, Byte[])

public:
 cli::array <System::Byte> ^ Encrypt(System::String ^ keyIdentifier, System::String ^ algorithm, cli::array <System::Byte> ^ rawData);
public byte[] Encrypt (string keyIdentifier, string algorithm, byte[] rawData);
abstract member Encrypt : string * string * byte[] -> byte[]
Public Function Encrypt (keyIdentifier As String, algorithm As String, rawData As Byte()) As Byte()

Parameters

keyIdentifier
String
algorithm
String
rawData
Byte[]

Returns

Byte[]

Applies to

Encrypt(String, String, String, Byte[])

public:
 cli::array <System::Byte> ^ Encrypt(System::String ^ keyName, System::String ^ keyVersion, System::String ^ algorithm, cli::array <System::Byte> ^ rawData);
public byte[] Encrypt (string keyName, string keyVersion, string algorithm, byte[] rawData);
abstract member Encrypt : string * string * string * byte[] -> byte[]
Public Function Encrypt (keyName As String, keyVersion As String, algorithm As String, rawData As Byte()) As Byte()

Parameters

keyName
String
keyVersion
String
algorithm
String
rawData
Byte[]

Returns

Byte[]

Applies to