Class JwsHeader

  • All Implemented Interfaces:

    
    public final class JwsHeader
    
                        

    JSON Web Signature (JWS) Header Parameters

    The Header Parameter names for use in JWSs are registered in the IANA "JSON Web Signature and Encryption Header Parameters" registry.

    Spec: https://datatracker.ietf.org/doc/html/rfc7515

    • Constructor Detail

      • JwsHeader

        JwsHeader(String typ, String alg, String kid)
        Parameters:
        typ - The "typ" (type) Header Parameter is used by JWS applications to declare the media type
        alg - The "alg" (algorithm) Header Parameter identifies the cryptographic algorithm used to
        kid - The "kid" (key ID) Header Parameter is a hint indicating which key was used to secure