dina-heidar / x509-certificate-finder

Find an ECDSA or RSA certificate from the store.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build License: MIT Release

X509 Certificate Finder

Find an ECDSA or RSA certificate from the certificate store.

Install

dotnet add package X509StoreFinder

Usage

X509Certificate2 cert = X509.LocalMachine.My.FindByThumbprint
    .Find("2ace2bec462efa2f84eb97bdf260adb0ad925519",
     validOnly: true, hasPrivateKey: true, isEcdsa: false);

About

Find an ECDSA or RSA certificate from the store.

License:MIT License


Languages

Language:C# 82.7%Language:Shell 17.3%