public interface HashAlgorithm extends DigestAlgorithm<Request<InputStream>,VerifyDigestRequest>
DigestAlgorithm
that computes and verifies digests without the use of a cryptographic key, such as for
thumbprints and digital fingerprints.
Standard Identifier
HashAlgorithm
extends Identifiable
: the value returned from
getId()
in all JWT standard hash algorithms will return one of the
"Hash Name String
" values defined in the IANA
Named Information Hash
Algorithm Registry. This is to ensure the correct algorithm ID is used within other JWT-standard identifiers,
such as within JWK Thumbprint URIs.
IANA Standard Implementations
Constant definitions and utility methods for common (but not all)
IANA Hash
Algorithms are available via Jwks.HASH
.
Jwks.HASH
digest, verify
getId
Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.