Package org.apereo.cas.util.cipher
Class WebflowConversationStateCipherExecutor
- java.lang.Object
-
- org.apereo.cas.util.cipher.AbstractCipherExecutor<byte[],byte[]>
-
- org.apereo.cas.util.cipher.BaseBinaryCipherExecutor
-
- org.apereo.cas.util.cipher.WebflowConversationStateCipherExecutor
-
- 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 WebflowConversationStateCipherExecutor extends BaseBinaryCipherExecutor
This isWebflowConversationStateCipherExecutor, that reads webflow keys from CAS configuration and presents a cipher.- Since:
- 5.0.0
-
-
Field Summary
-
Fields inherited from class org.apereo.cas.util.cipher.BaseBinaryCipherExecutor
cipherName
-
-
Constructor Summary
Constructors Constructor Description WebflowConversationStateCipherExecutor(java.lang.String encryptionSecretKey, java.lang.String signingSecretKey, java.lang.String secretKeyAlg, int signingKeySize, int encryptionKeySize)WebflowConversationStateCipherExecutor(java.lang.String secretKeyEncryption, java.lang.String secretKeySigning, java.lang.String secretKeyAlg, int signingKeySize, int encryptionKeySize, java.lang.String cipherName)Instantiates a new webflow cipher executor.
-
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
-
-
-
-
Constructor Detail
-
WebflowConversationStateCipherExecutor
public WebflowConversationStateCipherExecutor(java.lang.String secretKeyEncryption, java.lang.String secretKeySigning, java.lang.String secretKeyAlg, int signingKeySize, int encryptionKeySize, java.lang.String cipherName)Instantiates a new webflow cipher executor.- Parameters:
secretKeyEncryption- the secret key encryptionsecretKeySigning- the secret key signingsecretKeyAlg- the secret key algsigningKeySize- the signing key sizeencryptionKeySize- the encryption key sizecipherName- the cipher name
-
WebflowConversationStateCipherExecutor
public WebflowConversationStateCipherExecutor(java.lang.String encryptionSecretKey, java.lang.String signingSecretKey, java.lang.String secretKeyAlg, int signingKeySize, int encryptionKeySize)
-
-
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
-
-