public class BouncyCastleDigest extends Object implements IExternalDigest
Constructor and Description |
---|
BouncyCastleDigest() |
Modifier and Type | Method and Description |
---|---|
MessageDigest |
getMessageDigest(String hashAlgorithm)
Returns the MessageDigest associated with the provided hashing algorithm.
|
public MessageDigest getMessageDigest(String hashAlgorithm) throws GeneralSecurityException
IExternalDigest
getMessageDigest
in interface IExternalDigest
hashAlgorithm
- String value representing the hashing algorithm
GeneralSecurityException
- Thrown when something goes wrong in calculating the digest
Copyright © 1998–2018 iText Group NV. All rights reserved.