Package cryptix.pki

Examples of cryptix.pki.KeyBundleFactory


        // comments.
        //**********************************************************************
       
        try {

            KeyBundleFactory kbf =
                KeyBundleFactory.getInstance("OpenPGP");
            complexPublicKey = (PGPKeyBundle)kbf.generateEmptyKeyBundle();
            complexPrivateKey = (PGPKeyBundle)kbf.generateEmptyKeyBundle();
            KeyPairGenerator kpg =
                KeyPairGenerator.getInstance("OpenPGP/Signing/DSA");
            kpg.initialize(1024, sr);
            KeyPair kp = kpg.generateKeyPair();
            PublicKey pubkey = kp.getPublic();
View Full Code Here

TOP

Related Classes of cryptix.pki.KeyBundleFactory

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.