Class AesGcmBytesEncryptor.Builder
java.lang.Object
org.springframework.security.crypto.encrypt.AesGcmBytesEncryptor.Builder
- Enclosing class:
- AesGcmBytesEncryptor
A Builder for
AesGcmBytesEncryptor.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theAesGcmBytesEncryptor.ivGenerator(BytesKeyGenerator ivGenerator) Sets theBytesKeyGeneratorto use for generating the initialization vector.
-
Method Details
-
ivGenerator
Sets theBytesKeyGeneratorto use for generating the initialization vector.- Parameters:
ivGenerator- theBytesKeyGeneratorto use for generating the initialization vector- Returns:
- this builder
-
build
Builds theAesGcmBytesEncryptor.- Returns:
- the
AesGcmBytesEncryptor
-