Class JwsJsonSignatureEntry
java.lang.Object
org.apache.cxf.rs.security.jose.jws.JwsJsonSignatureEntry
- All Implemented Interfaces:
JsonObject
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJwsJsonSignatureEntry(String jwsPayload, String encodedProtectedHeader, String encodedSignature, JwsHeaders unprotectedHeader) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]getKeyId()toJson()toJson(boolean flattenedMode) booleanbooleanbooleanverifySignatureWith(JwsSignatureVerifier validator)
-
Field Details
-
LOG
-
-
Constructor Details
-
JwsJsonSignatureEntry
public JwsJsonSignatureEntry(String jwsPayload, String encodedProtectedHeader, String encodedSignature, JwsHeaders unprotectedHeader)
-
-
Method Details
-
getJwsPayload
-
getDecodedJwsPayload
-
getDecodedJwsPayloadBytes
public byte[] getDecodedJwsPayloadBytes() -
getEncodedProtectedHeader
-
getProtectedHeader
-
getUnprotectedHeader
-
getUnionHeader
-
getEncodedSignature
-
getDecodedSignature
public byte[] getDecodedSignature() -
getUnsignedSequence
-
getKeyId
-
verifySignatureWith
-
verifySignatureWith
-
validateCriticalHeaders
public boolean validateCriticalHeaders() -
toJson
-
toJson
-