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
Since:
5.2.0
See Also:
  • Constructor Details

    • EncryptionRandomizedCryptoProperties

      public EncryptionRandomizedCryptoProperties()
  • Method Details

    • getKey

      public String 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

      public EncryptionRandomizedCryptoProperties setKeySize(int keySize)
      Encryption key size.
      Returns:
      this.