Top Fields Constructors Methods
org.bouncycastle.openpgp.operator.bc

public Class BcPGPKeyPair

extends PGPKeyPair
Class Inheritance
Imports
java.util.Date, org.bouncycastle.bcpg.PublicKeyPacket, org.bouncycastle.crypto.AsymmetricCipherKeyPair, org.bouncycastle.crypto.params.AsymmetricKeyParameter, org.bouncycastle.openpgp.PGPAlgorithmParameters, .PGPException, .PGPKeyPair, .PGPPrivateKey, .PGPPublicKey

Field Summary

Inherited from org.bouncycastle.openpgp.PGPKeyPair:
privpub

Constructor Summary

AccessConstructor and Description
public
BcPGPKeyPair(int algorithm, AsymmetricCipherKeyPair keyPair, Date date)
Deprecated

public
BcPGPKeyPair(int version, int algorithm, AsymmetricCipherKeyPair keyPair, Date date)

public
BcPGPKeyPair(int algorithm, PGPAlgorithmParameters parameters, AsymmetricCipherKeyPair keyPair, Date date)
Deprecated

public
BcPGPKeyPair(int version, int algorithm, PGPAlgorithmParameters parameters, AsymmetricCipherKeyPair keyPair, Date date)

Method Summary

Modifier and TypeMethod and Description
private static PGPPrivateKey
private static PGPPublicKey
getPublicKey(int algorithm, PGPAlgorithmParameters parameters, AsymmetricKeyParameter pubKey, Date date)
Deprecated

private static PGPPublicKey
getPublicKey(int version, int algorithm, PGPAlgorithmParameters parameters, AsymmetricKeyParameter pubKey, Date date)

Inherited from org.bouncycastle.openpgp.PGPKeyPair:
asSubkeygetKeyIDgetKeyIdentifiergetPrivateKeygetPublicKey

Constructor Detail

BcPGPKeyPairback to summary
public BcPGPKeyPair(int algorithm, AsymmetricCipherKeyPair keyPair, Date date) throws PGPException

Deprecated

Annotations
@Deprecated
BcPGPKeyPairback to summary
public BcPGPKeyPair(int version, int algorithm, AsymmetricCipherKeyPair keyPair, Date date) throws PGPException
BcPGPKeyPairback to summary
public BcPGPKeyPair(int algorithm, PGPAlgorithmParameters parameters, AsymmetricCipherKeyPair keyPair, Date date) throws PGPException

Deprecated

Annotations
@Deprecated
BcPGPKeyPairback to summary
public BcPGPKeyPair(int version, int algorithm, PGPAlgorithmParameters parameters, AsymmetricCipherKeyPair keyPair, Date date) throws PGPException

Method Detail

getPrivateKeyback to summary
private static PGPPrivateKey getPrivateKey(PGPPublicKey pub, AsymmetricKeyParameter privKey) throws PGPException
getPublicKeyback to summary
private static PGPPublicKey getPublicKey(int algorithm, PGPAlgorithmParameters parameters, AsymmetricKeyParameter pubKey, Date date) throws PGPException

Deprecated

Annotations
@Deprecated
getPublicKeyback to summary
private static PGPPublicKey getPublicKey(int version, int algorithm, PGPAlgorithmParameters parameters, AsymmetricKeyParameter pubKey, Date date) throws PGPException