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 Keys suitable for use with an associated cryptographic algorithm.
A new Key is created each time the builder's Builder.build() method is called.
KeyBuilders are provided by components that implement the KeyBuilderSupplier interface,
ensuring the resulting SecretKeys are compatible with their associated cryptographic algorithm.
KeyBuilderSupplierprovider, randomCopyright © 2014–2023 jsonwebtoken.io. All rights reserved.