Uses of Class
org.forgerock.json.jose.jws.JwsAlgorithm
-
Packages that use JwsAlgorithm Package Description org.forgerock.http.oauth2 This package provides APIs for OAuth 2.0 services implementations.org.forgerock.json.jose.builders Classes and interfaces for builder to build JWTs using a fluent API.org.forgerock.json.jose.jws Classes and interfaces for JWT signing and JWS'.org.forgerock.json.jose.jws.handlers Signing Handler classes for each possible signing algorithm.org.forgerock.json.jose.tokenhandler JWT implementation(s) ofTokenHandler.org.forgerock.openig.tools.jwt.factory Provides JWT capabilities to the Identity Gateway. -
-
Uses of JwsAlgorithm in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 with parameters of type JwsAlgorithm Modifier and Type Method Description TPrivateKeyJwtClientAuthenticationFilter.Builder. withSigningAlgorithm(JwsAlgorithm signingAlgorithm)Sets algorithm used to sign the private key jwt. -
Uses of JwsAlgorithm in org.forgerock.json.jose.builders
Methods in org.forgerock.json.jose.builders with parameters of type JwsAlgorithm Modifier and Type Method Description SignedEncryptedJwtBuilderEncryptedJwtBuilder. sign(SigningHandler signingHandler, JwsAlgorithm jwsAlgorithm)Deprecated.EncryptedThenSignedJwtBuilderEncryptedJwtBuilder. signedWith(SigningHandler signingHandler, JwsAlgorithm jwsAlgorithm)Returns anEncryptedThenSignedJwtBuilderthat 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 JwsAlgorithm Constructor Description EncryptedThenSignedJwtBuilder(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. -
Uses of JwsAlgorithm in org.forgerock.json.jose.jws
Methods in org.forgerock.json.jose.jws that return JwsAlgorithm Modifier and Type Method Description JwsAlgorithmJwsHeader. getAlgorithm()Gets the Algorithm set in the JWT header.static JwsAlgorithmJwsAlgorithm. getJwsAlgorithm(String algorithm)Deprecated.Replaced byparseCryptographicAlgorithm(String)JwsAlgorithmSupportedEllipticCurve. getJwsAlgorithm()Returns the JwsAlgorithm that corresponds to this elliptic curve.static JwsAlgorithmJwsAlgorithm. parseAlgorithm(String algorithm)Parses the given algorithm string to find the matching JwsAlgorithm enum constant.static JwsAlgorithmJwsAlgorithm. parseCryptographicAlgorithm(String algorithm)Parses the given algorithm string to find the matching Java Cryptographic algorithm name.static JwsAlgorithmJwsAlgorithm. valueOf(String name)Returns the enum constant of this type with the specified name.static JwsAlgorithm[]JwsAlgorithm. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of JwsAlgorithm in org.forgerock.json.jose.jws.handlers
Methods in org.forgerock.json.jose.jws.handlers with parameters of type JwsAlgorithm Modifier and Type Method Description byte[]ECDSASigningHandler. sign(JwsAlgorithm algorithm, byte[] data)Deprecated.byte[]ECDSASigningHandler. sign(JwsAlgorithm algorithm, String data)Deprecated.byte[]EdDSASigningHandler. sign(JwsAlgorithm algorithm, byte[] data)Deprecated.byte[]HmacSigningHandler. sign(JwsAlgorithm algorithm, byte[] data)Deprecated.Signs the given raw data bytes using the Java Cryptographic algorithm defined by the JwsAlgorithm.byte[]HmacSigningHandler. sign(JwsAlgorithm algorithm, String data)Deprecated.Signs the given String data using the Java Cryptographic algorithm defined by the JwsAlgorithm.byte[]NOPSigningHandler. sign(JwsAlgorithm algorithm, byte[] data)Deprecated.Returns an empty byte array.byte[]NOPSigningHandler. sign(JwsAlgorithm algorithm, String data)Deprecated.Simply returns a byte array of a UTF-8 empty string.byte[]RSASigningHandler. sign(JwsAlgorithm algorithm, byte[] data)Deprecated.Signs the given raw data bytes using the Java Cryptographic algorithm defined by the JwsAlgorithm.byte[]RSASigningHandler. sign(JwsAlgorithm algorithm, String data)Deprecated.Signs the given String data using the Java Cryptographic algorithm defined by the JwsAlgorithm.byte[]SecretECDSASigningHandler. sign(JwsAlgorithm algorithm, byte[] data)byte[]SecretSigningHandler. sign(JwsAlgorithm algorithm, byte[] data)byte[]SigningHandler. sign(JwsAlgorithm algorithm, byte[] data)Signs the given raw data bytes using the Java Cryptographic algorithm defined by the JwsAlgorithm.default byte[]SigningHandler. sign(JwsAlgorithm algorithm, String data)Signs the given String data using the Java Cryptographic algorithm defined by the JwsAlgorithm.protected voidSecretSigningHandler. validateAlgorithm(JwsAlgorithm algorithm)Validate the type of the provided algorithm.booleanECDSASigningHandler. verify(JwsAlgorithm algorithm, byte[] data, byte[] signature)Deprecated.booleanEdDSASigningHandler. verify(JwsAlgorithm algorithm, byte[] data, byte[] sig)Deprecated.booleanHmacSigningHandler. verify(JwsAlgorithm algorithm, byte[] data, byte[] signature)Deprecated.Verifies that the given signature is valid for the given data.booleanNOPSigningHandler. verify(JwsAlgorithm algorithm, byte[] data, byte[] signature)Deprecated.Verifies that the signature length is zero.booleanRSASigningHandler. verify(JwsAlgorithm algorithm, byte[] data, byte[] signature)Deprecated.Verifies that the given signature is valid for the given data.booleanSecretECDSASigningHandler. verify(JwsAlgorithm algorithm, byte[] data, byte[] signature)booleanSecretSigningHandler. verify(JwsAlgorithm algorithm, byte[] data, byte[] signature)booleanSigningHandler. verify(JwsAlgorithm algorithm, byte[] data, byte[] signature)Verifies that the given signature is valid for the given data. -
Uses of JwsAlgorithm in org.forgerock.json.jose.tokenhandler
Methods in org.forgerock.json.jose.tokenhandler with parameters of type JwsAlgorithm Modifier and Type Method Description SecretsJwtTokenHandler.BuilderSecretsJwtTokenHandler.Builder. jwsAlgorithm(JwsAlgorithm algorithm)Specifies the JWS signature algorithm to use to sign tokens produced by this token handler.Constructors in org.forgerock.json.jose.tokenhandler with parameters of type JwsAlgorithm Constructor Description JwtTokenHandler(JweAlgorithm jweAlgorithm, EncryptionMethod jweMethod, KeyPair jweKeyPair, JwsAlgorithm jwsAlgorithm, SigningHandler jwsHandler)Deprecated.Constructs a new JWT token handler that never expires.JwtTokenHandler(JweAlgorithm jweAlgorithm, EncryptionMethod jweMethod, KeyPair jweKeyPair, JwsAlgorithm jwsAlgorithm, SigningHandler jwsHandler, Optional<Long> tokenLifeTimeInSeconds, int tokenStatePaddingLength)Deprecated.Constructs a new JWT token handler.SecretsJwtTokenHandler(JweAlgorithm jweAlgorithm, EncryptionMethod jweMethod, JwsAlgorithm jwsAlgorithm, Optional<Long> tokenLifeTimeInSeconds, KeyPair jweKeyPair, SigningManager manager, Purpose<SigningKey> signingKeyPurpose, Purpose<VerificationKey> verificationKeyPurpose, Clock clock)Deprecated.UseSecretsJwtTokenHandler.builder()instead. -
Uses of JwsAlgorithm in org.forgerock.openig.tools.jwt.factory
Constructors in org.forgerock.openig.tools.jwt.factory with parameters of type JwsAlgorithm Constructor Description SignedJwtFactory(SigningManager signingManager, SecretReference<SigningKey> secretReference, JwsAlgorithm signingAlgorithm)
-