PHP Class DirectAdmin\LetsEncrypt\Lib\Account

Inheritance: use trait DirectAdmin\LetsEncrypt\Lib\Utility\ConfigurableTrait
Datei anzeigen Open project: Petertjuh360/da-letsencrypt Class Usage Examples

Public Properties

Property Type Description
$acme Kelunik\Acme\AcmeService

Public Methods

Method Description
__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

Method Details

__construct() public method

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

__debugInfo() public method

public __debugInfo ( )

createKeys() public method

Create and save a key pair for user
public createKeys ( ) : KeyPair
return Kelunik\Acme\KeyPair

getPath() public method

Get path to user root
public getPath ( ) : string
return string

getStoragePath() public method

Get path to users Let's Encrypt dir
public getStoragePath ( ) : string
return string

getUsername() public method

Get username of account
public getUsername ( ) : string
return string

loadKeys() public method

Check if keys exists, and when they does load keys into local variables.
public loadKeys ( ) : boolean
return boolean

register() public method

Register user at ACME
public register ( )

setEmail() public method

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

Property Details

$acme public_oe property

public AcmeService,Kelunik\Acme $acme
return Kelunik\Acme\AcmeService