Google Cloud Appengine Admin V1 Client - Class CertificateRawData (1.2.2)

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

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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----- 
@InputOnly

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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this