Class CertificateInformation
java.lang.Object
co.elastic.clients.elasticsearch.ssl.certificates.CertificateInformation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class CertificateInformation
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CertificateInformation>Json deserializer forCertificateInformation -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringalias()If the path refers to a container file (a jks keystore, or a PKCS#12 file), it is the alias of the certificate.final DateTimeexpiry()Required - The ISO formatted date of the certificate's expiry (not-after) date.final Stringformat()Required - The format of the file.final booleanRequired - Indicates whether Elasticsearch has access to the private key for this certificate.final Stringissuer()The Distinguished Name of the certificate's issuer.static CertificateInformationfinal Stringpath()Required - The path to the certificate, as configured in theelasticsearch.ymlfile.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final StringRequired - The hexadecimal representation of the certificate's serial number.protected static voidfinal StringRequired - The Distinguished Name of the certificate's subject.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCertificateInformation
-
-
Method Details
-
of
public static CertificateInformation of(Function<CertificateInformation.Builder, ObjectBuilder<CertificateInformation>> fn) -
alias
If the path refers to a container file (a jks keystore, or a PKCS#12 file), it is the alias of the certificate. Otherwise, it is null.API name:
alias -
expiry
Required - The ISO formatted date of the certificate's expiry (not-after) date.API name:
expiry -
format
Required - The format of the file. Valid values includejks,PKCS12, andPEM.API name:
format -
hasPrivateKey
public final boolean hasPrivateKey()Required - Indicates whether Elasticsearch has access to the private key for this certificate.API name:
has_private_key -
issuer
The Distinguished Name of the certificate's issuer.API name:
issuer -
path
Required - The path to the certificate, as configured in theelasticsearch.ymlfile.API name:
path -
serialNumber
Required - The hexadecimal representation of the certificate's serial number.API name:
serial_number -
subjectDn
Required - The Distinguished Name of the certificate's subject.API name:
subject_dn -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCertificateInformationDeserializer
protected static void setupCertificateInformationDeserializer(ObjectDeserializer<CertificateInformation.Builder> op)
-