Package com.nimbusds.jose.produce
Interface JWSSignerFactory
- All Superinterfaces:
JCAAware<JCAContext>,JOSEProvider,JWSProvider
- All Known Implementing Classes:
DefaultJWSSignerFactory
JSON Web Signature (JWS) signer factory to create a signer out of a JSON Web
Key (JWK).
- Version:
- 2020-03-26
- Author:
- Justin Richer
-
Method Summary
Modifier and TypeMethodDescriptioncreateJWSSigner(JWK key) Create a JWS signer based on the key.createJWSSigner(JWK key, JWSAlgorithm alg) Create a JWS signer based on the key and algorithm.Methods inherited from interface com.nimbusds.jose.jca.JCAAware
getJCAContextMethods inherited from interface com.nimbusds.jose.JWSProvider
supportedJWSAlgorithms
-
Method Details
-
createJWSSigner
Create a JWS signer based on the key.- Throws:
JOSEException
-
createJWSSigner
Create a JWS signer based on the key and algorithm. Ensures that the key supports the given algorithm.- Throws:
JOSEException
-