SetaPDF_Signer_Digest Class offering digest constants and helper methods
File: /SetaPDF v2/Signer/Digest.php
Class hierarchy
Summary
Constants
DSA_ALGORITHM
Algorithm constant
ECDSA_ALGORITHM
Algorithm constant
MD5
Digest algorithm
RMD_160
Digest algorithm
RSA_ALGORITHM
Algorithm constant
RSA_PSS_ALGORITHM
Algorithm constant
SHA_1
Digest algorithm
SHA_256
Digest algorithm
SHA_384
Digest algorithm
SHA_512
Digest algorithm
Static Properties
Static Methods
getOid()
public static SetaPDF_Signer_Digest::getOid (
string $digest [, null|string $encryptionOid = null ]
): stringGet the OID for a digest algorithm.
Parameters
- $digest : string
Digest algorithm, use the constants in SetaPDF_Signer_Digest
- $encryptionOid : null|string
algorithm constant
Exceptions
Throws InvalidArgumentException