Table of Contents

Method ImportFromPem

Namespace
Rotherprivat.KemBasedNet.Cryptography
Assembly
KemBasedNet.dll

ImportFromPem(string)

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

public static CompositeMLKem ImportFromPem(string pemKey)

Parameters

pemKey string

PEM encoded encapsulation- /public- key

Returns

CompositeMLKem

keys and algorithm implementation

ImportFromPem(ReadOnlySpan<char>)

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

public static CompositeMLKem ImportFromPem(ReadOnlySpan<char> pemKey)

Parameters

pemKey ReadOnlySpan<char>

PEM encoded encapsulation- /public- key

Returns

CompositeMLKem

keys and algorithm implementation