ICertificateManager
in
Manage trusted certificates
Tags
Table of Contents
Methods
- addCertificate() : ICertificate
- getAbsoluteBundlePath() : string
- Get the full local path to the certificate bundle
- getCertificateBundle() : string
- Get the path to the certificate bundle
- listCertificates() : array<string|int, ICertificate>
- Returns all certificates trusted by the system
- removeCertificate() : bool
Methods
addCertificate()
public
addCertificate(string $certificate, string $name) : ICertificate
Parameters
- $certificate : string
-
the certificate data
- $name : string
-
the filename for the certificate
Tags
Return values
ICertificategetAbsoluteBundlePath()
Get the full local path to the certificate bundle
public
getAbsoluteBundlePath() : string
Tags
Return values
stringgetCertificateBundle()
Get the path to the certificate bundle
public
getCertificateBundle() : string
Tags
Return values
stringlistCertificates()
Returns all certificates trusted by the system
public
listCertificates() : array<string|int, ICertificate>
Tags
Return values
array<string|int, ICertificate>removeCertificate()
public
removeCertificate(string $name) : bool
Parameters
- $name : string