-
Deprecated ClassesClassDescriptionWill be removedthis class is no longer required and will be removed.
-
Deprecated FieldsFieldDescriptionnon-standardnon-standardnon-standardnon-standardnon-standardnon-standarduse
PublicKeyAlgorithmTags.ECDHinstead.usePublicKeyAlgorithmTags.EDDSA_LEGACYinstead.usePublicKeyAlgorithmTags.ELGAMAL_ENCRYPTinstead.usePublicKeyAlgorithmTags.RSA_GENERALinstead.usePublicKeyAlgorithmTags.RSA_GENERALinstead.useS2K.SALTED_AND_ITERATEDorS2K.ARGON_2instead.useS2K.SALTED_AND_ITERATEDorS2K.ARGON_2instead.Use of MalleableCFB is deprecated. For v4 keys, useSecretKeyPacket.USAGE_SHA1instead. For v6 keys useSecretKeyPacket.USAGE_AEADinstead.
-
Deprecated MethodsMethodDescriptionuse AEADUtils.getIVLength()use Builder class for configuring this.use appropriate methods in
ArmoredOutputStream.Builderinsteaduse appropriate methods inArmoredOutputStream.Builderinstead.useArmoredOutputStream.Builder.clearHeaders()instead.use appropriate methods inArmoredOutputStream.Builderinstead.use skipMarkerAndPaddingPacketsuse getPacketTag();v4 and v6 keys instead signal their expiration time via theKeyExpirationTimesignature subpacket.Will be removedWill be removedWill be removeduse versionedJcaPGPKeyConverter.getPGPPublicKey(int, int, PublicKey, Date)instead.use versionedJcaPGPKeyConverter.getPGPPublicKey(int, int, PGPAlgorithmParameters, PublicKey, Date)instead.will be removed in 1.74, use PGPEncryptedDataList.extractSessionKeyEncryptedData() and then apply the dataDecryptorFactory.use getValidSeconds(): greater than version 3 keys may be valid for less than a day.this method is poorly named, use hasRevocation().will be removed in 1.74, use PGPEncryptedDataList.extractSessionKeyEncryptedData() and then apply the dataDecryptorFactory.use org.bouncycastle.gpg.SExprParser - it will also allow you to verify the protection checksum if it is available.use org.bouncycastle.gpg.SExprParser - it will also allow you to verify the protection checksum if it is available.use getNotationDataOccurrences()unusedunused
-
Deprecated ConstructorsConstructorDescriptionuse versioned
PublicKeyPacket(int, int, Date, BCPGKey)insteaduse versionedPublicSubkeyPacket(int, int, Date, BCPGKey)insteaduse createVersion1Packet()use createVersion4Packet()use versionedJcaPGPKeyPair(int, int, KeyPair, Date)insteaduse versionedJcaPGPKeyPair(int, int, PGPAlgorithmParameters, KeyPair, Date)instead