org.bouncycastle.openpgp
Class OpenedPGPKeyData
java.lang.Object
|
+--org.bouncycastle.openpgp.OpenedPGPKeyData
- public class OpenedPGPKeyData
- extends java.lang.Object
Wraps PGP key headers and pgp key SExpression
Constructor Summary |
OpenedPGPKeyData(java.util.List headerList,
org.bouncycastle.gpg.SExpression keyExpression)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
OpenedPGPKeyData
public OpenedPGPKeyData(java.util.List headerList,
org.bouncycastle.gpg.SExpression keyExpression)
getHeaderList
public java.util.List getHeaderList()
getKeyExpression
public org.bouncycastle.gpg.SExpression getKeyExpression()
builder
public static OpenedPGPKeyData.Builder builder()
getKeyType
public java.lang.String getKeyType()
getKeyData
public ExtendedPGPSecretKey getKeyData(PGPPublicKey publicKey,
org.bouncycastle.openpgp.operator.PGPDigestCalculatorProvider digestCalculatorProvider,
org.bouncycastle.openpgp.operator.PBEProtectionRemoverFactory keyProtectionRemoverFactory,
org.bouncycastle.openpgp.operator.KeyFingerPrintCalculator fingerPrintCalculator,
int maxDepth)
throws PGPException,
java.io.IOException