PHP Class Analogic\ACME\Lescript

Datei anzeigen Open project: analogic/lescript

Public Properties

Property Type Description
$ca
$challenge
$contact http-01 challange only
$countryCode
$license public $ca = 'https://acme-staging.api.letsencrypt.org'; // testing
$state

Public Methods

Method Description
__construct ( $certificatesDir, $webRootDir, $logger = null, Analogic\ACME\ClientInterface $client = null )
initAccount ( )
signDomains ( array $domains, $reuseCsr = false )

Protected Methods

Method Description
log ( $message )

Private Methods

Method Description
generateCSR ( $privateKey, array $domains )
generateKey ( $outputDirectory )
getCsrContent ( $csrPath )
getDomainPath ( $domain )
parsePemFromBody ( $body )
postNewReg ( )
readPrivateKey ( $path )
signedRequest ( $uri, array $payload )

Method Details

__construct() public method

public __construct ( $certificatesDir, $webRootDir, $logger = null, Analogic\ACME\ClientInterface $client = null )
$client Analogic\ACME\ClientInterface

initAccount() public method

public initAccount ( )

log() protected method

protected log ( $message )

signDomains() public method

public signDomains ( array $domains, $reuseCsr = false )
$domains array

Property Details

$ca public_oe property

public $ca

$challenge public_oe property

public $challenge

$contact public_oe property

http-01 challange only
public $contact

$countryCode public_oe property

public $countryCode

$license public_oe property

public $ca = 'https://acme-staging.api.letsencrypt.org'; // testing
public $license

$state public_oe property

public $state