diff options
Diffstat (limited to 'libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/PGPPrivateKey.java')
-rw-r--r-- | libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/PGPPrivateKey.java | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/PGPPrivateKey.java b/libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/PGPPrivateKey.java deleted file mode 100644 index 23c962b39..000000000 --- a/libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/PGPPrivateKey.java +++ /dev/null @@ -1,48 +0,0 @@ -package org.spongycastle.openpgp; - -import org.spongycastle.bcpg.BCPGKey; -import org.spongycastle.bcpg.DSASecretBCPGKey; -import org.spongycastle.bcpg.ElGamalSecretBCPGKey; -import org.spongycastle.bcpg.PublicKeyPacket; -import org.spongycastle.bcpg.RSASecretBCPGKey; - -/** - * general class to contain a private key for use with other openPGP - * objects. - */ -public class PGPPrivateKey -{ - private long keyID; - private PublicKeyPacket publicKeyPacket; - private BCPGKey privateKeyDataPacket; - - public PGPPrivateKey( - long keyID, - PublicKeyPacket publicKeyPacket, - BCPGKey privateKeyDataPacket) - { - this.keyID = keyID; - this.publicKeyPacket = publicKeyPacket; - this.privateKeyDataPacket = privateKeyDataPacket; - } - - /** - * Return the keyID associated with the contained private key. - * - * @return long - */ - public long getKeyID() - { - return keyID; - } - - public PublicKeyPacket getPublicKeyPacket() - { - return publicKeyPacket; - } - - public BCPGKey getPrivateKeyDataPacket() - { - return privateKeyDataPacket; - } -} |