public class Truststore
extends java.lang.Object
Base URL: /vdc/truststore
Constructor and Description |
---|
Truststore(RestClient client) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TrustedCertificate> |
getTrustedCertificates()
Gets the list of trusted certificates in PEM format.
|
TruststoreSettings |
getTruststoreSettings()
Gets the truststore settings.
|
java.util.List<TrustedCertificate> |
updateTrustedCertificate(TrustedCertificateChanges trustedCertificateChanges)
Update the list of trusted certificates.
|
TruststoreSettings |
updateTruststoreSettings(TruststoreSettingsChanges truststoreSettingsChanges)
Update the truststore settings
|
public Truststore(RestClient client)
public java.util.List<TrustedCertificate> getTrustedCertificates()
API Call: GET /vdc/truststore
public java.util.List<TrustedCertificate> updateTrustedCertificate(TrustedCertificateChanges trustedCertificateChanges)
API Call: PUT /vdc/truststore
trustedCertificateChanges
- trusted certificates changespublic TruststoreSettings getTruststoreSettings()
API Call: GET /vdc/truststore/settings
public TruststoreSettings updateTruststoreSettings(TruststoreSettingsChanges truststoreSettingsChanges)
API Call: PUT /vdc/truststore/settings
truststoreSettingsChanges
- the new truststore settings