Package org.bouncycastle.bcpg
Interface AEADAlgorithmTags
-
- All Known Implementing Classes:
AEADEncDataPacket,AEADUtils,PGPEncryptedData,PGPPBEEncryptedData,PGPPublicKeyEncryptedData,PGPSessionKeyEncryptedData,PGPSymmetricKeyEncryptedData
public interface AEADAlgorithmTagsAEAD 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.
-
-
Field Detail
-
EAX
static final int EAX
EAX with 16-bit nonce/IV and 16-bit auth tag length.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
GCM
static final int GCM
GCM with 12-bit nonce/IV and 16-bit auth tag length. OpenPGP only.- See Also:
- Constant Field Values
-
-