public class JwsJsonSignatureEntry extends Object implements JsonObject
Constructor and Description |
---|
JwsJsonSignatureEntry(String jwsPayload,
String encodedProtectedHeader,
String encodedSignature,
JwsHeaders unprotectedHeader) |
Modifier and Type | Method and Description |
---|---|
String |
getDecodedJwsPayload() |
byte[] |
getDecodedJwsPayloadBytes() |
byte[] |
getDecodedSignature() |
String |
getEncodedProtectedHeader() |
String |
getEncodedSignature() |
String |
getJwsPayload() |
String |
getKeyId() |
JwsHeaders |
getProtectedHeader() |
JwsHeaders |
getUnionHeader() |
JwsHeaders |
getUnprotectedHeader() |
String |
getUnsignedSequence() |
String |
toJson() |
String |
toJson(boolean flattenedMode) |
boolean |
validateCriticalHeaders() |
boolean |
verifySignatureWith(JsonWebKey key) |
boolean |
verifySignatureWith(JwsSignatureVerifier validator) |
protected static final Logger LOG
public JwsJsonSignatureEntry(String jwsPayload, String encodedProtectedHeader, String encodedSignature, JwsHeaders unprotectedHeader)
public String getJwsPayload()
public String getDecodedJwsPayload()
public byte[] getDecodedJwsPayloadBytes()
public String getEncodedProtectedHeader()
public JwsHeaders getProtectedHeader()
public JwsHeaders getUnprotectedHeader()
public JwsHeaders getUnionHeader()
public String getEncodedSignature()
public byte[] getDecodedSignature()
public String getUnsignedSequence()
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