public class SecretCipherHander extends Object
Constructor and Description |
---|
SecretCipherHander(org.apache.synapse.MessageContext synCtx) |
Modifier and Type | Method and Description |
---|---|
String |
getEncryptedData(String alias)
Returns the encrypted value corresponding to the given alias name
|
String |
getSecret(String alias)
Returns the secret corresponding to the given alias name
|
String |
getSecret(String alias,
SecretSrcData secretSrcData) |
org.apache.synapse.MessageContext |
getSynCtx() |
void |
setSynCtx(org.apache.synapse.MessageContext synCtx) |
void |
shoutDown() |
public SecretCipherHander(org.apache.synapse.MessageContext synCtx)
public String getSecret(String alias)
alias
- The logical or alias namepublic String getSecret(String alias, SecretSrcData secretSrcData)
public String getEncryptedData(String alias)
alias
- The logical or alias namepublic void shoutDown()
public org.apache.synapse.MessageContext getSynCtx()
public void setSynCtx(org.apache.synapse.MessageContext synCtx)
Copyright © 2020 WSO2. All rights reserved.