public class ECSignatureGenerator extends ECSignature implements SignatureGeneratorConfiguration
ECSignature adding the ability to sign JWT.algorithm| Constructor and Description | 
|---|
ECSignatureGenerator(ECSignatureGeneratorConfiguration config)  | 
| Modifier and Type | Method and Description | 
|---|---|
com.nimbusds.jwt.SignedJWT | 
sign(com.nimbusds.jwt.JWTClaimsSet claims)
Generate a signed JWT based on claims. 
 | 
protected com.nimbusds.jwt.SignedJWT | 
signWithPrivateKey(com.nimbusds.jwt.JWTClaimsSet claims,
                  @NotNull ECPrivateKey privateKey)  | 
supportedAlgorithmsMessage, supports, verifygetAlgorithm, setAlgorithmclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportedAlgorithmsMessage, supports, verifypublic ECSignatureGenerator(ECSignatureGeneratorConfiguration config)
config - Instance of ECSignatureConfigurationpublic com.nimbusds.jwt.SignedJWT sign(com.nimbusds.jwt.JWTClaimsSet claims)
                                throws com.nimbusds.jose.JOSEException
SignatureGeneratorConfigurationsign in interface SignatureGeneratorConfigurationclaims - the provided claimscom.nimbusds.jose.JOSEException - could be thrown while signing the JWT tokenprotected com.nimbusds.jwt.SignedJWT signWithPrivateKey(com.nimbusds.jwt.JWTClaimsSet claims,
                                                        @NotNull
                                                        @NotNull ECPrivateKey privateKey)
                                                 throws com.nimbusds.jose.JOSEException
claims - The JWT ClaimsprivateKey - The EC Private Keycom.nimbusds.jose.JOSEException - thrown in the JWT signing