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

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

public class JwsCompactConsumer
extends Object


Constructor Summary
JwsCompactConsumer(String encodedJws)
           
JwsCompactConsumer(String encodedJws, JoseHeadersReader r)
           
 
Method Summary
 String getDecodedJsonHeaders()
           
 String getDecodedJwsPayload()
           
 byte[] getDecodedJwsPayloadBytes()
           
 byte[] getDecodedSignature()
           
 String getEncodedSignature()
           
 JwsHeaders getJwsHeaders()
           
protected  JoseHeadersReader getReader()
           
 String getUnsignedEncodedPayload()
           
 boolean verifySignatureWith(JsonWebKey key)
           
 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,
                          JoseHeadersReader 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()

getJwsHeaders

public JwsHeaders getJwsHeaders()

verifySignatureWith

public boolean verifySignatureWith(JwsSignatureVerifier validator)

verifySignatureWith

public boolean verifySignatureWith(JsonWebKey key)

getReader

protected JoseHeadersReader getReader()


Apache CXF