Module io.inverno.mod.security.jose
Interface PBES2JWKGenerator<A extends PBES2JWK,B extends PBES2JWKGenerator<A,B>>
- Type Parameters:
A
- the Password-based JWK typeB
- the Password-based JWK generator type
- All Superinterfaces:
JWKGenerator<A,
B>
public interface PBES2JWKGenerator<A extends PBES2JWK,B extends PBES2JWKGenerator<A,B>>
extends JWKGenerator<A,B>
Password-based JSON Web Key generator.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionlength
(int length) Specifies the length of the password to generate in bytes.randomStringGenerator
(org.apache.commons.text.RandomStringGenerator randomStringGenerator) Specifies the random string generator to use to generate the password.Methods inherited from interface io.inverno.mod.security.jose.jwk.JWKGenerator
algorithm, generate, keyId, keyOperations, publicKeyUse
-
Method Details
-
length
Specifies the length of the password to generate in bytes.
- Parameters:
length
- the length of the password in bytes- Returns:
- this builder
-
randomStringGenerator
Specifies the random string generator to use to generate the password.
If not specified a default random string generator will be used.
- Parameters:
randomStringGenerator
- a random string generator- Returns:
- this builder
-