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 Type
    Method
    Description
    getMessageDigest(String hashAlgorithm)
    Returns the MessageDigest associated with the provided hashing algorithm.
  • Method Details

    • getMessageDigest

      MessageDigest getMessageDigest (String hashAlgorithm) throws GeneralSecurityException
      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