Package io.fathom.cloud.services.SecretService

Examples of io.fathom.cloud.services.SecretService.SecretInfo


        StringBuilder sb = new StringBuilder();
        for (X509Certificate cert : certChain) {
            sb.append(Certificates.toPem(cert));
        }

        SecretInfo secretInfo = new SecretInfo();
        secretInfo.name = "Self signed certificate for " + subject;
        secretInfo.algorithm = algorithm;
        secretInfo.keySize = keySize;
        secretInfo.subject = subject;
View Full Code Here


        Project project = auth.getProject();

        List<Secret> secrets = secretService.list(auth, project);

        for (Secret secret : secrets) {
            SecretInfo secretInfo = secret.getSecretInfo();
            println(secret.getId() + "\t" + secretInfo.name);
        }

        return null;
    }
View Full Code Here

        return project;
    }

    @Override
    public SecretInfo getSecretInfo() {
        SecretInfo info = new SecretInfo();

        info.algorithm = data.getAlgorithm();
        info.keySize = data.getKeySize();
        info.name = data.getName();
        info.subject = data.getSubject();
View Full Code Here

TOP

Related Classes of io.fathom.cloud.services.SecretService.SecretInfo

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.