Interface AEADAlgorithmTags

All Known Implementing Classes:
AEADEncDataPacket, AEADUtils, PGPEncryptedData, PGPPBEEncryptedData, PGPPublicKeyEncryptedData, PGPSessionKeyEncryptedData, PGPSymmetricKeyEncryptedData

public interface AEADAlgorithmTags
AEAD Algorithm IDs. RFC9580 (OpenPGP) defines IDs 1 through 3, while LibrePGP only defines 1 and 2. Further, the use of AEAD differs between OpenPGP and LibrePGP.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    EAX with 16-bit nonce/IV and 16-bit auth tag length.
    static final int
    GCM with 12-bit nonce/IV and 16-bit auth tag length.
    static final int
    OCB with 15-bit nonce/IV and 16-bit auth tag length.
  • Field Details

    • EAX

      static final int EAX
      EAX with 16-bit nonce/IV and 16-bit auth tag length.
      See Also:
    • OCB

      static final int OCB
      OCB with 15-bit nonce/IV and 16-bit auth tag length. RFC9580-compliant implementations MUST implement OCB.
      See Also:
    • GCM

      static final int GCM
      GCM with 12-bit nonce/IV and 16-bit auth tag length. OpenPGP only.
      See Also: