42 references to X509Utils
mscorlib (42)
system\security\cryptography\cryptoconfig.cs (1)
746
oid =
X509Utils
.GetOidFromFriendlyName(name, oidGroup);
system\security\cryptography\dsacryptoserviceprovider.cs (2)
309
int calgHash =
X509Utils
.NameOrOidToAlgId(str, OidGroup.HashAlgorithm);
331
int calgHash =
X509Utils
.NameOrOidToAlgId(str, OidGroup.HashAlgorithm);
system\security\cryptography\passwordderivebytes.cs (2)
215
int algidhash =
X509Utils
.NameOrOidToAlgId(alghashname, OidGroup.HashAlgorithm);
218
int algid =
X509Utils
.NameOrOidToAlgId(algname, OidGroup.AllGroups);
system\security\cryptography\rfc2898derivebytes.cs (2)
257
int algidhash =
X509Utils
.NameOrOidToAlgId(alghashname, OidGroup.HashAlgorithm);
261
int algid =
X509Utils
.NameOrOidToAlgId(algname, OidGroup.AllGroups);
system\security\cryptography\rsacryptoserviceprovider.cs (2)
346
int calgHash =
X509Utils
.NameOrOidToAlgId(str, OidGroup.HashAlgorithm);
373
int calgHash =
X509Utils
.NameOrOidToAlgId(str, OidGroup.HashAlgorithm);
system\security\cryptography\rsapkcs1signaturedeformatter.cs (1)
77
int calgHash =
X509Utils
.GetAlgIdFromOid(_strOID, OidGroup.HashAlgorithm);
system\security\cryptography\rsapkcs1signatureformatter.cs (1)
68
int calgHash =
X509Utils
.GetAlgIdFromOid(_strOID, OidGroup.HashAlgorithm);
system\security\cryptography\utils.cs (2)
596
return
X509Utils
.GetAlgIdFromOid(oidValue, group);
608
string oidFriendlyName =
X509Utils
.GetFriendlyNameFromOid((string) hashAlg, OidGroup.HashAlgorithm);
system\security\cryptography\x509certificates\x509certificate.cs (27)
194
X509Utils
.DuplicateCertContext(handle, m_safeCertContext);
246
return
X509Utils
._GetSubjectInfo(m_safeCertContext, X509Constants.CERT_NAME_RDN_TYPE, true);
254
return
X509Utils
._GetIssuerName(m_safeCertContext, true);
262
m_serialNumber =
X509Utils
._GetSerialNumber(m_safeCertContext);
275
m_publicKeyParameters =
X509Utils
._GetPublicKeyParameters(m_safeCertContext);
292
m_publicKeyOid =
X509Utils
._GetPublicKeyOid(m_safeCertContext);
302
m_publicKeyValue =
X509Utils
._GetPublicKeyValue(m_safeCertContext);
486
m_issuerName =
X509Utils
._GetIssuerName(m_safeCertContext, false);
497
m_subjectName =
X509Utils
._GetSubjectInfo(m_safeCertContext, X509Constants.CERT_NAME_RDN_TYPE, false);
685
X509Utils
._GetDateNotAfter(m_safeCertContext, ref fileTime);
699
X509Utils
._GetDateNotBefore(m_safeCertContext, ref fileTime);
712
m_rawData =
X509Utils
._GetCertRawData(m_safeCertContext);
723
m_serialNumber =
X509Utils
._GetSerialNumber(m_safeCertContext);
733
m_thumbprint =
X509Utils
._GetThumbprint(m_safeCertContext);
763
SafeCertStoreHandle safeCertStoreHandle =
X509Utils
.ExportCertToMemoryStore(this);
767
szPassword =
X509Utils
.PasswordToHGlobalUni(password);
768
encodedRawData =
X509Utils
._ExportCertificatesToBlob(safeCertStoreHandle, contentType, szPassword);
789
X509ContentType contentType =
X509Utils
.MapContentType(
X509Utils
._QueryCertBlobType(rawData));
797
uint dwFlags =
X509Utils
.MapKeyStorageFlags(keyStorageFlags);
802
szPassword =
X509Utils
.PasswordToHGlobalUni(password);
803
X509Utils
.LoadCertFromBlob(rawData,
829
X509ContentType contentType =
X509Utils
.MapContentType(
X509Utils
._QueryCertFileType(fileName));
837
uint dwFlags =
X509Utils
.MapKeyStorageFlags(keyStorageFlags);
842
szPassword =
X509Utils
.PasswordToHGlobalUni(password);
843
X509Utils
.LoadCertFromFile(fileName,
system\security\cryptography\x509certificates\x509utils.cs (2)
314
X509Utils
.OpenX509Store(X509Constants.CERT_STORE_PROV_MEMORY,
318
X509Utils
._AddCertificateToStore(safeCertStoreHandle, certificate.CertContext);