Bouncy Castle Cryptography Library 1.79

org.bouncycastle.openpgp.operator.jcajce
Class JcaPGPPrivateKey

java.lang.Object
  |
  +--org.bouncycastle.openpgp.PGPPrivateKey
        |
        +--org.bouncycastle.openpgp.operator.jcajce.JcaPGPPrivateKey

public class JcaPGPPrivateKey
extends PGPPrivateKey

A JCA PrivateKey carrier. Use this one if you're dealing with a hardware adapter.


Constructor Summary
JcaPGPPrivateKey(long keyID, java.security.PrivateKey privateKey)
           
JcaPGPPrivateKey(PGPPublicKey pubKey, java.security.PrivateKey privateKey)
           
 
Method Summary
 java.security.PrivateKey getPrivateKey()
           
 
Methods inherited from class org.bouncycastle.openpgp.PGPPrivateKey
getKeyID, getKeyIdentifier, getPrivateKeyDataPacket, getPublicKeyPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcaPGPPrivateKey

public JcaPGPPrivateKey(long keyID,
                        java.security.PrivateKey privateKey)

JcaPGPPrivateKey

public JcaPGPPrivateKey(PGPPublicKey pubKey,
                        java.security.PrivateKey privateKey)
Method Detail

getPrivateKey

public java.security.PrivateKey getPrivateKey()

Bouncy Castle Cryptography Library 1.79