MessageCertificateX509.HashAndSign Method (Byte[], MessageCertificateSigningOptions)
Hashes data, and then signs the hash.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public byte[] HashAndSign(
byte[] data,
MessageCertificateSigningOptions options
)
public:
array<unsigned char>^ HashAndSign(
array<unsigned char>^ data,
MessageCertificateSigningOptions options
)
Public Function HashAndSign (
data As Byte(),
options As MessageCertificateSigningOptions
) As Byte()
Parameters
data
Type: System.Byte[]The data to hash.
options
Type: Microsoft.ConfigurationManagement.Messaging.Framework.MessageCertificateSigningOptionsCertificate signing options.
Return Value
Type: System.Byte[]
Hashed and signed data.
See Also
HashAndSign Overload
MessageCertificateX509 Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top