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