Package com.ngrok.services
Class TlsCertificates
java.lang.Object
com.ngrok.services.TlsCertificates
TLS Certificates are pairs of x509 certificates and their matching private
key that can be used to terminate TLS traffic. TLS certificates are unused
until they are attached to a Domain. TLS Certificates may also be
provisioned by ngrok automatically for domains on which you have enabled
automated certificate provisioning.
See also https://ngrok.com/docs/api#api-tls-certificates.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
A builder object encapsulating state for an unsent Create API call.class
A builder object encapsulating state for an unsent Delete API call.class
A builder object encapsulating state for an unsent Get API call.class
A builder object encapsulating state for an unsent List API call.class
A builder object encapsulating state for an unsent Update API call. -
Constructor Summary
ConstructorDescriptionTlsCertificates
(NgrokApiClient apiClient) Creates a new sub-client for TlsCertificates. -
Method Summary
Modifier and TypeMethodDescriptionUpload a new TLS certificate See also https://ngrok.com/docs/api#api-tls-certificates-create.Delete a TLS certificate See also https://ngrok.com/docs/api#api-tls-certificates-delete.Get detailed information about a TLS certificate See also https://ngrok.com/docs/api#api-tls-certificates-get.list()
List all TLS certificates on this account See also https://ngrok.com/docs/api#api-tls-certificates-list.Update attributes of a TLS Certificate by ID See also https://ngrok.com/docs/api#api-tls-certificates-update.
-
Constructor Details
-
TlsCertificates
Creates a new sub-client for TlsCertificates.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
Upload a new TLS certificate See also https://ngrok.com/docs/api#api-tls-certificates-create.- Parameters:
certificatePem
- chain of PEM-encoded certificates, leaf first. See Certificate Bundles.privateKeyPem
- private key for the TLS certificate, PEM-encoded. See Private Keys.- Returns:
- a call builder for this API call
-
delete
Delete a TLS certificate See also https://ngrok.com/docs/api#api-tls-certificates-delete.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
get
Get detailed information about a TLS certificate See also https://ngrok.com/docs/api#api-tls-certificates-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
list
List all TLS certificates on this account See also https://ngrok.com/docs/api#api-tls-certificates-list.- Returns:
- a call builder for this API call
-
update
Update attributes of a TLS Certificate by ID See also https://ngrok.com/docs/api#api-tls-certificates-update.- Parameters:
id
- the value of theid
parameter as aString
- Returns:
- a call builder for this API call
-