Class JwsCompactConsumer

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

public class JwsCompactConsumer extends Object
  • Field Details

    • LOG

      protected static final Logger LOG
  • Constructor Details

    • JwsCompactConsumer

      public JwsCompactConsumer(String encodedJws)
    • JwsCompactConsumer

      public JwsCompactConsumer(String encodedJws, String detachedPayload)
  • Method Details

    • getUnsignedEncodedSequence

      public String getUnsignedEncodedSequence()
    • 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)
    • verifySignatureWith

      public boolean verifySignatureWith(JsonWebKey key, SignatureAlgorithm algo)
    • verifySignatureWith

      public boolean verifySignatureWith(X509Certificate cert, SignatureAlgorithm algo)
    • verifySignatureWith

      public boolean verifySignatureWith(PublicKey key, SignatureAlgorithm algo)
    • verifySignatureWith

      public boolean verifySignatureWith(byte[] key, SignatureAlgorithm algo)
    • validateCriticalHeaders

      public boolean validateCriticalHeaders()
    • getReader

      protected JsonMapObjectReaderWriter getReader()