\App\GatewayModule\ModelsCertificateManager

TLS certificate manager

Summary

Methods
Properties
Constants
__construct()
getInfo()
getCertificate()
getPrivateKey()
getPublicKey()
getParsedPrivateKey()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$certificate
$certificateParser
$fileManager
$keyParser
$privateKey
N/A

Properties

$certificate

$certificate : \AcmePhp\Ssl\Certificate|null

Type

normal — TLS certificate

$certificateParser

$certificateParser : \AcmePhp\Ssl\Parser\CertificateParser

Type

\AcmePhp\Ssl\Parser\CertificateParser — TLS certificate parser

$fileManager

$fileManager : \App\CoreModule\Models\PrivilegedFileManager

Type

normal — Privileged file manager

$keyParser

$keyParser : \AcmePhp\Ssl\Parser\KeyParser

Type

\AcmePhp\Ssl\Parser\KeyParser — Private key parser

$privateKey

$privateKey : \AcmePhp\Ssl\PrivateKey|null

Type

normal — Private key

Methods

__construct()

__construct(\App\CoreModule\Models\PrivilegedFileManager  $fileManager) : mixed

Constructor

Parameters

\App\CoreModule\Models\PrivilegedFileManager $fileManager

Privileged file manager

Returns

mixed

getInfo()

getInfo() : array<string,string[]|bool|string>

Returns information about the certificate

Throws

\App\GatewayModule\Exceptions\CertificateNotFoundException

Returns

array

Information about the certificate

getCertificate()

getCertificate() : \AcmePhp\Ssl\Certificate

Returns TLS certificate

Throws

\App\GatewayModule\Exceptions\CertificateNotFoundException

Returns

\AcmePhp\Ssl\Certificate —

TLS certificate

getPrivateKey()

getPrivateKey() : \AcmePhp\Ssl\PrivateKey

Returns private key

Throws

\App\GatewayModule\Exceptions\PrivateKeyNotFoundException

Returns

\AcmePhp\Ssl\PrivateKey —

Private key

getPublicKey()

getPublicKey() : \AcmePhp\Ssl\PublicKey

Returns public key

Throws

\App\GatewayModule\Exceptions\CertificateNotFoundException

Returns

\AcmePhp\Ssl\PublicKey —

Public key

getParsedPrivateKey()

getParsedPrivateKey() : \AcmePhp\Ssl\ParsedKey

Returns parsed private key

Throws

\App\GatewayModule\Exceptions\PrivateKeyNotFoundException

Returns

\AcmePhp\Ssl\ParsedKey —

Parsed private key