public class JwsJsonConsumer extends Object
Constructor and Description |
---|
JwsJsonConsumer(String jwsSignedDocument) |
JwsJsonConsumer(String jwsSignedDocument,
String detachedPayload) |
protected static final Logger LOG
public JwsJsonConsumer(String jwsSignedDocument)
jwsSignedDocument
- signed JWS Documentprotected final JwsJsonSignatureEntry getSignatureObject(Map<String,Object> signatureEntry)
public String getSignedDocument()
public String getJwsPayload()
public String getDecodedJwsPayload()
public byte[] getDecodedJwsPayloadBytes()
public List<JwsJsonSignatureEntry> getSignatureEntries()
public Map<SignatureAlgorithm,List<JwsJsonSignatureEntry>> getSignatureEntryMap()
public boolean verifySignatureWith(JwsSignatureVerifier validator)
public boolean verifySignatureWith(JwsSignatureVerifier validator, Map<String,Object> entryProps)
public boolean verifySignatureWith(PublicKey key, SignatureAlgorithm algo)
public boolean verifySignatureWith(PublicKey key, SignatureAlgorithm algo, Map<String,Object> entryProps)
public boolean verifySignatureWith(byte[] key, SignatureAlgorithm algo)
public boolean verifySignatureWith(byte[] key, SignatureAlgorithm algo, Map<String,Object> entryProps)
public boolean verifySignatureWith(JsonWebKey key)
public boolean verifySignatureWith(JsonWebKey key, SignatureAlgorithm algo)
public boolean verifySignatureWith(JsonWebKey key, SignatureAlgorithm algo, Map<String,Object> entryProps)
public boolean verifySignatureWith(List<JwsSignatureVerifier> validators)
public boolean verifySignatureWith(List<JwsSignatureVerifier> validators, Map<String,Object> entryProps)
public List<JwsJsonSignatureEntry> verifyAndGetNonValidated(List<JwsSignatureVerifier> validators)
public List<JwsJsonSignatureEntry> verifyAndGetNonValidated(List<JwsSignatureVerifier> validators, Map<String,Object> entryProps)
public String verifyAndProduce(List<JwsSignatureVerifier> validators)
Apache CXF