Class SecretCipherHander

java.lang.Object
org.wso2.carbon.mediation.security.vault.SecretCipherHander

public class SecretCipherHander extends Object
Entry point for manage secrets
  • Constructor Details

    • SecretCipherHander

      public SecretCipherHander(org.apache.synapse.MessageContext synCtx)
  • Method Details

    • getSecret

      public String getSecret(String alias)
      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

      public String getSecret(String alias, SecretSrcData secretSrcData)
    • getEncryptedData

      public String getEncryptedData(String alias)
      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)