Package org.bouncycastle.bcpg.sig
Class LibrePGPPreferredEncryptionModes
java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.PreferredAlgorithms
org.bouncycastle.bcpg.sig.LibrePGPPreferredEncryptionModes
This is a deprecated LibrePGP signature subpacket with encryption mode numbers to indicate which modes
the key holder prefers to use with OCB Encrypted Data Packets (
AEADEncDataPacket
).
Implementations SHOULD ignore this subpacket and assume AEADAlgorithmTags.OCB
.-
Field Summary
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
Constructor Summary
ConstructorDescriptionLibrePGPPreferredEncryptionModes
(boolean critical, boolean isLongLength, byte[] data) LibrePGPPreferredEncryptionModes
(boolean isCritical, int[] encryptionModes) -
Method Summary
Methods inherited from class org.bouncycastle.bcpg.sig.PreferredAlgorithms
getPreferences, intToByteArray
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
Constructor Details
-
LibrePGPPreferredEncryptionModes
public LibrePGPPreferredEncryptionModes(boolean isCritical, int[] encryptionModes) -
LibrePGPPreferredEncryptionModes
public LibrePGPPreferredEncryptionModes(boolean critical, boolean isLongLength, byte[] data)
-