Uses of Interface
org.forgerock.json.jose.jws.handlers.SigningHandler
Packages that use SigningHandler
Package
Description
Classes and interfaces for builder to build JWTs using a fluent API.
Classes and interfaces for JWT encryption and JWEs.
Classes and interfaces for JWT signing and JWS'.
Signing Handler classes for each possible signing algorithm.
JWT implementation(s) of
TokenHandler
.-
Uses of SigningHandler in org.forgerock.json.jose.builders
Methods in org.forgerock.json.jose.builders with parameters of type SigningHandlerModifier and TypeMethodDescriptionJwtBuilderFactory.jws
(SigningHandler signingHandler) Creates a builder for building a signed JWT into a base64url UTF-8 encoded JWT string.EncryptedJwtBuilder.sign
(SigningHandler signingHandler, JwsAlgorithm jwsAlgorithm) Deprecated.EncryptedJwtBuilder.signedWith
(SigningHandler signingHandler, JwsAlgorithm jwsAlgorithm) Returns anEncryptedThenSignedJwtBuilder
that will build a signed JWT with this builder's encrypted JWT as its payload.Constructors in org.forgerock.json.jose.builders with parameters of type SigningHandlerModifierConstructorDescriptionEncryptedThenSignedJwtBuilder
(EncryptedJwtBuilder encryptedJwtBuilder, SigningHandler signingHandler, JwsAlgorithm jwsAlgorithm) Constructs a new SignedEncryptedJwtBuilder that will use the given EncryptedJwtBuilder, to build the nested Encrypted JWT, and the private key and JwsAlgorithm to sign the outer JWT.SignedEncryptedJwtBuilder
(EncryptedJwtBuilder encryptedJwtBuilder, SigningHandler signingHandler, JwsAlgorithm jwsAlgorithm) Deprecated.Constructs a new SignedEncryptedJwtBuilder that will use the given EncryptedJwtBuilder, to build the nested Encrypted JWT, and the private key and JwsAlgorithm to sign the outer JWT.SignedJwtBuilderImpl
(SigningHandler signingHandler) Constructs a new SignedJwtBuilderImpl that will use the given private key to sign the JWT. -
Uses of SigningHandler in org.forgerock.json.jose.jwe
Methods in org.forgerock.json.jose.jwe with parameters of type SigningHandlerModifier and TypeMethodDescriptionboolean
SignedThenEncryptedJwt.decryptAndVerify
(Key decryptionKey, SigningHandler signingHandler) Decrypts the outer JWT and then verifies the signature on the inner JWT.boolean
SignedThenEncryptedJwt.verify
(SigningHandler signingHandler) Verifies that the signature is valid on the nested signed JWT. -
Uses of SigningHandler in org.forgerock.json.jose.jws
Methods in org.forgerock.json.jose.jws that return SigningHandlerModifier and TypeMethodDescriptionSigningManager.newEcdsaSigningHandler
(ECPrivateKey key) Constructs a new handler for signing ES256 signatures.SigningManager.newEcdsaVerificationHandler
(ECPublicKey key) Constructs a new handler for verifying ES256 signatures.SigningManager.newHmacSigningHandler
(byte[] sharedSecret) Constructs a new HmacSigningHandler.SigningManager.newNopSigningHandler()
Constructs an implementation of the SigningHandler which does not perform any signing or verifying.SigningManager.newRsaSigningHandler
(Key key) Constructs a new RSASigningHandler, with a SignatureUtil instance to delegate the signing and verifying calls to.Methods in org.forgerock.json.jose.jws with parameters of type SigningHandlerModifier and TypeMethodDescriptionboolean
SignedJwt.verify
(SigningHandler signingHandler) Verifies that the JWS signature is valid for the contents of its payload.Constructors in org.forgerock.json.jose.jws with parameters of type SigningHandlerModifierConstructorDescriptionEncryptedThenSignedJwt
(JwsHeader header, EncryptedJwt nestedJwe, SigningHandler signingHandler) Constructs a fresh, new SignedEncryptedJwt from the given JwsHeader and nested Encrypted JWT.SignedEncryptedJwt
(JwsHeader header, EncryptedJwt nestedJwe, SigningHandler signingHandler) Deprecated.Constructs a fresh, new SignedEncryptedJwt from the given JwsHeader and nested Encrypted JWT.SignedJwt
(JwsHeader header, JwtClaimsSet claimsSet, SigningHandler signingHandler) Constructs a fresh, new SignedJwt from the given JwsHeader and JwtClaimsSet.protected
SignedJwt
(JwsHeader header, Payload nestedPayload, SigningHandler signingHandler) Constructs a fresh, new SignedJwt from the given JwsHeader and nested Encrypted JWT. -
Uses of SigningHandler in org.forgerock.json.jose.jws.handlers
Classes in org.forgerock.json.jose.jws.handlers that implement SigningHandlerModifier and TypeClassDescriptionclass
Elliptic Curve Digital Signature Algorithm (ECDSA) signing and verification.class
An implementation of the SigningHandler which can sign and verify using algorithms from the HMAC family.class
An implementation of the SigningHandler which does not perform any signing or verifying.class
An implementation of the SigningHandler which can sign and verify using algorithms from the RSA family. -
Uses of SigningHandler in org.forgerock.json.jose.tokenhandler
Constructors in org.forgerock.json.jose.tokenhandler with parameters of type SigningHandlerModifierConstructorDescriptionJwtTokenHandler
(JweAlgorithm jweAlgorithm, EncryptionMethod jweMethod, KeyPair jweKeyPair, JwsAlgorithm jwsAlgorithm, SigningHandler jwsHandler) Constructs a new JWT token handler that never expires.JwtTokenHandler
(JweAlgorithm jweAlgorithm, EncryptionMethod jweMethod, KeyPair jweKeyPair, JwsAlgorithm jwsAlgorithm, SigningHandler jwsHandler, org.wrensecurity.guava.common.base.Optional<Long> tokenLifeTimeInSeconds) Constructs a new JWT token handler.
EncryptedJwtBuilder.signedWith(SigningHandler, JwsAlgorithm)
instead.