Class CertificateGet.Response
- java.lang.Object
-
- io.helidon.integrations.common.rest.ApiJsonParser
-
- io.helidon.integrations.vault.secrets.pki.CertificateGet.Response
-
- Enclosing class:
- CertificateGet
public static final class CertificateGet.Response extends ApiJsonParser
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.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
-
-