Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jws
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 Summary
Modifier and TypeMethodDescriptionboolean
Returns the protected header which is integrity protected (i.e. processed within the signature).Returns the signature encoded as Base64URL.Returns the unprotected header.int
hashCode()
-
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() -
equals
-