Class Encrypt.Response
- java.lang.Object
-
- io.helidon.integrations.common.rest.ApiJsonParser
-
- io.helidon.integrations.common.rest.ApiResponse
-
- io.helidon.integrations.common.rest.ApiEntityResponse
-
- io.helidon.integrations.oci.vault.Encrypt.Response
-
- Enclosing class:
- Encrypt
public static final class Encrypt.Response extends ApiEntityResponse
Response object parsed from JSON returned by theRestApi.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcipherText()Cipher text that can be passed to another service and then used to obtain the decrypted secret.Optional<String>encryptionAlgorithm()Encryption algorithm used to encrypt the secret.Optional<String>keyId()Encryption key OCID.Optional<String>keyVersionId()Encryption key version OCID.-
Methods inherited from class io.helidon.integrations.common.rest.ApiResponse
headers, requestId, status
-
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonParser
isPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
-
-
-
-
Method Detail
-
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
-
-