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 |
---|---|
|
The name of the certificate. |
|
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.