OidExtensionsMapHashToSignatureOid Method
Converts hashing algorithm OID to appropriate OID from signature group. For example, translates
sha1 hashing algorithm to sha1NoSign with the same OID value.
Namespace: SysadminsLV.PKI.CryptographyAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public static Oid MapHashToSignatureOid(
this Oid hashAlgorithm
)
<ExtensionAttribute>
Public Shared Function MapHashToSignatureOid (
hashAlgorithm As Oid
) As Oid
public:
[ExtensionAttribute]
static Oid^ MapHashToSignatureOid(
Oid^ hashAlgorithm
)
[<ExtensionAttribute>]
static member MapHashToSignatureOid :
hashAlgorithm : Oid -> Oid
- hashAlgorithm Oid
- Hashing algorithm
OidOID in signature group.In Visual Basic and C#, you can call this method as an instance method on any object of type
Oid. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).