Interface JsonJWS.Signature<A>

Type Parameters:
A - the payload type
All Known Subinterfaces:
JsonJWS.BuiltSignature<A>, JsonJWS.ReadSignature<A>
Enclosing interface:
JsonJWS<A,B extends JsonJWS.Signature<A>>

public static interface JsonJWS.Signature<A>

Base JSON JWS Signature exposing signature protected and unprotected JWS JOSE headers and the signature.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Details

    • getProtectedHeader

      JWSHeader getProtectedHeader()

      Returns the protected header which is integrity protected (i.e. processed within the signature).

      Returns:
      the protected header
    • getUnprotectedHeader

      JWSHeader getUnprotectedHeader()

      Returns the unprotected header.

      Returns:
      the unprotected header
    • getSignature

      String getSignature()

      Returns the signature encoded as Base64URL.

      Returns:
      the Base64URL encoded signature with no padding
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      boolean equals(Object obj)
      Overrides:
      equals in class Object