'Declaration
Public Shared Function Decrypt( _ ByVal certificate As X509Certificate2, _ ByVal securityPolicyUri As String, _ ByVal dataToDecrypt As EncryptedData _ ) As Byte()
'Usage
Dim certificate As X509Certificate2 Dim securityPolicyUri As String Dim dataToDecrypt As EncryptedData Dim value() As Byte value = SecurityPolicies.Decrypt(certificate, securityPolicyUri, dataToDecrypt)
public static byte[] Decrypt( X509Certificate2 certificate, string securityPolicyUri, EncryptedData dataToDecrypt )
public: static array<byte>^ Decrypt( X509Certificate2^ certificate, String^ securityPolicyUri, EncryptedData^ dataToDecrypt )
Parameters
- certificate
- securityPolicyUri
- dataToDecrypt