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