Interface DigestProvider.DigestFunction

  • 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.DigestFunction
    Function to generate a digest from bytes.
    • Method Detail

      • apply

        Single<String> apply​(byte[] data,
                             Boolean preHashed)
        Create digest.
        data - data to digest
        preHashed - whether the data is already a hash (true), or the raw data (false)
        future with the digest string (signature, HMAC)