Reference documentation and code samples for the Google Cloud Chronicle Client class Extension.
Certificate's extensions.
Generated from protobuf message google.backstory.SSLCertificate.Extension
Namespace
Google \ Backstory \ SSLCertificateMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ca |
bool
Whether the subject acts as a certificate authority (CA) or not. |
↳ subject_key_id |
string
Identifies the public key being certified. |
↳ authority_key_id |
AuthorityKeyId
Identifies the public key to be used to verify the signature on this certificate or CRL. |
↳ key_usage |
string
The purpose for which the certified public key is used. |
↳ ca_info_access |
string
Authority information access locations are URLs that are added to a certificate in its authority information access extension. |
↳ crl_distribution_points |
string
CRL distribution points to which a certificate user should refer to ascertain if the certificate has been revoked. |
↳ extended_key_usage |
string
One or more purposes for which the certified public key may be used, in addition to or in place of the basic purposes indicated in the key usage extension field. |
↳ subject_alternative_name |
string
Contains one or more alternative names, using any of a variety of name forms, for the entity that is bound by the CA to the certified public key. |
↳ certificate_policies |
string
Different certificate policies will relate to different applications which may use the certified key. |
↳ netscape_cert_comment |
string
Used to include free-form text comments inside certificates. |
↳ cert_template_name_dc |
string
BMP data value "DomainController". See MS Q291010. |
↳ netscape_certificate |
bool
Identify whether the certificate subject is an SSL client, an SSL server, or a CA. |
↳ pe_logotype |
bool
Whether the certificate includes a logotype. |
↳ old_authority_key_id |
bool
Whether the certificate has an old authority key identifier extension. |
getCa
Whether the subject acts as a certificate authority (CA) or not.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setCa
Whether the subject acts as a certificate authority (CA) or not.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubjectKeyId
Identifies the public key being certified.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSubjectKeyId
Identifies the public key being certified.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAuthorityKeyId
Identifies the public key to be used to verify the signature on this certificate or CRL.
| Returns | |
|---|---|
| Type | Description |
AuthorityKeyId|null |
|
hasAuthorityKeyId
clearAuthorityKeyId
setAuthorityKeyId
Identifies the public key to be used to verify the signature on this certificate or CRL.
| Parameter | |
|---|---|
| Name | Description |
var |
AuthorityKeyId
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKeyUsage
The purpose for which the certified public key is used.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKeyUsage
The purpose for which the certified public key is used.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCaInfoAccess
Authority information access locations are URLs that are added to a certificate in its authority information access extension.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCaInfoAccess
Authority information access locations are URLs that are added to a certificate in its authority information access extension.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCrlDistributionPoints
CRL distribution points to which a certificate user should refer to ascertain if the certificate has been revoked.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCrlDistributionPoints
CRL distribution points to which a certificate user should refer to ascertain if the certificate has been revoked.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExtendedKeyUsage
One or more purposes for which the certified public key may be used, in addition to or in place of the basic purposes indicated in the key usage extension field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setExtendedKeyUsage
One or more purposes for which the certified public key may be used, in addition to or in place of the basic purposes indicated in the key usage extension field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubjectAlternativeName
Contains one or more alternative names, using any of a variety of name forms, for the entity that is bound by the CA to the certified public key.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSubjectAlternativeName
Contains one or more alternative names, using any of a variety of name forms, for the entity that is bound by the CA to the certified public key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCertificatePolicies
Different certificate policies will relate to different applications which may use the certified key.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCertificatePolicies
Different certificate policies will relate to different applications which may use the certified key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetscapeCertComment
Used to include free-form text comments inside certificates.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNetscapeCertComment
Used to include free-form text comments inside certificates.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCertTemplateNameDc
BMP data value "DomainController". See MS Q291010.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCertTemplateNameDc
BMP data value "DomainController". See MS Q291010.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetscapeCertificate
Identify whether the certificate subject is an SSL client, an SSL server, or a CA.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setNetscapeCertificate
Identify whether the certificate subject is an SSL client, an SSL server, or a CA.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPeLogotype
Whether the certificate includes a logotype.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setPeLogotype
Whether the certificate includes a logotype.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOldAuthorityKeyId
Whether the certificate has an old authority key identifier extension.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setOldAuthorityKeyId
Whether the certificate has an old authority key identifier extension.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|