public class JwsJsonProducer extends Object
Constructor and Description |
---|
JwsJsonProducer(String tbsDocument) |
JwsJsonProducer(String tbsDocument,
boolean supportFlattened) |
Modifier and Type | Method and Description |
---|---|
String |
getJwsJsonSignedDocument() |
String |
getJwsJsonSignedDocument(boolean detached) |
String |
getPlainPayload() |
List<JwsJsonSignatureEntry> |
getSignatureEntries() |
javax.ws.rs.core.MultivaluedMap<String,JwsJsonSignatureEntry> |
getSignatureEntryMap() |
String |
getUnsignedEncodedPayload() |
String |
signWith(byte[] key,
String algo) |
String |
signWith(JsonWebKey jwk) |
String |
signWith(JwsSignatureProvider signer) |
String |
signWith(JwsSignatureProvider signer,
JoseHeaders protectedHeader) |
String |
signWith(JwsSignatureProvider signer,
JoseHeaders protectedHeader,
JoseHeaders unprotectedHeader) |
String |
signWith(List<JwsSignatureProvider> signers) |
String |
signWith(PrivateKey key,
String algo) |
protected static final Logger LOG
public JwsJsonProducer(String tbsDocument)
public JwsJsonProducer(String tbsDocument, boolean supportFlattened)
public String getPlainPayload()
public String getUnsignedEncodedPayload()
public String getJwsJsonSignedDocument()
public String getJwsJsonSignedDocument(boolean detached)
public List<JwsJsonSignatureEntry> getSignatureEntries()
public javax.ws.rs.core.MultivaluedMap<String,JwsJsonSignatureEntry> getSignatureEntryMap()
public String signWith(List<JwsSignatureProvider> signers)
public String signWith(JwsSignatureProvider signer)
public String signWith(JwsSignatureProvider signer, JoseHeaders protectedHeader)
public String signWith(JsonWebKey jwk)
public String signWith(PrivateKey key, String algo)
public String signWith(JwsSignatureProvider signer, JoseHeaders protectedHeader, JoseHeaders unprotectedHeader)
Apache CXF