PHP 클래스 DirectAdmin\LetsEncrypt\Lib\Domain

상속: use trait DirectAdmin\LetsEncrypt\Lib\Utility\ConfigurableTrait
파일 보기 프로젝트 열기: Petertjuh360/da-letsencrypt 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$account
$domainKeys Kelunik\Acme\KeyPair

공개 메소드들

메소드 설명
__construct ( String $domain, Account | null $account = null ) Initialize a domain with subdomains
__debugInfo ( )
applyCertificates ( ) : boolean Apply certificates to DirectAdmin
createKeys ( ) : KeyPair Create domain RSA keys
getCertificate ( ) : string Get the domains certificate
getCertificateAuthorityCertificates ( ) : string[] Get a array of certificate authority certificates
getDomain ( ) : String Get domain's name
getPath ( ) : string Get path to domain root
getStoragePath ( ) : string Get path to domain storage
getSubdomains ( ) : Array Get list of subdomains
receiveSubdomains ( ) : Array Receive available subdomains from Directadmin
removeCertificates ( ) Disable certificates in DirectAdmin
requestCertificate ( KeyPair | null $domainKeys = null, array | null $subdomains = null ) : array Request certificate at ACME

비공개 메소드들

메소드 설명
getSocket ( ) : HTTPSocket Get already initialized HTTPSocket, or create a new one

메소드 상세

__construct() 공개 메소드

Initialize a domain with subdomains
public __construct ( String $domain, Account | null $account = null )
$domain String Domain name
$account Account | null Account

__debugInfo() 공개 메소드

public __debugInfo ( )

applyCertificates() 공개 메소드

Apply certificates to DirectAdmin
public applyCertificates ( ) : boolean
리턴 boolean

createKeys() 공개 메소드

Create domain RSA keys
public createKeys ( ) : KeyPair
리턴 Kelunik\Acme\KeyPair

getCertificate() 공개 메소드

Get the domains certificate
public getCertificate ( ) : string
리턴 string

getCertificateAuthorityCertificates() 공개 메소드

Get a array of certificate authority certificates
public getCertificateAuthorityCertificates ( ) : string[]
리턴 string[]

getDomain() 공개 메소드

Get domain's name
public getDomain ( ) : String
리턴 String

getPath() 공개 메소드

Get path to domain root
public getPath ( ) : string
리턴 string

getStoragePath() 공개 메소드

Get path to domain storage
public getStoragePath ( ) : string
리턴 string

getSubdomains() 공개 메소드

Get list of subdomains
public getSubdomains ( ) : Array
리턴 Array

receiveSubdomains() 공개 메소드

Receive available subdomains from Directadmin
public receiveSubdomains ( ) : Array
리턴 Array

removeCertificates() 공개 메소드

Disable certificates in DirectAdmin
public removeCertificates ( )

requestCertificate() 공개 메소드

Request certificate at ACME
public requestCertificate ( KeyPair | null $domainKeys = null, array | null $subdomains = null ) : array
$domainKeys Kelunik\Acme\KeyPair | null
$subdomains array | null List of subdomains to request
리턴 array

프로퍼티 상세

$account 공개적으로 프로퍼티

public $account

$domainKeys 공개적으로 프로퍼티

public KeyPair,Kelunik\Acme $domainKeys
리턴 Kelunik\Acme\KeyPair