Class 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 assume AEADAlgorithmTags.OCB.
    • Constructor Detail

      • LibrePGPPreferredEncryptionModes

        public LibrePGPPreferredEncryptionModes​(boolean isCritical,
                                                int[] encryptionModes)
      • LibrePGPPreferredEncryptionModes

        public LibrePGPPreferredEncryptionModes​(boolean critical,
                                                boolean isLongLength,
                                                byte[] data)