c# - How can I do that in bouncyCastle (get installed certificates)? -
ok, quite new crypto world of bouncycastle, , perhaps mental block, can't seem find(/google for) equivalent to:
x509store store = new x509store(storename.my, storelocation.currentuser); store.open(openflags.readonly);
i think might easiest , dumbest thing, how can access windows installed certificates, using bouncy castle?
or if can't, how can convert system.security.cryptography.x509certificates.x509certificate2
org.bouncycastle.x509.x509certificate
?
bouncycastle doesn't have access windows certificates store, role of microsoft's .net classes. convert between .net certificates , bouncycastle equivalents @ methods in org.bouncycastle.security.dotnetutilities
class, particularly tox509certificate
, fromx509certificate
methods.
Comments
Post a Comment