Class CaCertificateGet.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.vault.secrets.pki.CaCertificateGet.Response
-
- Enclosing class:
- CaCertificateGet
public static final class CaCertificateGet.Response extends ApiEntityResponse
Response object parsed from JSON returned by theRestApi
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
toBytes()
Get certificate bytes in the requested format.X509Certificate
toCertificate()
Get the certificate as an X.509 certificate.-
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
-
toCertificate
public X509Certificate toCertificate()
Get the certificate as an X.509 certificate.- Returns:
- CA certificate
-
toBytes
public byte[] toBytes()
Get certificate bytes in the requested format.- Returns:
- bytes of the certificate
-
-