Top Fields Constructors Methods
org.bouncycastle.openpgp

public Class ExtendedPGPSecretKey

extends PGPSecretKey
Class Inheritance
Imports
java.util.Collections, .List, org.bouncycastle.bcpg.SecretKeyPacket, org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor, .PGPContentSignerBuilder, .PGPDigestCalculator

Field Summary

Modifier and TypeField and Description
private final List<PGPExtendedKeyAttribute>
private final List<PGPExtendedKeyHeader>
Inherited from org.bouncycastle.openpgp.PGPSecretKey:
pubsecret

Constructor Summary

AccessConstructor and Description
public
pack-priv
public
ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, boolean isMasterKey, PBESecretKeyEncryptor keyEncryptor)

public
ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, String id, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)

public
ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)

public
ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)

public
ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)

Method Summary

Modifier and TypeMethod and Description
public List<PGPExtendedKeyAttribute>
public List<PGPExtendedKeyHeader>
Inherited from org.bouncycastle.openpgp.PGPSecretKey:
copyWithNewPasswordcopyWithNewPasswordencodeextractKeyPairextractPrivateKeygetAEADKeyEncryptionAlgorithmgetEncodedgetFingerprintgetKeyEncryptionAlgorithmgetKeyIDgetKeyIdentifiergetPublicKeygetS2KgetS2KUsagegetUserAttributesgetUserIDsisMasterKeyisPrivateKeyEmptyisSigningKeyparseSecretKeyFromSExprparseSecretKeyFromSExprreplacePublicKey

Field Detail

attributesback to summary
private final List<PGPExtendedKeyAttribute> attributes
headersback to summary
private final List<PGPExtendedKeyHeader> headers

Constructor Detail

ExtendedPGPSecretKeyback to summary
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, SecretKeyPacket secret, PGPPublicKey pub)
ExtendedPGPSecretKeyback to summary
pack-priv ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, PBESecretKeyEncryptor keyEncryptor) throws PGPException
ExtendedPGPSecretKeyback to summary
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, boolean isMasterKey, PBESecretKeyEncryptor keyEncryptor) throws PGPException
ExtendedPGPSecretKeyback to summary
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, String id, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
ExtendedPGPSecretKeyback to summary
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
ExtendedPGPSecretKeyback to summary
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
ExtendedPGPSecretKeyback to summary
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException

Method Detail

getAttributesback to summary
public List<PGPExtendedKeyAttribute> getAttributes()
getHeadersback to summary
public List<PGPExtendedKeyHeader> getHeaders()