class PublicCertificate (View source)

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

Methods

__construct(string $certificate_name, string $certificate_in_pem_format)

Creates a new public certificate.

string
getCertificateName()

Returns the name of this public certificate.

string
getX509CertificateInPemFormat()

Returns the X509 Certificate in PEM format.

Details

__construct(string $certificate_name, string $certificate_in_pem_format)

Creates a new public certificate.

Parameters

string $certificate_name The name of the certificate.
string $certificate_in_pem_format The public certificate in X509 PEM format.

string getCertificateName()

Returns the name of this public certificate.

Return Value

string The name of the certificate.

string getX509CertificateInPemFormat()

Returns the X509 Certificate in PEM format.

Return Value

string The public certificate in X509 PEM format.