Package com.emc.vipr.model.keystore

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


     * 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

Related Classes of com.emc.vipr.model.keystore.RotateKeyAndCertParam

Copyright © 2018 www.massapicom. 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.