Exemple #1
0
        public static X509Certificate2 ReadCertificate(ILoggerFactory loggerFactory)
        {
            var certificateReader = new CertificateReader(loggerFactory);

            return(certificateReader.ReadCertificatePrivate());
        }
Exemple #2
0
        public static X509Certificate2 ReadCertificate()
        {
            var certificateReader = new CertificateReader(new NullLoggerFactory());

            return(certificateReader.ReadCertificatePrivate());
        }