- Type Parameters:
A
- the payload type
- All Superinterfaces:
JOSEObject<A,
JWSHeader>
A JSON Web Signature object as defined by RFC7515.
This represents a single JWS object serialized using the compact representation as defined by RFC7515 Section 7.1.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Methods inherited from interface io.inverno.mod.security.jose.JOSEObject
getHeader, getPayload, toCompact
-
Method Details
-
getSignature
String getSignature()Returns the signature encoded as Base64URL.
- Returns:
- the Base64URL encoded signature with no padding
-
toDetachedCompact
String toDetachedCompact()Returns the the detached compact representation of the JWS as defined by RFC7797.
The resulting compact representation basically misses the payload part which must be communicated to the recipient by external means.
- Returns:
- a detached compact representation of the JWS
-
hashCode
int hashCode() -
equals
-