Package org.apereo.cas.util.cipher
Class DefaultTicketCipherExecutor
- java.lang.Object
-
- org.apereo.cas.util.cipher.AbstractCipherExecutor<byte[],byte[]>
-
- org.apereo.cas.util.cipher.BaseBinaryCipherExecutor
-
- org.apereo.cas.util.cipher.DefaultTicketCipherExecutor
-
- All Implemented Interfaces:
org.apereo.cas.util.crypto.CipherExecutor<byte[],byte[]>,org.apereo.cas.util.crypto.DecodableCipher<byte[],byte[]>,org.apereo.cas.util.crypto.EncodableCipher<byte[],byte[]>
public class DefaultTicketCipherExecutor extends BaseBinaryCipherExecutor
This isDefaultTicketCipherExecutorthat handles the encryption and signing of tickets during replication.- Since:
- 5.0.0
-
-
Field Summary
-
Fields inherited from class org.apereo.cas.util.cipher.BaseBinaryCipherExecutor
cipherName
-
-
Constructor Summary
Constructors Constructor Description DefaultTicketCipherExecutor(java.lang.String encryptionSecretKey, java.lang.String signingSecretKey, java.lang.String secretKeyAlg, int signingKeySize, int encryptionKeySize, java.lang.String cipherName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetEncryptionKeySetting()Gets encryption key setting.java.lang.StringgetName()protected java.lang.StringgetSigningKeySetting()Gets signing key setting.-
Methods inherited from class org.apereo.cas.util.cipher.BaseBinaryCipherExecutor
decode, encode
-
Methods inherited from class org.apereo.cas.util.cipher.AbstractCipherExecutor
configureSigningKey, configureSigningKeyFromPrivateKeyResource, extractPrivateKeyFromResource, extractPublicKeyFromResource, getSigningAlgorithmFor, isEnabled, sign, signWith, signWith, verifySignature
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getEncryptionKeySetting
protected java.lang.String getEncryptionKeySetting()
Description copied from class:BaseBinaryCipherExecutorGets encryption key setting.- Specified by:
getEncryptionKeySettingin classBaseBinaryCipherExecutor- Returns:
- the encryption key setting
-
getSigningKeySetting
protected java.lang.String getSigningKeySetting()
Description copied from class:BaseBinaryCipherExecutorGets signing key setting.- Specified by:
getSigningKeySettingin classBaseBinaryCipherExecutor- Returns:
- the signing key setting
-
-