Share via


MessageCertificateX509.HashAlgorithmToOid Method (String)

 

Converts a hash algorithm to its OID representation.

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

Syntax

public static string HashAlgorithmToOid(
    string algorithm
)
public:
static String^ HashAlgorithmToOid(
    String^ algorithm
)
Public Shared Function HashAlgorithmToOid (
    algorithm As String
) As String

Parameters

  • algorithm
    Type: System.String

    The name of the algorithm to convert to OID.

Return Value

Type: System.String

OID representation of the algorithm.

See Also

MessageCertificateX509 Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top