com.nimbusds.jose
Interface ReadOnlyCommonSEHeader

All Superinterfaces:
ReadOnlyHeader
All Known Subinterfaces:
ReadOnlyJWEHeader, ReadOnlyJWSHeader
All Known Implementing Classes:
CommonSEHeader, JWEHeader, JWSHeader

public interface ReadOnlyCommonSEHeader
extends ReadOnlyHeader

Read-only view of common JWS/JWE header parameters.

Version:
$version$ (2012-09-19)
Author:
Vladimir Dzhuvinov

Method Summary
 JWK getJWK()
          Gets the JSON Web Key (JWK) (jwk) parameter.
 java.net.URL getJWKURL()
          Gets the JSON Web Key (JWK) Set URL (jku) parameter.
 java.lang.String getKeyID()
          Gets the key ID (kid) parameter.
 Base64[] getX509CertChain()
          Gets the X.509 certificate chain parameter (x5c) corresponding to the key used to sign or encrypt the JWS/JWE object.
 Base64URL getX509CertThumbprint()
          Gets the X.509 certificate thumbprint (x5t) parameter.
 java.net.URL getX509CertURL()
          Gets the X.509 certificate URL (x5u) parameter.
 
Methods inherited from interface com.nimbusds.jose.ReadOnlyHeader
getAlgorithm, getContentType, getCustomParameter, getCustomParameters, getIncludedParameters, getType, toBase64URL, toJSONObject
 

Method Detail

getJWKURL

java.net.URL getJWKURL()
Gets the JSON Web Key (JWK) Set URL (jku) parameter.

Returns:
The JSON Web Key (JWK) Set URL parameter, null if not specified.

getJWK

JWK getJWK()
Gets the JSON Web Key (JWK) (jwk) parameter.

Returns:
The JSON Web Key (JWK) parameter, null if not specified.

getX509CertURL

java.net.URL getX509CertURL()
Gets the X.509 certificate URL (x5u) parameter.

Returns:
The X.509 certificate URL parameter, null if not specified.

getX509CertThumbprint

Base64URL getX509CertThumbprint()
Gets the X.509 certificate thumbprint (x5t) parameter.

Returns:
The X.509 certificate thumbprint parameter, null if not specified.

getX509CertChain

Base64[] getX509CertChain()
Gets the X.509 certificate chain parameter (x5c) corresponding to the key used to sign or encrypt the JWS/JWE object.

Returns:
The X.509 certificate chain parameter, null if not specified.

getKeyID

java.lang.String getKeyID()
Gets the key ID (kid) parameter.

Returns:
The key ID parameter, null if not specified.


Copyright © 2013 NimbusDS. All Rights Reserved.