public IRSACryptoAgent CreateRSACryptoAgent(string thumbprint) { return(new RSACryptoAgent( _certificateProvider .GetCertificateByThumbprint(thumbprint))); }
public RSACryptoAgent(string thumbprint, ICertificateProvider certProvider) : this(certProvider.GetCertificateByThumbprint(thumbprint)) { }