JWSHeader
JWSHeader is one these types:
JWSHeaderJWEHeader
JWSHeader Functions
getAlgorithm | JWSHeader.getAlgorithm( ) | Returns algorithm ({@code alg }) used to sign the JWS, {@code null} if not specified. |
getContentType | JWSHeader.getContentType( ) | Returns the content type ({@code cty}), {@code null} if not specified. |
getHeader | JWSHeader.getHeader( name ) | Returns the header value for a given name |
getJWKURL | JWSHeader.getJWKURL( ) | Returns the JSON Web Key (JWK) URL |
getKId | JWSHeader.getKId( ) | Returns the kid ({@code kid}), {@code null} if not specified. |
toJSONString | JWSHeader.toJSONString( ) | Return JSON String representation of header * @since V5.7 |
getX509CertSHA256Thumbprint | JWSHeader.getX509CertSHA256Thumbprint( ) | Gets the X.509 certificate SHA-256 thumbprint ({@code x5t#S256}) parameter. |
getX509CertURL | JWSHeader.getX509CertURL( ) | Gets the X.509 certificate URL |