示例#1
0
 public IRSACryptoAgent CreateRSACryptoAgent(string thumbprint)
 {
     return(new
            RSACryptoAgent(
                _certificateProvider
                .GetCertificateByThumbprint(thumbprint)));
 }
示例#2
0
 public RSACryptoAgent(string thumbprint, ICertificateProvider certProvider)
     : this(certProvider.GetCertificateByThumbprint(thumbprint))
 {
 }