EncryptionUtils.EncryptSymmetricKeyData(X509Certificate2, Byte[]) Method
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.
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
- X509Certificate2
- keyData
- Byte[]
Returns
Byte[]