Deprecated API
Contents
-
Deprecated ClassesClassDescriptionWill be removedthis class is no longer required and will be removed.
-
Deprecated FieldsFieldDescriptionuse ECDHuse Ed25519 or Ed448use
S2K.SALTED_AND_ITERATED
orS2K.ARGON_2
instead.useS2K.SALTED_AND_ITERATED
orS2K.ARGON_2
instead.Use of MalleableCFB is deprecated. For v4 keys, useSecretKeyPacket.USAGE_SHA1
instead. For v6 keys useSecretKeyPacket.USAGE_AEAD
instead.
-
Deprecated MethodsMethodDescriptionuse AEADUtils.getIVLength()use Builder class for configuring this.use appropriate methods in
ArmoredOutputStream.Builder
insteaduse appropriate methods inArmoredOutputStream.Builder
instead.useArmoredOutputStream.Builder.clearHeaders()
instead.use appropriate methods inArmoredOutputStream.Builder
instead.use skipMarkerAndPaddingPacketsuse getPacketTag();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 createVersion1Packet()use createVersion4Packet()