CertificateFactory
class CertificateFactory
Methods
__construct(string|null $pemFile = null, string|null $passphrase = null, boolean $validate = true, string|null $endpointEnv = null)
Create the CertificateFactory
Certificate|null
getDefaultCertificate()
Get the current default certificate
createCertificate(string $pemFile, string|null $passphrase = null, boolean $validate = true, string|null $endpointEnv = null)
Create a Certificate
Details
at line 19
__construct(string|null $pemFile = null, string|null $passphrase = null, boolean $validate = true, string|null $endpointEnv = null)
Create the CertificateFactory
at line 32
setDefaultCertificate(Certificate $defaultCertificate = null)
Set the default certificate
at line 42
Certificate|null
getDefaultCertificate()
Get the current default certificate
at line 56
Certificate
createCertificate(string $pemFile, string|null $passphrase = null, boolean $validate = true, string|null $endpointEnv = null)
Create a Certificate