Class AesCbcBytesEncryptor.Builder
java.lang.Object
org.springframework.security.crypto.encrypt.AesCbcBytesEncryptor.Builder
- Enclosing class:
- AesCbcBytesEncryptor
A Builder for
AesCbcBytesEncryptor.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theAesCbcBytesEncryptor.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 theAesCbcBytesEncryptor.- Returns:
- the
AesCbcBytesEncryptor
-