public class CertificatesEndpoint extends Object implements Certificates
| Constructor and Description |
|---|
CertificatesEndpoint(HttpEndpointClient client) |
| Modifier and Type | Method and Description |
|---|---|
DownloadCertificateResponse |
downloadCertificate(String accountId,
String domainId,
String certificateId)
Downloads certificate associated with a domain.
|
GetCertificateResponse |
getCertificate(String accountId,
String domainId,
String certificateId)
Get a specific certificate associated to a domain using the certificate's ID.
|
GetCertificatePrivateKeyResponse |
getCertificatePrivateKey(String accountId,
String domainId,
String certificateId)
Get the certificate private key associated with a domain.
|
ListCertificatesResponse |
listCertificates(String accountId,
String domainId)
Lists the domains in the account.
|
ListCertificatesResponse |
listCertificates(String accountId,
String domainId,
Map<String,Object> options)
Lists the certificates in the domain.
|
public CertificatesEndpoint(HttpEndpointClient client)
public ListCertificatesResponse listCertificates(String accountId, String domainId) throws DnsimpleException, IOException
CertificateslistCertificates in interface CertificatesaccountId - The account IDdomainId - The domain name or IDDnsimpleException - Any API errorsIOException - Any IO errorspublic ListCertificatesResponse listCertificates(String accountId, String domainId, Map<String,Object> options) throws DnsimpleException, IOException
CertificateslistCertificates in interface CertificatesaccountId - The account IDdomainId - The domain name or IDoptions - A Map of options to pass to the certificates APIDnsimpleException - Any API errorsIOException - Any IO errorspublic GetCertificateResponse getCertificate(String accountId, String domainId, String certificateId) throws DnsimpleException, IOException
CertificatesgetCertificate in interface CertificatesaccountId - The account IDdomainId - The domain name or IDcertificateId - The certificate IDDnsimpleException - Any API errorsIOException - Any IO errorspublic DownloadCertificateResponse downloadCertificate(String accountId, String domainId, String certificateId) throws DnsimpleException, IOException
CertificatesdownloadCertificate in interface CertificatesaccountId - The account IDdomainId - The domain name or IDcertificateId - The certificate IDDnsimpleException - Any API errorsIOException - Any IO errorspublic GetCertificatePrivateKeyResponse getCertificatePrivateKey(String accountId, String domainId, String certificateId) throws DnsimpleException, IOException
CertificatesgetCertificatePrivateKey in interface CertificatesaccountId - The account IDdomainId - The domain name or IDcertificateId - The certificate IDDnsimpleException - Any API errorsIOException - Any IO errorsCopyright © 2017 DNSimple. All rights reserved.