Bouncy Castle Cryptography Library 1.81

org.bouncycastle.openpgp
Class OpenedPGPKeyData

java.lang.Object
  extended byorg.bouncycastle.openpgp.OpenedPGPKeyData

public class OpenedPGPKeyData
extends java.lang.Object

Wraps PGP key headers and pgp key SExpression


Nested Class Summary
static class OpenedPGPKeyData.Builder
           
 
Constructor Summary
OpenedPGPKeyData(java.util.List headerList, SExpression keyExpression)
           
 
Method Summary
static OpenedPGPKeyData.Builder builder()
           
 java.util.List getHeaderList()
           
 ExtendedPGPSecretKey getKeyData(PGPPublicKey publicKey, PGPDigestCalculatorProvider digestCalculatorProvider, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, int maxDepth)
           
 SExpression getKeyExpression()
           
 java.lang.String getKeyType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenedPGPKeyData

public OpenedPGPKeyData(java.util.List headerList,
                        SExpression keyExpression)
Method Detail

getHeaderList

public java.util.List getHeaderList()

getKeyExpression

public 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

Bouncy Castle Cryptography Library 1.81