PHP Class app\CertificateHandler

Mostrar archivo Open project: analogic/lemanager Class Usage Examples

Public Methods

Method Description
delete ( Certificate $certificate ) : boolean
findByDomain ( string $domain ) : Certificate
getAll ( ) : Certificate[]
issueNewCertificate ( $cn, array $san, $reuseCSR = false )

Private Methods

Method Description
rmrf ( string $target ) : boolean
validateDomain ( $domain )

Method Details

delete() public method

public delete ( Certificate $certificate ) : boolean
$certificate Certificate
return boolean

findByDomain() public method

public findByDomain ( string $domain ) : Certificate
$domain string
return Certificate

getAll() public method

public getAll ( ) : Certificate[]
return Certificate[]

issueNewCertificate() public method

public issueNewCertificate ( $cn, array $san, $reuseCSR = false )
$san array