Interface DigestProvider.VerifyFunction

Enclosing interface:
DigestProvider<T extends ProviderConfig>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DigestProvider.VerifyFunction
Function to verify a digest string.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(byte[] data, Boolean preHashed, String digest)
    Verify digest.
  • Method Details

    • apply

      Single<Boolean> apply(byte[] data, Boolean preHashed, String digest)
      Verify digest.
      Parameters:
      data - data that was digested
      preHashed - whether the data is already a hash
      digest - original digest of the data (signature, HMAC)
      Returns:
      future with the result of verification