Package org.bouncycastle.openpgp.operator.jcajce

Examples of org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter


        PublicKey      pubKey,
        Date           time,
        String         provider)
        throws PGPException, NoSuchProviderException
    {
        this(new JcaPGPKeyConverter().setProvider(provider).getPGPPublicKey(algorithm, pubKey, time));
    }
View Full Code Here


        int            algorithm,
        PublicKey      pubKey,
        Date           time)
        throws PGPException
    {
        this(new JcaPGPKeyConverter().getPGPPublicKey(algorithm, pubKey, time));
    }
View Full Code Here

     */
    public PublicKey getKey(
        String provider)
        throws PGPException, NoSuchProviderException
    {
        return new JcaPGPKeyConverter().setProvider(provider).getPublicKey(this);
    }
View Full Code Here

     */
    public PublicKey getKey(
        Provider provider)
        throws PGPException
    {
        return new JcaPGPKeyConverter().setProvider(provider).getPublicKey(this);
    }
View Full Code Here

            return privateKey;
        }

        try
        {
            return new JcaPGPKeyConverter().setProvider(PGPUtil.getDefaultProvider()).getPrivateKey(this);
        }
        catch (PGPException e)
        {
            throw new IllegalStateException("unable to convert key: " + e.toString());
        }
View Full Code Here

TOP

Related Classes of org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter

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.