public class JwsCompactProducer extends Object
Modifier | Constructor and Description |
---|---|
protected |
JwsCompactProducer(JwsHeaders headers,
JoseHeadersReaderWriter w,
String plainJwsPayload) |
|
JwsCompactProducer(JwsHeaders headers,
String plainJwsPayload) |
|
JwsCompactProducer(String plainJwsPayload) |
Modifier and Type | Method and Description |
---|---|
String |
getEncodedSignature() |
JwsHeaders |
getJoseHeaders() |
String |
getSignedEncodedJws() |
String |
getSignedEncodedJws(boolean detached) |
String |
getUnsignedEncodedJws() |
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(JwsHeaders headers, String plainJwsPayload)
protected JwsCompactProducer(JwsHeaders headers, JoseHeadersReaderWriter w, String plainJwsPayload)
public JwsHeaders getJoseHeaders()
public String getUnsignedEncodedJws()
public String getEncodedSignature()
public String getSignedEncodedJws()
public String getSignedEncodedJws(boolean detached)
public String signWith(JsonWebKey jwk)
public String signWith(PrivateKey key)
public String signWith(byte[] key)
public String signWith(JwsSignatureProvider signer)
public String setSignatureBytes(byte[] signatureOctets)
Apache CXF