T - The type of object that will be created each time Builder.build() is invoked.B - the type of SecurityBuilder returned for method chainingpublic interface SecurityBuilder<T,B extends SecurityBuilder<T,B>> extends Builder<T>
Builder that allows configuration of common JCA API parameters that might be used
during instance creation, such as a Provider or SecureRandom.provider(Provider),
random(SecureRandom)| Modifier and Type | Method and Description |
|---|---|
B |
provider(Provider provider)
Sets the JCA Security
Provider to use if necessary when calling Builder.build(). |
B |
random(SecureRandom random)
Sets the
SecureRandom to use if necessary when calling Builder.build(). |
B provider(Provider provider)
Provider to use if necessary when calling Builder.build(). This is an optional
property - if not specified, the default JCA Provider will be used.provider - the JCA Security Provider instance to use if necessary when building the new instance.B random(SecureRandom random)
SecureRandom to use if necessary when calling Builder.build(). This is an optional property
- if not specified and one is required, a default SecureRandom will be used.random - the SecureRandom instance to use if necessary when building the new instance.Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.