org.apache.cxf.rs.security.jose.jws
Class JwsCompactConsumer
java.lang.Object
org.apache.cxf.rs.security.jose.jws.JwsCompactConsumer
- Direct Known Subclasses:
- JwsJwtCompactConsumer
public class JwsCompactConsumer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JwsCompactConsumer
public JwsCompactConsumer(String encodedJws)
JwsCompactConsumer
public JwsCompactConsumer(String encodedJws,
String encodedDetachedPayload)
JwsCompactConsumer
protected JwsCompactConsumer(String encodedJws,
String encodedDetachedPayload,
JoseHeadersReaderWriter r)
getUnsignedEncodedSequence
public String getUnsignedEncodedSequence()
getEncodedSignature
public String getEncodedSignature()
getDecodedJsonHeaders
public String getDecodedJsonHeaders()
getDecodedJwsPayload
public String getDecodedJwsPayload()
getDecodedJwsPayloadBytes
public byte[] getDecodedJwsPayloadBytes()
getDecodedSignature
public byte[] getDecodedSignature()
getJoseHeaders
public JoseHeaders getJoseHeaders()
verifySignatureWith
public boolean verifySignatureWith(JwsSignatureVerifier validator)
verifySignatureWith
public boolean verifySignatureWith(JsonWebKey key)
verifySignatureWith
public boolean verifySignatureWith(JsonWebKey key,
String algo)
verifySignatureWith
public boolean verifySignatureWith(RSAPublicKey key,
String algo)
verifySignatureWith
public boolean verifySignatureWith(byte[] key,
String algo)
validateCriticalHeaders
public boolean validateCriticalHeaders()
getReader
protected JoseHeadersReaderWriter getReader()
Apache CXF