Package org.bouncycastle.bcpg

Examples of org.bouncycastle.bcpg.PublicKeyEncSessionPacket


        }
       
        public void encode(BCPGOutputStream pOut)
            throws IOException
        {
            PublicKeyEncSessionPacket    pk = new PublicKeyEncSessionPacket(pubKey.getKeyID(), pubKey.getAlgorithm(), data);
           
            pOut.writePacket(pk);
        }
View Full Code Here


    }

    public ContainedPacket generate(int encAlgorithm, byte[] sessionInfo)
        throws PGPException
    {
        return new PublicKeyEncSessionPacket(pubKey.getKeyID(), pubKey.getAlgorithm(), processSessionInfo(encryptSessionInfo(pubKey, sessionInfo)));
    }
View Full Code Here

        }
       
        public void encode(BCPGOutputStream pOut)
            throws IOException
        {
            PublicKeyEncSessionPacket    pk = new PublicKeyEncSessionPacket(pubKey.getKeyID(), pubKey.getAlgorithm(), data);
           
            pOut.writePacket(pk);
        }
View Full Code Here

TOP

Related Classes of org.bouncycastle.bcpg.PublicKeyEncSessionPacket

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.