Table of Contents

Interface IKemEncapsulator

Namespace
Org.BouncyCastle.Crypto
Assembly
BouncyCastle.Cryptography.dll
public interface IKemEncapsulator

Properties

EncapsulationLength

int EncapsulationLength { get; }

Property Value

int

SecretLength

int SecretLength { get; }

Property Value

int

Methods

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

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>)

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

Parameters

encapsulation Span<byte>
secret Span<byte>

Init(ICipherParameters)

void Init(ICipherParameters parameters)

Parameters

parameters ICipherParameters