MessageCertificate.Sign Method (String, Encoding)
Signs data using the certificate.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public virtual byte[] Sign(
string data,
Encoding encoding
)
public:
virtual array<unsigned char>^ Sign(
String^ data,
Encoding^ encoding
)
Public Overridable 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[]
See Also
Sign Overload
MessageCertificate Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top