MessageCertificateX509.Sign Method (String, Encoding)
Signs data by using a certificate.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public override byte[] Sign(
string data,
Encoding encoding
)
public:
virtual array<unsigned char>^ Sign(
String^ data,
Encoding^ encoding
) override
Public Overrides Function Sign (
data As String,
encoding As Encoding
) As Byte()
Parameters
data
Type: System.StringThe data to sign.
encoding
Type: System.Text.EncodingThe string encoding to use.
Return Value
Type: System.Byte[]
The data signature.
See Also
Sign Overload
MessageCertificateX509 Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top