API Documentation

\google\appengine\api\app_identity\PublicCertificate

FINAL

PublicCertificate contains an X509 public certificate in PEM format and a string which is used to identify this certificate.

Methods

__construct

__construct(string $certificate_name, string $certificate_in_pem_format)

Creates a new public certificate.

Parameters

Name Description

$certificate_name

string

The name of the certificate.

$certificate_in_pem_format

string

The public certificate in X509 PEM format.

getCertificateName

getCertificateName() : string

Returns the name of this public certificate.

Returns

string

The name of the certificate.

getX509CertificateInPemFormat

getX509CertificateInPemFormat() : string

Returns the X509 Certificate in PEM format.

Returns

string

The public certificate in X509 PEM format.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for PHP