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 headerList, java.util.List attributes, int certificationLevel, PGPKeyPair keyPair, java.lang.String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
ExtendedPGPSecretKey(java.util.List headerList, java.util.List attributes, int certificationLevel, PGPKeyPair keyPair, java.lang.String id, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
ExtendedPGPSecretKey(java.util.List headerList, java.util.List attributes, SecretKeyPacket secret, PGPPublicKey pub)
ExtendedPGPSecretKey(java.util.List headerList, java.util.List attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
ExtendedPGPSecretKey(java.util.List headerList, java.util.List attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
ExtendedPGPSecretKey(java.util.List headerList, java.util.List 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
getAttributes()
java.util.List
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 headerList, java.util.List attributes, SecretKeyPacket secret, PGPPublicKey pub)
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List headerList, java.util.List attributes, PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, boolean isMasterKey, PBESecretKeyEncryptor keyEncryptor) throws PGPException
- Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List headerList, java.util.List 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 headerList, java.util.List attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
- Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(java.util.List headerList, java.util.List 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 headerList, java.util.List attributes, int certificationLevel, PGPKeyPair keyPair, java.lang.String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException
- Throws:
PGPException
-
-