Top Description Fields Constructors Methods
org.bouncycastle.bcpg

public Class AEADEncDataPacket

extends InputStreamPacket
implements AEADAlgorithmTags
Class Inheritance
All Implemented Interfaces
org.bouncycastle.bcpg.AEADAlgorithmTags
Imports
java.io.IOException, org.bouncycastle.util.Arrays

Packet representing AEAD encrypted data. At the moment this appears to exist in the following expired draft only, but it's appearing despite this.

Field Summary

Modifier and TypeField and Description
private final byte
private final byte
private final byte
private final byte[]
private final byte

Constructor Summary

AccessConstructor and Description
public
public
AEADEncDataPacket(int algorithm, int aeadAlgorithm, int chunkSize, byte[] iv)

Method Summary

Modifier and TypeMethod and Description
public byte
public byte
public int
public byte[]
public static int
getIVLength(byte aeadAlgorithm)

public byte
Inherited from org.bouncycastle.bcpg.InputStreamPacket:
getInputStream

Field Detail

aeadAlgorithmback to summary
private final byte aeadAlgorithm
algorithmback to summary
private final byte algorithm
chunkSizeback to summary
private final byte chunkSize
ivback to summary
private final byte[] iv
versionback to summary
private final byte version

Constructor Detail

AEADEncDataPacketback to summary
public AEADEncDataPacket(BCPGInputStream in) throws IOException
AEADEncDataPacketback to summary
public AEADEncDataPacket(int algorithm, int aeadAlgorithm, int chunkSize, byte[] iv)

Method Detail

getAEADAlgorithmback to summary
public byte getAEADAlgorithm()
getAlgorithmback to summary
public byte getAlgorithm()
getChunkSizeback to summary
public int getChunkSize()
getIVback to summary
public byte[] getIV()
getIVLengthback to summary
public static int getIVLength(byte aeadAlgorithm)
getVersionback to summary
public byte getVersion()