Table of Contents

Method ImportSubjectPublicKeyInfo

Namespace
Rotherprivat.KemBasedNet.Cryptography
Assembly
KemBasedNet.dll

ImportSubjectPublicKeyInfo(byte[])

Import encapsulation keys of ML-KEM and traditional key exchange algorithms

public static CompositeMLKem ImportSubjectPublicKeyInfo(byte[] publicKey)

Parameters

publicKey byte[]

DER encoded encapsulation- /public- key

Returns

CompositeMLKem

keys and algorithm implementation

ImportSubjectPublicKeyInfo(ReadOnlySpan<byte>)

Import encapsulation keys of ML-KEM and traditional key exchange algorithms

public static CompositeMLKem ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> publicKey)

Parameters

publicKey ReadOnlySpan<byte>

DER encoded encapsulation- /public- key

Returns

CompositeMLKem

keys and algorithm implementation