Package org.bouncycastle.openpgp
Class ExtendedPGPSecretKey
java.lang.Object
org.bouncycastle.openpgp.PGPSecretKey
org.bouncycastle.openpgp.ExtendedPGPSecretKey
-
Constructor Summary
ConstructorDescriptionExtendedPGPSecretKey
(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) ExtendedPGPSecretKey
(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, String id, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) ExtendedPGPSecretKey
(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, SecretKeyPacket secret, PGPPublicKey pub) ExtendedPGPSecretKey
(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) ExtendedPGPSecretKey
(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) ExtendedPGPSecretKey
(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, boolean isMasterKey, PBESecretKeyEncryptor keyEncryptor) -
Method Summary
Modifier and TypeMethodDescriptionMethods 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 Details
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, SecretKeyPacket secret, PGPPublicKey pub) -
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, boolean isMasterKey, PBESecretKeyEncryptor keyEncryptor) throws PGPException - Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, int certificationLevel, PGPKeyPair keyPair, String id, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException - Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException - Throws:
PGPException
-
ExtendedPGPSecretKey
public ExtendedPGPSecretKey(List<PGPExtendedKeyHeader> headerList, List<PGPExtendedKeyAttribute> attributes, PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor) throws PGPException - Throws:
PGPException
-
ExtendedPGPSecretKey
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 - Throws:
PGPException
-
-
Method Details
-
getHeaders
-
getAttributes
-