PHP 인터페이스 AcmePhp\Cli\Repository\RepositoryInterface

저자: Titouan Galopin ([email protected])
파일 보기 프로젝트 열기: acmephp/acmephp 0 사용 예제들

공개 메소드들

메소드 설명
hasAccountKeyPair ( ) : boolean Check if there is an account key pair in the repository.
hasDomainAuthorizationChallenge ( string $domain ) : boolean Check if there is an authorization challenge associated to the given domain in the repository.
hasDomainCertificate ( string $domain ) : boolean Check if there is a certificate associated to the given domain in the repository.
hasDomainDistinguishedName ( string $domain ) : boolean Check if there is a distinguished name associated to the given domain in the repository.
hasDomainKeyPair ( string $domain ) : boolean Check if there is a key pair associated to the given domain in the repository.
loadAccountKeyPair ( ) : KeyPair Load the account key pair.
loadDomainAuthorizationChallenge ( string $domain ) : AcmePhp\Core\Protocol\AuthorizationChallenge Load the authorization challenge associated to a given domain.
loadDomainCertificate ( string $domain ) : Certificate Load the certificate associated to a given domain.
loadDomainDistinguishedName ( string $domain ) : DistinguishedName Load the distinguished name associated to a given domain.
loadDomainKeyPair ( string $domain ) : KeyPair Load the key pair associated to a given domain.
save ( string $path, string $content, string $visibility = self::VISIBILITY_PRIVATE ) Save a given string into a given path handling backup.
storeAccountKeyPair ( KeyPair $keyPair ) : void Store a given key pair as the account key pair (the global key pair used to interact with the ACME server).
storeCertificateResponse ( CertificateResponse $certificateResponse ) : void Extract important elements from the given certificate response and store them in the repository.
storeDomainAuthorizationChallenge ( string $domain, AcmePhp\Core\Protocol\AuthorizationChallenge $authorizationChallenge ) : void Store a given authorization challenge as associated to a given domain.
storeDomainCertificate ( string $domain, Certificate $certificate ) : void Store a given certificate as associated to a given domain.
storeDomainDistinguishedName ( string $domain, DistinguishedName $distinguishedName ) : void Store a given distinguished name as associated to a given domain.
storeDomainKeyPair ( string $domain, KeyPair $keyPair ) : void Store a given key pair as associated to a given domain.

메소드 상세

hasAccountKeyPair() 공개 메소드

Check if there is an account key pair in the repository.
public hasAccountKeyPair ( ) : boolean
리턴 boolean

hasDomainAuthorizationChallenge() 공개 메소드

Check if there is an authorization challenge associated to the given domain in the repository.
public hasDomainAuthorizationChallenge ( string $domain ) : boolean
$domain string
리턴 boolean

hasDomainCertificate() 공개 메소드

Check if there is a certificate associated to the given domain in the repository.
public hasDomainCertificate ( string $domain ) : boolean
$domain string
리턴 boolean

hasDomainDistinguishedName() 공개 메소드

Check if there is a distinguished name associated to the given domain in the repository.
public hasDomainDistinguishedName ( string $domain ) : boolean
$domain string
리턴 boolean

hasDomainKeyPair() 공개 메소드

Check if there is a key pair associated to the given domain in the repository.
public hasDomainKeyPair ( string $domain ) : boolean
$domain string
리턴 boolean

loadAccountKeyPair() 공개 메소드

Load the account key pair.
public loadAccountKeyPair ( ) : KeyPair
리턴 AcmePhp\Ssl\KeyPair

loadDomainAuthorizationChallenge() 공개 메소드

Load the authorization challenge associated to a given domain.
public loadDomainAuthorizationChallenge ( string $domain ) : AcmePhp\Core\Protocol\AuthorizationChallenge
$domain string
리턴 AcmePhp\Core\Protocol\AuthorizationChallenge

loadDomainCertificate() 공개 메소드

Load the certificate associated to a given domain.
public loadDomainCertificate ( string $domain ) : Certificate
$domain string
리턴 AcmePhp\Ssl\Certificate

loadDomainDistinguishedName() 공개 메소드

Load the distinguished name associated to a given domain.
public loadDomainDistinguishedName ( string $domain ) : DistinguishedName
$domain string
리턴 AcmePhp\Ssl\DistinguishedName

loadDomainKeyPair() 공개 메소드

Load the key pair associated to a given domain.
public loadDomainKeyPair ( string $domain ) : KeyPair
$domain string
리턴 AcmePhp\Ssl\KeyPair

save() 공개 메소드

Save a given string into a given path handling backup.
public save ( string $path, string $content, string $visibility = self::VISIBILITY_PRIVATE )
$path string
$content string
$visibility string The visibilty to use for this file.

storeAccountKeyPair() 공개 메소드

Store a given key pair as the account key pair (the global key pair used to interact with the ACME server).
public storeAccountKeyPair ( KeyPair $keyPair ) : void
$keyPair AcmePhp\Ssl\KeyPair
리턴 void

storeCertificateResponse() 공개 메소드

This method will use the distinguished name common name as a domain to store: - the key pair - the certificate request - the certificate
public storeCertificateResponse ( CertificateResponse $certificateResponse ) : void
$certificateResponse AcmePhp\Ssl\CertificateResponse
리턴 void

storeDomainAuthorizationChallenge() 공개 메소드

Store a given authorization challenge as associated to a given domain.
public storeDomainAuthorizationChallenge ( string $domain, AcmePhp\Core\Protocol\AuthorizationChallenge $authorizationChallenge ) : void
$domain string
$authorizationChallenge AcmePhp\Core\Protocol\AuthorizationChallenge
리턴 void

storeDomainCertificate() 공개 메소드

Store a given certificate as associated to a given domain.
public storeDomainCertificate ( string $domain, Certificate $certificate ) : void
$domain string
$certificate AcmePhp\Ssl\Certificate
리턴 void

storeDomainDistinguishedName() 공개 메소드

Store a given distinguished name as associated to a given domain.
public storeDomainDistinguishedName ( string $domain, DistinguishedName $distinguishedName ) : void
$domain string
$distinguishedName AcmePhp\Ssl\DistinguishedName
리턴 void

storeDomainKeyPair() 공개 메소드

Store a given key pair as associated to a given domain.
public storeDomainKeyPair ( string $domain, KeyPair $keyPair ) : void
$domain string
$keyPair AcmePhp\Ssl\KeyPair
리턴 void