Top Description Inners Fields Constructors Methods
org.bouncycastle.openpgp

public Class OpenedPGPKeyData

extends Object
Class Inheritance
Imports
java.io.IOException, java.util.ArrayList, .Collections, .Iterator, .List, org.bouncycastle.bcpg.PublicKeyAlgorithmTags, .SecretKeyPacket, org.bouncycastle.gpg.SExpression, .SExprParser, org.bouncycastle.openpgp.operator.KeyFingerPrintCalculator, .PBEProtectionRemoverFactory, .PGPDigestCalculatorProvider

Wraps PGP key headers and pgp key SExpression

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final List<PGPExtendedKeyHeader>
private final SExpression

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static OpenedPGPKeyData.Builder
public List<PGPExtendedKeyHeader>
public ExtendedPGPSecretKey
getKeyData(PGPPublicKey publicKey, PGPDigestCalculatorProvider digestCalculatorProvider, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, int maxDepth)

public SExpression
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

headerListback to summary
private final List<PGPExtendedKeyHeader> headerList
keyExpressionback to summary
private final SExpression keyExpression

Constructor Detail

OpenedPGPKeyDataback to summary
public OpenedPGPKeyData(List<PGPExtendedKeyHeader> headerList, SExpression keyExpression)

Method Detail

builderback to summary
public static OpenedPGPKeyData.Builder builder()
getHeaderListback to summary
public List<PGPExtendedKeyHeader> getHeaderList()
getKeyDataback to summary
public ExtendedPGPSecretKey getKeyData(PGPPublicKey publicKey, PGPDigestCalculatorProvider digestCalculatorProvider, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, int maxDepth) throws PGPException, IOException
getKeyExpressionback to summary
public SExpression getKeyExpression()
getKeyTypeback to summary
public String getKeyType()
org.bouncycastle.openpgp back to summary

public Class OpenedPGPKeyData.Builder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private List<PGPExtendedKeyHeader>
private SExpression

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
add(PGPExtendedKeyHeader pgpExtendedKeyHeader)

public OpenedPGPKeyData
public OpenedPGPKeyData.Builder
public OpenedPGPKeyData.Builder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

headerListback to summary
private List<PGPExtendedKeyHeader> headerList
keyExpressionback to summary
private SExpression keyExpression

Constructor Detail

Builderback to summary
public Builder()

Method Detail

addback to summary
public void add(PGPExtendedKeyHeader pgpExtendedKeyHeader)
buildback to summary
public OpenedPGPKeyData build()
setHeaderListback to summary
public OpenedPGPKeyData.Builder setHeaderList(List<PGPExtendedKeyHeader> headerList)
setKeyExpressionback to summary
public OpenedPGPKeyData.Builder setKeyExpression(SExpression keyExpression)