Examples of RotateKeyAndCertParam


Examples of com.emc.vipr.model.keystore.RotateKeyAndCertParam

     *            the new key and certificate
     *
     * @return The Certificate chain
     */
    public CertificateChain setKeyAndCertificateChain(KeyAndCertificateChain keyAndCert) {
        RotateKeyAndCertParam rotateKeyAndCertParam = new RotateKeyAndCertParam();
        rotateKeyAndCertParam.setSystemSelfSigned(false);
        rotateKeyAndCertParam.setKeyCertChain(keyAndCert);
        return client.put(CertificateChain.class, rotateKeyAndCertParam, KEYSTORE_URL);
    }
View Full Code Here

Examples of com.emc.vipr.model.keystore.RotateKeyAndCertParam

     * API Call: <tt>PUT /vdc/keystore</tt>
     *
     * @return The Certificate chain
     */
    public CertificateChain regenerateKeyAndCertificate() {
        RotateKeyAndCertParam rotateKeyAndCertParam = new RotateKeyAndCertParam();
        rotateKeyAndCertParam.setSystemSelfSigned(true);
        return client.put(CertificateChain.class, rotateKeyAndCertParam, KEYSTORE_URL);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.