private StoreCertificate ( Org.BouncyCastle.Asn1.X509.X509Name name, System.Security.Cryptography.X509Certificates certificate, System.Security.Cryptography.X509Certificates storeName ) : void | ||
name | Org.BouncyCastle.Asn1.X509.X509Name | |
certificate | System.Security.Cryptography.X509Certificates | |
storeName | System.Security.Cryptography.X509Certificates | |
return | void |
private void StoreCertificate(X509Name name, MSX509.X509Certificate2 certificate, MSX509.StoreName storeName)
{
MSX509.X509Store store = new MSX509.X509Store(storeName, store_);
store.Open(MSX509.OpenFlags.ReadWrite);
store.Add(certificate);
store.Close();
certificates_[name] = certificate;
}