Class EncryptionRandomizedCryptoProperties
java.lang.Object
org.apereo.cas.configuration.model.core.util.EncryptionRandomizedCryptoProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-util",
automated=true)
public class EncryptionRandomizedCryptoProperties
extends Object
implements Serializable
This is
EncryptionRandomizedCryptoProperties
.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
The encryption key.int
Encryption key size.The encryption key.setKeySize
(int keySize) Encryption key size.
-
Constructor Details
-
EncryptionRandomizedCryptoProperties
public EncryptionRandomizedCryptoProperties()
-
-
Method Details
-
getKey
The encryption key. The encryption key by default and unless specified otherwise must be randomly-generated string whose length is defined by the encryption key size setting. -
getKeySize
public int getKeySize()Encryption key size. -
setKey
The encryption key. The encryption key by default and unless specified otherwise must be randomly-generated string whose length is defined by the encryption key size setting.- Returns:
this
.
-
setKeySize
Encryption key size.- Returns:
this
.
-