Package com.ebasetech.xi.api
Interface JWSHeader
- All Known Subinterfaces:
 JWEHeader
public interface JWSHeader
- 
Method Summary
Modifier and Type Method Description java.lang.StringgetAlgorithm()Returns algorithm (alg) used to sign the JWS,nullif not specified.java.lang.StringgetContentType()Returns the content type (cty),nullif not specified.java.lang.ObjectgetHeader(java.lang.String name)Returns the header value for a given namejava.net.URIgetJWKURL()Returns the JSON Web Key (JWK) URLjava.lang.StringgetKId()Returns the kid (kid),nullif not specified.java.lang.StringgetX509CertSHA256Thumbprint()Gets the X.509 certificate SHA-256 thumbprint (x5t#S256) parameter.java.net.URIgetX509CertURL()Gets the X.509 certificate URLjava.lang.StringtoJSONString()Return JSON String representation of header * @since V5.7 
- 
Method Details
- 
getHeader
java.lang.Object getHeader(java.lang.String name)Returns the header value for a given name- Parameters:
 name- of the header value- Returns:
 - value of the given header name or null
 - Since:
 - V5.7
 
 - 
getAlgorithm
java.lang.String getAlgorithm()Returns algorithm (alg) used to sign the JWS,nullif not specified.- Since:
 - V5.7
 
 - 
getKId
java.lang.String getKId()Returns the kid (kid),nullif not specified.- Since:
 - V5.7
 
 - 
getContentType
java.lang.String getContentType()Returns the content type (cty),nullif not specified.- Since:
 - V5.7
 
 - 
toJSONString
java.lang.String toJSONString()Return JSON String representation of header * @since V5.7 - 
getJWKURL
java.net.URI getJWKURL()Returns the JSON Web Key (JWK) URL- Returns:
 - Gets the JSON Web Key (JWK) Set URL (
jku) parameter,nullif not specified. - Since:
 - V5.7
 
 - 
getX509CertURL
java.net.URI getX509CertURL()Gets the X.509 certificate URL- Returns:
 - The X.509 certificate URL parameter, (
x5u),nullif not specified. - Since:
 - V5.7
 
 - 
getX509CertSHA256Thumbprint
java.lang.String getX509CertSHA256Thumbprint()Gets the X.509 certificate SHA-256 thumbprint (x5t#S256) parameter.- Returns:
 - The X.509 certificate SHA-256 thumbprint parameter,
         
nullif not specified. - Since:
 - V5.7
 
 
 -