Interface DigestVerifier

    • Method Detail

      • verify

        boolean verify​(@NonNull
                       @NonNull String digestHeader,
                       @NonNull
                       @NonNull String body)
        Verifies digest header value compliance with message body. The only hash algorithms that may be used to calculate the Digest within the context of this specification are SHA-256 and SHA-512 as defined in [RFC5843].
        Parameters:
        digestHeader - Request header which contains a Hash of the message body.
        body - Message body form request
        Returns:
        true if digest header is compliant with message body. false otherwise.