H - the type of the JWT protected headerP - the type of the JWT payload, either a content byte array or a Claims instance.public interface ProtectedJwt<H extends ProtectedHeader,P> extends Jwt<H,P>, DigestSupplier
ProtectedJwt is a Jwt that is integrity protected via a cryptographic algorithm that produces
a cryptographic digest, such as a MAC, Digital Signature or Authentication Tag.
Cryptographic Digest
This interface extends DigestSupplier to make available the ProtectedJwt's associated cryptographic
digest:
Jws, getDigest() returns the JWS signature.Jwe, getDigest() returns the AAD Authentication Tag.UNSECURED_CLAIMS, UNSECURED_CONTENTaccept, getBody, getHeader, getPayloadgetDigestCopyright © 2014–2023 jsonwebtoken.io. All rights reserved.