Google Cloud IoT Core V1 Client - Class X509CertificateDetails (1.5.12)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setIssuer

The entity that signed the certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubject

The entity the certificate and public key belong to.

Returns
TypeDescription
string

setSubject

The entity the certificate and public key belong to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStartTime

The time the certificate becomes valid.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The time the certificate becomes valid.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getExpiryTime

The time the certificate becomes invalid.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpiryTime

clearExpiryTime

setExpiryTime

The time the certificate becomes invalid.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSignatureAlgorithm

The algorithm used to sign the certificate.

Returns
TypeDescription
string

setSignatureAlgorithm

The algorithm used to sign the certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPublicKeyType

The type of public key in the certificate.

Returns
TypeDescription
string

setPublicKeyType

The type of public key in the certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this