Class SecretCipherHander
java.lang.Object
org.wso2.carbon.mediation.security.vault.SecretCipherHander
Entry point for manage secrets
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEncryptedData(String alias) Returns the encrypted value corresponding to the given alias nameReturns the secret corresponding to the given alias namegetSecret(String alias, SecretSrcData secretSrcData) org.apache.synapse.MessageContextvoidsetSynCtx(org.apache.synapse.MessageContext synCtx) void
-
Constructor Details
-
SecretCipherHander
public SecretCipherHander(org.apache.synapse.MessageContext synCtx)
-
-
Method Details
-
getSecret
Returns the secret corresponding to the given alias name- Parameters:
alias- The logical or alias name- Returns:
- If there is a secret , otherwise , alias itself
-
getSecret
-
getEncryptedData
Returns the encrypted value corresponding to the given alias name- Parameters:
alias- The logical or alias name- Returns:
- If there is a encrypted value , otherwise , alias itself
-
shoutDown
public void shoutDown() -
getSynCtx
public org.apache.synapse.MessageContext getSynCtx() -
setSynCtx
public void setSynCtx(org.apache.synapse.MessageContext synCtx)
-