Package com.ngrok.services
Class CertificateAuthorities
java.lang.Object
com.ngrok.services.CertificateAuthorities
Certificate Authorities are x509 certificates that are used to sign other
x509 certificates. Attach a Certificate Authority to the Mutual TLS module
to verify that the TLS certificate presented by a client has been signed by
this CA. Certificate Authorities are used only for mTLS validation only and
thus a private key is not included in the resource.
See also https://ngrok.com/docs/api#api-certificate-authorities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA builder object encapsulating state for an unsent Create API call.classA builder object encapsulating state for an unsent Delete API call.classA builder object encapsulating state for an unsent Get API call.classA builder object encapsulating state for an unsent List API call.classA builder object encapsulating state for an unsent Update API call. -
Constructor Summary
ConstructorsConstructorDescriptionCertificateAuthorities(NgrokApiClient apiClient) Creates a new sub-client for CertificateAuthorities. -
Method Summary
Modifier and TypeMethodDescriptionUpload a new Certificate Authority See also https://ngrok.com/docs/api#api-certificate-authorities-create.Delete a Certificate Authority See also https://ngrok.com/docs/api#api-certificate-authorities-delete.Get detailed information about a certficate authority See also https://ngrok.com/docs/api#api-certificate-authorities-get.list()List all Certificate Authority on this account See also https://ngrok.com/docs/api#api-certificate-authorities-list.Update attributes of a Certificate Authority by ID See also https://ngrok.com/docs/api#api-certificate-authorities-update.
-
Constructor Details
-
CertificateAuthorities
Creates a new sub-client for CertificateAuthorities.- Parameters:
apiClient- an instance ofNgrokApiClient
-
-
Method Details
-
create
Upload a new Certificate Authority See also https://ngrok.com/docs/api#api-certificate-authorities-create.- Parameters:
caPem- raw PEM of the Certificate Authority- Returns:
- a call builder for this API call
-
delete
Delete a Certificate Authority See also https://ngrok.com/docs/api#api-certificate-authorities-delete.- Parameters:
id- a resource identifier- Returns:
- a call builder for this API call
-
get
Get detailed information about a certficate authority See also https://ngrok.com/docs/api#api-certificate-authorities-get.- Parameters:
id- a resource identifier- Returns:
- a call builder for this API call
-
list
List all Certificate Authority on this account See also https://ngrok.com/docs/api#api-certificate-authorities-list.- Returns:
- a call builder for this API call
-
update
Update attributes of a Certificate Authority by ID See also https://ngrok.com/docs/api#api-certificate-authorities-update.- Parameters:
id- the value of theidparameter as aString- Returns:
- a call builder for this API call
-