Reference documentation and code samples for the Cloud KMS V1 Client class Certificate.
A Certificate represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.
Generated from protobuf message google.cloud.kms.v1.Certificate
Namespace
Google \ Cloud \ Kms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ raw_der
string
Required. The raw certificate bytes in DER format.
↳ parsed
bool
Output only. True if the certificate was parsed successfully.
↳ issuer
string
Output only. The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
↳ subject
string
Output only. The subject distinguished name in RFC 2253 format. Only present if parsed is true.
↳ subject_alternative_dns_names
↳ not_before_time
Google\Protobuf\Timestamp
Output only. The certificate is not valid before this time. Only present if parsed is true.
↳ not_after_time
Google\Protobuf\Timestamp
Output only. The certificate is not valid after this time. Only present if parsed is true.
↳ serial_number
↳ sha256_fingerprint
string
Output only. The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
getRawDer
Required. The raw certificate bytes in DER format.
string
setRawDer
Required. The raw certificate bytes in DER format.
var
string
$this
getParsed
Output only. True if the certificate was parsed successfully.
bool
setParsed
Output only. True if the certificate was parsed successfully.
var
bool
$this
getIssuer
Output only. The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
string
setIssuer
Output only. The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
var
string
$this
getSubject
Output only. The subject distinguished name in RFC 2253 format. Only present if parsed is true.
string
setSubject
Output only. The subject distinguished name in RFC 2253 format. Only present if parsed is true.
var
string
$this
getSubjectAlternativeDnsNames
Output only. The subject Alternative DNS names. Only present if parsed is true.
setSubjectAlternativeDnsNames
Output only. The subject Alternative DNS names. Only present if parsed is true.
var
string[]
$this
getNotBeforeTime
Output only. The certificate is not valid before this time. Only present if parsed is true.
hasNotBeforeTime
clearNotBeforeTime
setNotBeforeTime
Output only. The certificate is not valid before this time. Only present if parsed is true.
$this
getNotAfterTime
Output only. The certificate is not valid after this time. Only present if parsed is true.
hasNotAfterTime
clearNotAfterTime
setNotAfterTime
Output only. The certificate is not valid after this time. Only present if parsed is true.
$this
getSerialNumber
Output only. The certificate serial number as a hex string. Only present if parsed is true.
string
setSerialNumber
Output only. The certificate serial number as a hex string. Only present if parsed is true.
var
string
$this
getSha256Fingerprint
Output only. The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
string
setSha256Fingerprint
Output only. The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
var
string
$this