org.apache.cxf.rs.security.oauth2.jws
Class JwsCompactConsumer

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.jws.JwsCompactConsumer
Direct Known Subclasses:
JwsJwtCompactConsumer

public class JwsCompactConsumer
extends Object


Constructor Summary
JwsCompactConsumer(String encodedJws)
           
JwsCompactConsumer(String encodedJws, JwsSignatureProperties props)
           
JwsCompactConsumer(String encodedJws, JwsSignatureProperties props, JwtHeadersReader r)
           
JwsCompactConsumer(String encodedJws, JwtTokenReader r)
           
 
Method Summary
 String getDecodedJsonHeaders()
           
 String getDecodedJwsPayload()
           
 byte[] getDecodedJwsPayloadBytes()
           
 byte[] getDecodedSignature()
           
 String getEncodedSignature()
           
 JwtHeaders getJwtHeaders()
           
protected  JwtHeadersReader getReader()
           
 String getUnsignedEncodedPayload()
           
 boolean verifySignatureWith(JwsSignatureVerifier validator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JwsCompactConsumer

public JwsCompactConsumer(String encodedJws)

JwsCompactConsumer

public JwsCompactConsumer(String encodedJws,
                          JwsSignatureProperties props)

JwsCompactConsumer

public JwsCompactConsumer(String encodedJws,
                          JwtTokenReader r)

JwsCompactConsumer

public JwsCompactConsumer(String encodedJws,
                          JwsSignatureProperties props,
                          JwtHeadersReader r)
Method Detail

getUnsignedEncodedPayload

public String getUnsignedEncodedPayload()

getEncodedSignature

public String getEncodedSignature()

getDecodedJsonHeaders

public String getDecodedJsonHeaders()

getDecodedJwsPayload

public String getDecodedJwsPayload()

getDecodedJwsPayloadBytes

public byte[] getDecodedJwsPayloadBytes()

getDecodedSignature

public byte[] getDecodedSignature()

getJwtHeaders

public JwtHeaders getJwtHeaders()

verifySignatureWith

public boolean verifySignatureWith(JwsSignatureVerifier validator)

getReader

protected JwtHeadersReader getReader()


Apache CXF