public static interface JWS.Builder
Modifier and Type | Method and Description |
---|---|
JWS.Builder |
algorithm(JWS.Algorithm algorithm)
Sets the algorithm to use for signature generation of validation.
|
JWS |
build()
Creates a JSON Web Signature operator using the configuration of this
builder.
|
JWS.Builder |
keyProvider(KeyProvider keyProvider)
Sets the key provider to use to obtain keys for signature or validation
operations.
|
JWS.Builder keyProvider(KeyProvider keyProvider)
keyProvider
- key providerJWS.Builder algorithm(JWS.Algorithm algorithm)
algorithm
- algorithmJWS build() throws JWTConfigurationException
JWTConfigurationException
- if an error occurs in creating the
signature operatorCopyright © 2019. All rights reserved.