Package org.bouncycastle.openpgp
Class ExtendedPGPSecretKey
- java.lang.Object
-
- org.bouncycastle.openpgp.PGPSecretKey
-
- org.bouncycastle.openpgp.ExtendedPGPSecretKey
-
public class ExtendedPGPSecretKey extends PGPSecretKey
-
-
Constructor Summary
Constructors Constructor Description ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, java.lang.String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, java.lang.String id, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, SecretKeyPacket secret, PGPPublicKey pub)
ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, boolean isMasterKey, PBESecretKeyEncryptor keyEncryptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<PGPExtendedKeyAttribute>
getAttributes()
java.util.List<PGPExtendedKeyHeader>
getHeaders()
-
Methods inherited from class org.bouncycastle.openpgp.PGPSecretKey
copyWithNewPassword, copyWithNewPassword, encode, extractKeyPair, extractPrivateKey, getAEADKeyEncryptionAlgorithm, getEncoded, getFingerprint, getKeyEncryptionAlgorithm, getKeyID, getKeyIdentifier, getPublicKey, getS2K, getS2KUsage, getUserAttributes, getUserIDs, isMasterKey, isPrivateKeyEmpty, isSigningKey, parseSecretKeyFromSExpr, parseSecretKeyFromSExpr, replacePublicKey
-
-
-
-
Constructor Detail
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, SecretKeyPacket secret, PGPPublicKey pub)
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, boolean isMasterKey, PBESecretKeyEncryptor keyEncryptor) throws PGPException
- Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, java.lang.String id, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
- Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
- Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
- Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List<PGPExtendedKeyHeader> headerList, java.util.List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, java.lang.String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
- Throws:
PGPException
-
-
Method Detail
-
getHeaders
public java.util.List<PGPExtendedKeyHeader> getHeaders()
-
getAttributes
public java.util.List<PGPExtendedKeyAttribute> getAttributes()
-
-