5. API Reference

Complete API documentation for WvdS.System.Security.Cryptography.


Overview

The WvdS.System.Security.Cryptography library extends System.Security.Cryptography1) from Microsoft with post-quantum cryptography based on OpenSSL 3.62).

Target Framework: .NET 8.0+
Platforms: Windows, Linux, macOS, Blazor WebAssembly


Core Types

Type Description
CryptoMode Enum: Classic, Hybrid, PostQuantum
CryptoConfig Global configuration

Namespaces

Algorithms

ML-DSA (Signatures)

NIST FIPS 2043) standardized digital signatures.

Variant OID Security Level
ML-DSA-44 2.16.840.1.101.3.4.3.16 NIST Level 1
ML-DSA-65 2.16.840.1.101.3.4.3.17 NIST Level 3
ML-DSA-87 2.16.840.1.101.3.4.3.18 NIST Level 5

ML-KEM (Key Exchange)

NIST FIPS 2034) standardized key encapsulation.

Variant OID Security Level
ML-KEM-512 2.16.840.1.101.3.4.4.1 NIST Level 1
ML-KEM-768 2.16.840.1.101.3.4.4.2 NIST Level 3
ML-KEM-1024 2.16.840.1.101.3.4.4.3 NIST Level 5

Quick Start

using WvdS.System.Security.Cryptography;
 
// Enable PQ mode
CryptoConfig.DefaultMode = CryptoMode.Hybrid;
 
// Existing code automatically works with PQ
var cert = request.CreateSelfSigned(notBefore, notAfter);

See Also


Wolfgang van der Stille @ EMSR DATA d.o.o. - Post-Quantum Cryptography Professional

Zuletzt geändert: on 2026/01/29 at 11:13 PM