Reference documentation and code samples for the Google Cloud IoT Core V1 Client class X509CertificateDetails.
Details of an X.509 certificate. For informational purposes only.
Generated from protobuf message google.cloud.iot.v1.X509CertificateDetails
Namespace
Google \ Cloud \ Iot \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ issuer |
string
The entity that signed the certificate. |
↳ subject |
string
The entity the certificate and public key belong to. |
↳ start_time |
Google\Protobuf\Timestamp
The time the certificate becomes valid. |
↳ expiry_time |
Google\Protobuf\Timestamp
The time the certificate becomes invalid. |
↳ signature_algorithm |
string
The algorithm used to sign the certificate. |
↳ public_key_type |
string
The type of public key in the certificate. |
getIssuer
The entity that signed the certificate.
Returns | |
---|---|
Type | Description |
string |
setIssuer
The entity that signed the certificate.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSubject
The entity the certificate and public key belong to.
Returns | |
---|---|
Type | Description |
string |
setSubject
The entity the certificate and public key belong to.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
The time the certificate becomes valid.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
The time the certificate becomes valid.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getExpiryTime
The time the certificate becomes invalid.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasExpiryTime
clearExpiryTime
setExpiryTime
The time the certificate becomes invalid.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getSignatureAlgorithm
The algorithm used to sign the certificate.
Returns | |
---|---|
Type | Description |
string |
setSignatureAlgorithm
The algorithm used to sign the certificate.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPublicKeyType
The type of public key in the certificate.
Returns | |
---|---|
Type | Description |
string |
setPublicKeyType
The type of public key in the certificate.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |