Class CacheCredentialsCipherExecutor

  • All Implemented Interfaces:
    org.apereo.cas.CipherExecutor<java.io.Serializable,java.lang.String>

    public class CacheCredentialsCipherExecutor
    extends org.apereo.cas.util.cipher.BaseStringCipherExecutor
    Since:
    5.1.0
    • Field Summary

      • Fields inherited from interface org.apereo.cas.CipherExecutor

        DEFAULT_CONTENT_ENCRYPTION_ALGORITHM
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheCredentialsCipherExecutor​(java.lang.String secretKeyEncryption, java.lang.String secretKeySigning, java.lang.String alg)
      Instantiates a new cipher executor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getEncryptionKeySetting()  
      java.lang.String getName()  
      protected java.lang.String getSigningKeySetting()  
      • Methods inherited from class org.apereo.cas.util.cipher.AbstractCipherExecutor

        configureSigningKey, configureSigningKeyFromPrivateKeyResource, extractPrivateKeyFromResource, extractPublicKeyFromResource, isEnabled, setSigningKey, sign, verifySignature
      • Methods inherited from class org.apereo.cas.util.cipher.BaseStringCipherExecutor

        configureEncryptionKeyFromPublicKeyResource, decode, encode, setContentEncryptionAlgorithmIdentifier, setEncryptionAlgorithm, setEncryptionEnabled, setSecretKeyEncryptionKey, setSigningEnabled
      • Methods inherited from interface org.apereo.cas.CipherExecutor

        decode, decode, encode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheCredentialsCipherExecutor

        public CacheCredentialsCipherExecutor​(java.lang.String secretKeyEncryption,
                                              java.lang.String secretKeySigning,
                                              java.lang.String alg)
        Instantiates a new cipher executor.
        Parameters:
        secretKeyEncryption - the secret key encryption
        secretKeySigning - the secret key signing
        alg - the alg
    • Method Detail

      • getName

        public java.lang.String getName()
      • getEncryptionKeySetting

        protected java.lang.String getEncryptionKeySetting()
        Overrides:
        getEncryptionKeySetting in class org.apereo.cas.util.cipher.BaseStringCipherExecutor
      • getSigningKeySetting

        protected java.lang.String getSigningKeySetting()
        Overrides:
        getSigningKeySetting in class org.apereo.cas.util.cipher.BaseStringCipherExecutor