public interface CertificateOrBuilder extends MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
ByteString getRawDer()
Required. The raw certificate bytes in DER format.
bytes raw_der = 1 [(.google.api.field_behavior) = REQUIRED];
boolean getParsed()
Output only. True if the certificate was parsed successfully.
bool parsed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getIssuer()
Output only. The issuer distinguished name in RFC 2253 format. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
ByteString getIssuerBytes()
Output only. The issuer distinguished name in RFC 2253 format. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getSubject()
Output only. The subject distinguished name in RFC 2253 format. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
ByteString getSubjectBytes()
Output only. The subject distinguished name in RFC 2253 format. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<String> getSubjectAlternativeDnsNamesList()
Output only. The subject Alternative DNS names. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getSubjectAlternativeDnsNamesCount()
Output only. The subject Alternative DNS names. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getSubjectAlternativeDnsNames(int index)
Output only. The subject Alternative DNS names. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
index
- The index of the element to return.ByteString getSubjectAlternativeDnsNamesBytes(int index)
Output only. The subject Alternative DNS names. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
index
- The index of the value to return.boolean hasNotBeforeTime()
Output only. The certificate is not valid before this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
.google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Timestamp getNotBeforeTime()
Output only. The certificate is not valid before this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
.google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
TimestampOrBuilder getNotBeforeTimeOrBuilder()
Output only. The certificate is not valid before this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
.google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasNotAfterTime()
Output only. The certificate is not valid after this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
.google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Timestamp getNotAfterTime()
Output only. The certificate is not valid after this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
.google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
TimestampOrBuilder getNotAfterTimeOrBuilder()
Output only. The certificate is not valid after this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
.google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getSerialNumber()
Output only. The certificate serial number as a hex string. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
ByteString getSerialNumberBytes()
Output only. The certificate serial number as a hex string. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getSha256Fingerprint()
Output only. The SHA-256 certificate fingerprint as a hex string. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
ByteString getSha256FingerprintBytes()
Output only. The SHA-256 certificate fingerprint as a hex string. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2022 Google LLC. All rights reserved.