Reference documentation and code samples for the Google Cloud Chronicle Client class SSLCertificate.
SSL certificate.
Generated from protobuf message google.backstory.SSLCertificate
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cert_signature |
SSLCertificate\CertSignature
Certificate's signature and algorithm. |
↳ extension |
SSLCertificate\Extension
(DEPRECATED) certificate's extension. |
↳ cert_extensions |
Google\Protobuf\Struct
Certificate's extensions. |
↳ first_seen_time |
Google\Protobuf\Timestamp
Date the certificate was first retrieved by VirusTotal. |
↳ issuer |
SSLCertificate\Subject
Certificate's issuer data. |
↳ ec |
SSLCertificate\EC
EC public key information. |
↳ serial_number |
string
Certificate's serial number hexdump. |
↳ signature_algorithm |
string
Algorithm used for the signature (for example, "sha1RSA"). |
↳ size |
int|string
Certificate content length. |
↳ subject |
SSLCertificate\Subject
Certificate's subject data. |
↳ thumbprint |
string
Certificate's content SHA1 hash. |
↳ thumbprint_sha256 |
string
Certificate's content SHA256 hash. |
↳ validity |
SSLCertificate\Validity
Certificate's validity period. |
↳ version |
string
Certificate version (typically "V1", "V2" or "V3"). |
↳ public_key |
SSLCertificate\PublicKey
Public key information. |
getCertSignature
Certificate's signature and algorithm.
| Returns | |
|---|---|
| Type | Description |
SSLCertificate\CertSignature|null |
|
hasCertSignature
clearCertSignature
setCertSignature
Certificate's signature and algorithm.
| Parameter | |
|---|---|
| Name | Description |
var |
SSLCertificate\CertSignature
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExtension
(DEPRECATED) certificate's extension.
| Returns | |
|---|---|
| Type | Description |
SSLCertificate\Extension|null |
|
hasExtension
clearExtension
setExtension
(DEPRECATED) certificate's extension.
| Parameter | |
|---|---|
| Name | Description |
var |
SSLCertificate\Extension
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCertExtensions
Certificate's extensions.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasCertExtensions
clearCertExtensions
setCertExtensions
Certificate's extensions.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFirstSeenTime
Date the certificate was first retrieved by VirusTotal.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasFirstSeenTime
clearFirstSeenTime
setFirstSeenTime
Date the certificate was first retrieved by VirusTotal.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIssuer
Certificate's issuer data.
| Returns | |
|---|---|
| Type | Description |
SSLCertificate\Subject|null |
|
hasIssuer
clearIssuer
setIssuer
Certificate's issuer data.
| Parameter | |
|---|---|
| Name | Description |
var |
SSLCertificate\Subject
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEc
EC public key information.
| Returns | |
|---|---|
| Type | Description |
SSLCertificate\EC|null |
|
hasEc
clearEc
setEc
EC public key information.
| Parameter | |
|---|---|
| Name | Description |
var |
SSLCertificate\EC
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSerialNumber
Certificate's serial number hexdump.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSerialNumber
Certificate's serial number hexdump.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSignatureAlgorithm
Algorithm used for the signature (for example, "sha1RSA").
| Returns | |
|---|---|
| Type | Description |
string |
|
setSignatureAlgorithm
Algorithm used for the signature (for example, "sha1RSA").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSize
Certificate content length.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setSize
Certificate content length.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubject
Certificate's subject data.
| Returns | |
|---|---|
| Type | Description |
SSLCertificate\Subject|null |
|
hasSubject
clearSubject
setSubject
Certificate's subject data.
| Parameter | |
|---|---|
| Name | Description |
var |
SSLCertificate\Subject
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThumbprint
Certificate's content SHA1 hash.
| Returns | |
|---|---|
| Type | Description |
string |
|
setThumbprint
Certificate's content SHA1 hash.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThumbprintSha256
Certificate's content SHA256 hash.
| Returns | |
|---|---|
| Type | Description |
string |
|
setThumbprintSha256
Certificate's content SHA256 hash.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValidity
Certificate's validity period.
| Returns | |
|---|---|
| Type | Description |
SSLCertificate\Validity|null |
|
hasValidity
clearValidity
setValidity
Certificate's validity period.
| Parameter | |
|---|---|
| Name | Description |
var |
SSLCertificate\Validity
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
Certificate version (typically "V1", "V2" or "V3").
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
Certificate version (typically "V1", "V2" or "V3").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPublicKey
Public key information.
| Returns | |
|---|---|
| Type | Description |
SSLCertificate\PublicKey|null |
|
hasPublicKey
clearPublicKey
setPublicKey
Public key information.
| Parameter | |
|---|---|
| Name | Description |
var |
SSLCertificate\PublicKey
|
| Returns | |
|---|---|
| Type | Description |
$this |
|