ACME registration object.

author Niklas Keller
package Kelunik\Acme

 Methods

Registration constructor.

__construct(string $location, array $contact = array(), string|null $agreement = null, string $authorizations = null, string $certificates = null

Parameters

$location

string

URI of the registration object

$contact

array

all contacts registered with the server

$agreement

stringnull

URI to the agreement, if agreed

$authorizations

string

URI to retrieve authorizations

$certificates

string

URI to retrieve certificates

Gets the agreement URI.

getAgreement() : null | string
API
api

Returns

nullstringURI to the agreement, if agreed, otherwise null

Gets the authorizations URI.

getAuthorizations() : null | string
API
api

Returns

nullstringURI to retrieve authorizations or null

Gets the certificates URI.

getCertificates() : null | string
API
api

Returns

nullstringURI to retrieve certficates or null

Gets the contact addresses.

getContact() : array
API
api

Returns

arraycontacts registered with the server

Gets the location URI.

getLocation() : string
API
api

Returns

stringURI to retrieve this registration object