Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class CertificateRawData.
An SSL certificate obtained from a certificate authority.
Generated from protobuf message google.appengine.v1.CertificateRawData
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ public_certificate |
string
PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- |
↳ private_key |
string
Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- |
getPublicCertificate
PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example:
-----BEGIN CERTIFICATE-----
Returns | |
---|---|
Type | Description |
string |
setPublicCertificate
PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example:
-----BEGIN CERTIFICATE-----
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPrivateKey
Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example:
-----BEGIN RSA PRIVATE KEY-----
@InputOnly
Returns | |
---|---|
Type | Description |
string |
setPrivateKey
Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example:
-----BEGIN RSA PRIVATE KEY-----
@InputOnly
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |