This project has retired. For details please refer to its Attic page.
JWSHeaderWriter (Apache Oltu - JOSE 2-SNAPSHOT API)

org.apache.oltu.jose.jws.io
Class JWSHeaderWriter

java.lang.Object
  extended by org.apache.oltu.commons.json.CustomizableEntityWriter<Header>
      extended by org.apache.oltu.jose.jws.io.JWSHeaderWriter

public final class JWSHeaderWriter
extends org.apache.oltu.commons.json.CustomizableEntityWriter<Header>


Field Summary
static String ALGORITHM
          The alg JWT Header key.
static String CONTENT_TYPE
          The cty JWT Header key.
static String CRITICAL
          The crit JWT Header key.
static String JSON_WEB_KEY
          The jwk JWT Header key.
static String JWK_SET_URL
          The jku JWT Header key.
static String KEY_ID
          The kid JWT Header key.
static String TYPE
          The typ JWT Header key.
static String X509_CERTIFICATE_CHAIN
          The x5c JWT Header key.
static String X509_CERTIFICATE_THUMBPRINT
          The x5t JWT Header key.
static String X509_URL
          The x5u JWT Header key.
 
Constructor Summary
JWSHeaderWriter()
           
 
Method Summary
protected  void handleProperties(Header header)
           
 
Methods inherited from class org.apache.oltu.commons.json.CustomizableEntityWriter
set, set, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALGORITHM

public static final String ALGORITHM
The alg JWT Header key.

See Also:
Constant Field Values

JWK_SET_URL

public static final String JWK_SET_URL
The jku JWT Header key.

See Also:
Constant Field Values

JSON_WEB_KEY

public static final String JSON_WEB_KEY
The jwk JWT Header key.

See Also:
Constant Field Values

X509_URL

public static final String X509_URL
The x5u JWT Header key.

See Also:
Constant Field Values

X509_CERTIFICATE_THUMBPRINT

public static final String X509_CERTIFICATE_THUMBPRINT
The x5t JWT Header key.

See Also:
Constant Field Values

X509_CERTIFICATE_CHAIN

public static final String X509_CERTIFICATE_CHAIN
The x5c JWT Header key.

See Also:
Constant Field Values

KEY_ID

public static final String KEY_ID
The kid JWT Header key.

See Also:
Constant Field Values

TYPE

public static final String TYPE
The typ JWT Header key.

See Also:
Constant Field Values

CONTENT_TYPE

public static final String CONTENT_TYPE
The cty JWT Header key.

See Also:
Constant Field Values

CRITICAL

public static final String CRITICAL
The crit JWT Header key.

See Also:
Constant Field Values
Constructor Detail

JWSHeaderWriter

public JWSHeaderWriter()
Method Detail

handleProperties

protected void handleProperties(Header header)
Specified by:
handleProperties in class org.apache.oltu.commons.json.CustomizableEntityWriter<Header>


Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.