public class JwsJsonSignatureEntry extends Object
Constructor and Description |
---|
JwsJsonSignatureEntry(String encodedJwsPayload,
String encodedProtectedHeader,
String encodedSignature,
JoseHeaders unprotectedHeader) |
Modifier and Type | Method and Description |
---|---|
String |
getDecodedJwsPayload() |
byte[] |
getDecodedJwsPayloadBytes() |
byte[] |
getDecodedSignature() |
String |
getEncodedJwsPayload() |
String |
getEncodedProtectedHeader() |
String |
getEncodedSignature() |
String |
getKeyId() |
JoseHeaders |
getProtectedHeader() |
JwsHeaders |
getUnionHeader() |
JoseHeaders |
getUnprotectedHeader() |
String |
getUnsignedEncodedSequence() |
String |
toJson() |
String |
toJson(boolean flattenedMode) |
boolean |
validateCriticalHeaders() |
boolean |
verifySignatureWith(JsonWebKey key) |
boolean |
verifySignatureWith(JwsSignatureVerifier validator) |
protected static final Logger LOG
public JwsJsonSignatureEntry(String encodedJwsPayload, String encodedProtectedHeader, String encodedSignature, JoseHeaders unprotectedHeader)
public String getEncodedJwsPayload()
public String getDecodedJwsPayload()
public byte[] getDecodedJwsPayloadBytes()
public String getEncodedProtectedHeader()
public JoseHeaders getProtectedHeader()
public JoseHeaders getUnprotectedHeader()
public JwsHeaders getUnionHeader()
public String getEncodedSignature()
public byte[] getDecodedSignature()
public String getUnsignedEncodedSequence()
public String getKeyId()
public boolean verifySignatureWith(JwsSignatureVerifier validator)
public boolean verifySignatureWith(JsonWebKey key)
public boolean validateCriticalHeaders()
public String toJson()
public String toJson(boolean flattenedMode)
Apache CXF