Enclosing class:
Encrypt

public static final class Encrypt.Response extends ApiEntityResponse
Response object parsed from JSON returned by the RestApi.
  • Method Details

    • cipherText

      public String cipherText()
      Cipher text that can be passed to another service and then used to obtain the decrypted secret.
      Returns:
      cipher text
    • encryptionAlgorithm

      public Optional<String> encryptionAlgorithm()
      Encryption algorithm used to encrypt the secret.
      Returns:
      encryption algorithm
    • keyId

      public Optional<String> keyId()
      Encryption key OCID.
      Returns:
      key OCID
    • keyVersionId

      public Optional<String> keyVersionId()
      Encryption key version OCID.
      Returns:
      key version ocid