Class JwsCompactConsumer

    • Field Detail

      • LOG

        protected static final Logger LOG
    • Constructor Detail

      • JwsCompactConsumer

        public JwsCompactConsumer​(String encodedJws)
      • JwsCompactConsumer

        public JwsCompactConsumer​(String encodedJws,
                                  String detachedPayload)
    • Method Detail

      • 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​(JsonWebKey key)
      • verifySignatureWith

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

        public boolean validateCriticalHeaders()