Table of Contents

Class MLKemEncapsulator

Namespace
Org.BouncyCastle.Crypto.Kems
Assembly
BouncyCastle.Cryptography.dll
public sealed class MLKemEncapsulator : IKemEncapsulator
Inheritance
MLKemEncapsulator
Implements
Inherited Members

Constructors

MLKemEncapsulator(MLKemParameters)

public MLKemEncapsulator(MLKemParameters parameters)

Parameters

parameters MLKemParameters

Properties

EncapsulationLength

public int EncapsulationLength { get; }

Property Value

int

SecretLength

public int SecretLength { get; }

Property Value

int

Methods

Encapsulate(byte[], int, int, byte[], int, int)

public void Encapsulate(byte[] encBuf, int encOff, int encLen, byte[] secBuf, int secOff, int secLen)

Parameters

encBuf byte[]
encOff int
encLen int
secBuf byte[]
secOff int
secLen int

Encapsulate(Span<byte>, Span<byte>)

public void Encapsulate(Span<byte> encapsulation, Span<byte> secret)

Parameters

encapsulation Span<byte>
secret Span<byte>

Init(ICipherParameters)

public void Init(ICipherParameters parameters)

Parameters

parameters ICipherParameters