public static final class JWS.Builder extends CustomizableBuilder<JWS>
Constructor and Description |
---|
Builder() |
Builder(java.lang.String rawString) |
Modifier and Type | Method and Description |
---|---|
JWS |
build() |
JWS.Builder |
setAlgorithm(java.lang.String algorithm) |
JWS.Builder |
setContentType(java.lang.String contentType) |
JWS.Builder |
setCritical(java.lang.String[] critical) |
JWS.Builder |
setJsonWebKey(java.lang.String jsonWebKey) |
JWS.Builder |
setJwkSetUrl(java.lang.String jwkSetUrl) |
JWS.Builder |
setKeyId(java.lang.String keyId) |
JWS.Builder |
setPayload(java.lang.String payload) |
JWS.Builder |
setSignature(java.lang.String signature) |
JWS.Builder |
setType(java.lang.String type) |
JWS.Builder |
setX509CertificateChain(java.lang.String x509CertificateChain) |
JWS.Builder |
setX509CertificateThumbprint(java.lang.String x509CertificateThumbprint) |
JWS.Builder |
setX509url(java.lang.String x509url) |
<SK extends SigningKey,VK extends VerifyingKey> |
sign(SignatureMethod<SK,VK> method,
SK signingKey) |
setCustomField
public JWS.Builder setAlgorithm(java.lang.String algorithm)
public JWS.Builder setJwkSetUrl(java.lang.String jwkSetUrl)
public JWS.Builder setJsonWebKey(java.lang.String jsonWebKey)
public JWS.Builder setX509url(java.lang.String x509url)
public JWS.Builder setX509CertificateThumbprint(java.lang.String x509CertificateThumbprint)
public JWS.Builder setX509CertificateChain(java.lang.String x509CertificateChain)
public JWS.Builder setKeyId(java.lang.String keyId)
public JWS.Builder setType(java.lang.String type)
public JWS.Builder setContentType(java.lang.String contentType)
public JWS.Builder setCritical(java.lang.String[] critical)
public JWS.Builder setPayload(java.lang.String payload)
public JWS.Builder setSignature(java.lang.String signature)
public <SK extends SigningKey,VK extends VerifyingKey> JWS.Builder sign(SignatureMethod<SK,VK> method, SK signingKey)
public JWS build()
build
in class CustomizableBuilder<JWS>
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"