public class JwsCompactProducer extends Object
Modifier | Constructor and Description |
---|---|
protected |
JwsCompactProducer(JwsHeaders headers,
JsonMapObjectReaderWriter w,
String plainJwsPayload) |
protected |
JwsCompactProducer(JwsHeaders headers,
JsonMapObjectReaderWriter w,
String plainJwsPayload,
boolean detached) |
|
JwsCompactProducer(JwsHeaders headers,
String plainJwsPayload) |
|
JwsCompactProducer(JwsHeaders headers,
String plainJwsPayload,
boolean detached) |
|
JwsCompactProducer(String plainJwsPayload) |
|
JwsCompactProducer(String plainJwsPayload,
boolean detached) |
Modifier and Type | Method and Description |
---|---|
String |
getEncodedSignature() |
JwsHeaders |
getJwsHeaders() |
String |
getSignedEncodedJws() |
String |
getUnsignedEncodedJws() |
boolean |
isPlainText() |
String |
setSignatureBytes(byte[] signatureOctets) |
String |
setSignatureText(String signatureText) |
String |
signWith(byte[] key) |
String |
signWith(JsonWebKey jwk) |
String |
signWith(JwsSignatureProvider signer) |
String |
signWith(PrivateKey key) |
public JwsCompactProducer(String plainJwsPayload)
public JwsCompactProducer(String plainJwsPayload, boolean detached)
public JwsCompactProducer(JwsHeaders headers, String plainJwsPayload)
public JwsCompactProducer(JwsHeaders headers, String plainJwsPayload, boolean detached)
protected JwsCompactProducer(JwsHeaders headers, JsonMapObjectReaderWriter w, String plainJwsPayload)
protected JwsCompactProducer(JwsHeaders headers, JsonMapObjectReaderWriter w, String plainJwsPayload, boolean detached)
public JwsHeaders getJwsHeaders()
public String getUnsignedEncodedJws()
public String getEncodedSignature()
public String getSignedEncodedJws()
public String signWith(JsonWebKey jwk)
public String signWith(PrivateKey key)
public String signWith(byte[] key)
public String signWith(JwsSignatureProvider signer)
public boolean isPlainText()
public String setSignatureBytes(byte[] signatureOctets)
Apache CXF