public interface JwsBuilderFactory
JwsBuilder
JwsBuilder
Modifier and Type | Method and Description |
---|---|
JwsBuilder |
getInstance(String algorithm)
Get an instance of a JwsBuilder.
|
JwsBuilder |
getInstance(String algorithm,
Key signingKey)
Get an instance of a JwsBuilder
|
JwsBuilder getInstance(String algorithm, Key signingKey)
algorithm
- The algorithm used to sign the JWSkey
- The key used to sign the JWS.
This must be @link javax.crypto.spec.SecretKeySpec in case of symmetric algorithm andIllegalArgumentException
- if the given algorithm is not compatible with the given keyUnsupportedOperationException
- if the given algorithm is not supportedJwsBuilder getInstance(String algorithm)
algorithm
- the algorithm used to sign the JWSUnsupportedOperationException
- if it doesn't exist a system key for the given algorithm"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"