Table of Contents

Class AeadEncDataPacket

Namespace
Org.BouncyCastle.Bcpg
Assembly
BouncyCastle.Cryptography.dll
public class AeadEncDataPacket : InputStreamPacket
Inheritance
AeadEncDataPacket
Inherited Members

Constructors

AeadEncDataPacket(BcpgInputStream)

public AeadEncDataPacket(BcpgInputStream bcpgIn)

Parameters

bcpgIn BcpgInputStream

AeadEncDataPacket(SymmetricKeyAlgorithmTag, AeadAlgorithmTag, int, byte[])

public AeadEncDataPacket(SymmetricKeyAlgorithmTag algorithm, AeadAlgorithmTag aeadAlgorithm, int chunkSize, byte[] iv)

Parameters

algorithm SymmetricKeyAlgorithmTag
aeadAlgorithm AeadAlgorithmTag
chunkSize int
iv byte[]

Properties

AeadAlgorithm

public AeadAlgorithmTag AeadAlgorithm { get; }

Property Value

AeadAlgorithmTag

Algorithm

public SymmetricKeyAlgorithmTag Algorithm { get; }

Property Value

SymmetricKeyAlgorithmTag

ChunkSize

public int ChunkSize { get; }

Property Value

int

Version

public byte Version { get; }

Property Value

byte

Methods

GetIV()

public byte[] GetIV()

Returns

byte[]

GetIVLength(AeadAlgorithmTag)

public static int GetIVLength(AeadAlgorithmTag aeadAlgorithm)

Parameters

aeadAlgorithm AeadAlgorithmTag

Returns

int