Inhaltsverzeichnis
X509Certificates prostor imena
Prostor imena: WvdS.System.Security.Cryptography.X509Certificates
Sadrži extension metode za X.509 certifikatne operacije s PQ podrškom.
Klase
| Klasa | Opis |
|---|---|
| CertificateRequestExtensions | Proširenja za CertificateRequest |
| X509Certificate2Extensions | Proširenja za X509Certificate2 |
| X509ChainExtensions | Proširenja za X509Chain |
| X509Certificate2ExportExtensions | PFX izvoz/uvoz s PQ ključevima |
| X509StoreExtensions | Operacije pohrane s PQ persistencijom ključeva |
| CertificateRevocationListExtensions | Kreiranje CRL-a s PQ potpisima |
| RevocationExtensions | Provjera opoziva (CRL/OCSP) |
| TrustStoreExtensions & PqTrustStore | Upravljanje prilagođenom pohranom povjerenja |
Prošireni tipovi
Ove klase proširuju sljedeće .NET tipove:
| .NET tip | Klasa proširenja |
|---|---|
System.Security.Cryptography.X509Certificates.CertificateRequest1) | CertificateRequestExtensions |
System.Security.Cryptography.X509Certificates.X509Certificate22) | X509Certificate2Extensions, RevocationExtensions |
System.Security.Cryptography.X509Certificates.X509Chain3) | X509ChainExtensions |
System.Security.Cryptography.X509Certificates.X509Store4) | X509StoreExtensions |
System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder5) | CertificateRevocationListExtensions |
Primjer
using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using WvdS.System.Security.Cryptography; using WvdS.System.Security.Cryptography.X509Certificates; CryptoConfig.DefaultMode = CryptoMode.Hybrid; using var rsa = RSA.Create(2048); var request = new CertificateRequest("CN=Test", rsa, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1); // Extension metoda se automatski koristi var cert = request.CreateSelfSigned( DateTimeOffset.Now, DateTimeOffset.Now.AddYears(1)); // Provjera PQ statusa bool hasPq = cert.HasPqSignature(); // true
Vidi također
Wolfgang van der Stille @ EMSR DATA d.o.o. - Post-Quantum Cryptography Professional
Zuletzt geändert: 29.01.2026. u 23:21