public class Keystore
extends java.lang.Object
Base URL: /keystore
Constructor and Description |
---|
Keystore(RestClient client) |
Modifier and Type | Method and Description |
---|---|
CertificateChain |
getCertificateChain()
Gets the certificate chain that identifies ViPR.
|
CertificateChain |
regenerateKeyAndCertificate()
Makes ViPR generate a key and a self signed certificate to use for SSL
communication.
|
CertificateChain |
setKeyAndCertificateChain(KeyAndCertificateChain keyAndCert)
Sets the key and certificate chain that ViPR uses for SSL communication.
|
public Keystore(RestClient client)
public CertificateChain getCertificateChain()
API Call: GET /keystore
public CertificateChain setKeyAndCertificateChain(KeyAndCertificateChain keyAndCert)
API Call: PUT /vdc/keystore
keyAndCert
- the new key and certificatepublic CertificateChain regenerateKeyAndCertificate()
API Call: PUT /vdc/keystore