Package org.bouncycastle.bcpg.sig
Class LibrePGPPreferredEncryptionModes
- java.lang.Object
-
- org.bouncycastle.bcpg.SignatureSubpacket
-
- org.bouncycastle.bcpg.sig.PreferredAlgorithms
-
- org.bouncycastle.bcpg.sig.LibrePGPPreferredEncryptionModes
-
public class LibrePGPPreferredEncryptionModes extends PreferredAlgorithms
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 assumeAEADAlgorithmTags.OCB
.
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
-
Constructor Summary
Constructors Constructor Description LibrePGPPreferredEncryptionModes(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
-
-