K
- the type of key to buildB
- the type of the builder, for subtype method chainingpublic interface KeyBuilder<K extends Key,B extends KeyBuilder<K,B>> extends SecurityBuilder<K,B>
KeyBuilder
produces new Key
s suitable for use with an associated cryptographic algorithm.
A new Key
is created each time the builder's Builder.build()
method is called.
KeyBuilder
s are provided by components that implement the KeyBuilderSupplier
interface,
ensuring the resulting SecretKey
s are compatible with their associated cryptographic algorithm.
KeyBuilderSupplier
provider, random
Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.