Based on Puppet::Util::Windows::RootCerts
Classes: Ctx
34 35 36 37 38 39 40
# File 'lib/openssl/win/root.rb', line 34 def self.each store = CertOpenSystemStoreA 0, 'ROOT' ctx = nil yield Ctx.new(ctx).crt until (ctx = CertEnumCertificatesInStore store, ctx).null? ensure CertCloseStore store, 0 end