java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pdftron.crypto.DigestAlgorithm |
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DigestAlgorithm | e_ripemd160 | ||||||||||
DigestAlgorithm | e_sha1 | ||||||||||
DigestAlgorithm | e_sha256 | ||||||||||
DigestAlgorithm | e_sha384 | ||||||||||
DigestAlgorithm | e_sha512 | ||||||||||
DigestAlgorithm | e_unknown_digest_algorithm |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public final int | value |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static byte[] |
calculateDigest(DigestAlgorithm in_digest_algorithm_type, byte[] in_message_buf)
Calculates a digest of arbitrary data.
| ||||||||||
static DigestAlgorithm | valueOf(String name) | ||||||||||
static DigestAlgorithm | valueToEnum(int val) | ||||||||||
final static DigestAlgorithm[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Calculates a digest of arbitrary data. Useful during CMS generation custom signing workflows for digesting signedAttributes before sending off for CMS signatureValue generation (e.g. by HSM device or cloud signing platform).
in_digest_algorithm_type | -- the digest algorithm to use |
---|---|
in_message_buf | -- the message to digest |
PDFNetException |
---|