HashAlgorithmFactory

HashAlgorithmFactory

Overview

HashAlgorithmFactory is a class in Aspose.PDF FOSS for .NET.

Creates a HashAlgorithm for a DigestHashAlgorithm.

This class declares 4 methods for HashAlgorithmFactory objects in .NET programs. Available methods include: CreateHashAlgorithm, DigestHashAlgorithmToOid, NameFromOid, OidToDigestHashAlgorithm. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

Methods

SignatureDescription
CreateHashAlgorithm(algorithm: DigestHashAlgorithm)Calls CreateHashAlgorithm(algorithm) on this HashAlgorithmFactory instance.
DigestHashAlgorithmToOid(hashAlgorithm: DigestHashAlgorithm)The digest OID for a DigestHashAlgorithm.
NameFromOid(oidValue: string)The platform hash name for a digest OID - what RSA.SignHash and its kin take.
OidToDigestHashAlgorithm(hashAlgorithmOid: string)The inverse of DigestHashAlgorithmToOid; an unrecognised OID yields Auto.

See Also

 English