IMessage.GetCertificateFromMessage Method (CertificatePurposes)

 

Retrieves the X509-based certificate from a message. Do not pass in this function as a Flag, because there's no guarantee what value will be returned.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

MessageCertificateX509 GetCertificateFromMessage(
    CertificatePurposes certificatePurpose
)
MessageCertificateX509^ GetCertificateFromMessage(
    CertificatePurposes certificatePurpose
)
Function GetCertificateFromMessage (
    certificatePurpose As CertificatePurposes
) As MessageCertificateX509

Parameters

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.MessageCertificateX509

See Also

IMessage Interface
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top