Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpenedPGPKeyData.Builder
-
Constructor Summary
Constructors Constructor Description OpenedPGPKeyData(java.util.List<PGPExtendedKeyHeader> headerList, org.bouncycastle.gpg.SExpression keyExpression)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenedPGPKeyData.Builder
builder()
java.util.List<PGPExtendedKeyHeader>
getHeaderList()
ExtendedPGPSecretKey
getKeyData(PGPPublicKey publicKey, PGPDigestCalculatorProvider digestCalculatorProvider, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, int maxDepth)
org.bouncycastle.gpg.SExpression
getKeyExpression()
java.lang.String
getKeyType()
-
-
-
Constructor Detail
-
OpenedPGPKeyData
public OpenedPGPKeyData(java.util.List<PGPExtendedKeyHeader> headerList, org.bouncycastle.gpg.SExpression keyExpression)
-
-
Method Detail
-
getHeaderList
public java.util.List<PGPExtendedKeyHeader> 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, PGPDigestCalculatorProvider digestCalculatorProvider, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, int maxDepth) throws PGPException, java.io.IOException
- Throws:
PGPException
java.io.IOException
-
-