Package io.fathom.cloud.secrets.services.ca

Examples of io.fathom.cloud.secrets.services.ca.Csr


        int keySize = 2048;
        String algorithm = "rsa";

        KeyPair keyPair = KeyPairs.generateKeyPair(algorithm, keySize);
        Csr csr = helper.buildCsr(keyPair, subject);

        List<X509Certificate> certChain = helper.selfSign(csr, keyPair);

        StringBuilder sb = new StringBuilder();
        for (X509Certificate cert : certChain) {
View Full Code Here

TOP

Related Classes of io.fathom.cloud.secrets.services.ca.Csr

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.