PHP Класс DirectAdmin\LetsEncrypt\Lib\Account

Наследование: use trait DirectAdmin\LetsEncrypt\Lib\Utility\ConfigurableTrait
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$acme Kelunik\Acme\AcmeService

Открытые методы

Метод Описание
__construct ( string $username, string | null $email = null, string | null $acmeServer = null ) Initialize Account
__debugInfo ( )
createKeys ( ) : KeyPair Create and save a key pair for user
getPath ( ) : string Get path to user root
getStoragePath ( ) : string Get path to users Let's Encrypt dir
getUsername ( ) : string Get username of account
loadKeys ( ) : boolean Check if keys exists, and when they does load keys into local variables.
register ( ) Register user at ACME
setEmail ( $email ) Set e-mail of account

Описание методов

__construct() публичный Метод

Initialize Account
public __construct ( string $username, string | null $email = null, string | null $acmeServer = null )
$username string
$email string | null
$acmeServer string | null

__debugInfo() публичный Метод

public __debugInfo ( )

createKeys() публичный Метод

Create and save a key pair for user
public createKeys ( ) : KeyPair
Результат Kelunik\Acme\KeyPair

getPath() публичный Метод

Get path to user root
public getPath ( ) : string
Результат string

getStoragePath() публичный Метод

Get path to users Let's Encrypt dir
public getStoragePath ( ) : string
Результат string

getUsername() публичный Метод

Get username of account
public getUsername ( ) : string
Результат string

loadKeys() публичный Метод

Check if keys exists, and when they does load keys into local variables.
public loadKeys ( ) : boolean
Результат boolean

register() публичный Метод

Register user at ACME
public register ( )

setEmail() публичный Метод

Set e-mail of account
public setEmail ( $email )
$email

Описание свойств

$acme публичное свойство

public AcmeService,Kelunik\Acme $acme
Результат Kelunik\Acme\AcmeService