EncryptionUtils.EncryptSymmetricKeyData(X509Certificate2, Byte[]) Method

Definition

public static byte[] EncryptSymmetricKeyData (System.Security.Cryptography.X509Certificates.X509Certificate2 cert, byte[] keyData);
static member EncryptSymmetricKeyData : System.Security.Cryptography.X509Certificates.X509Certificate2 * byte[] -> byte[]
Public Shared Function EncryptSymmetricKeyData (cert As X509Certificate2, keyData As Byte()) As Byte()

Parameters

cert
System.Security.Cryptography.X509Certificates.X509Certificate2
keyData
System.Byte[]

Returns

System.Byte[]

Applies to