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.

    public static interface DigestProvider.VerifyFunction
    Function to verify a digest string.
    • Method Detail

      • apply

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