Package com.itextpdf.signatures
Interface IExternalDigest
- All Known Implementing Classes:
-
BouncyCastleDigest
,ProviderDigest
public interface IExternalDigest
ExternalDigest allows the use of implementations of
MessageDigest
other than BouncyCastleDigest
.
-
Method Summary
Modifier and TypeMethodDescriptiongetMessageDigest
(String hashAlgorithm) Returns the MessageDigest associated with the provided hashing algorithm.
-
Method Details
-
getMessageDigest
Returns the MessageDigest associated with the provided hashing algorithm.- Parameters:
-
hashAlgorithm
- String value representing the hashing algorithm - Returns:
- MessageDigest MessageDigest object
- Throws:
-
GeneralSecurityException
- Thrown when something goes wrong in calculating the digest
-