Class Sign.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.Sign.Response
-
- Enclosing class:
- Sign
public static final class Sign.Response extends ApiEntityResponse
Response object parsed from JSON returned by theRestApi.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringkeyId()The OCID of the key used to sign the message.StringkeyVersionId()The OCID of the key version used to sign the message.Base64Valuesignature()The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest.StringsigningAlgorithm()The algorithm to use to sign the message or message digest.-
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
-
signature
public Base64Value signature()
The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest.- Returns:
- signature
-
keyId
public String keyId()
The OCID of the key used to sign the message.- Returns:
- key id
-
keyVersionId
public String keyVersionId()
The OCID of the key version used to sign the message.- Returns:
- key version id
-
signingAlgorithm
public String signingAlgorithm()
The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest.- Returns:
- algorithm
-
-