1 instantiation of SafeCertContextHandle
mscorlib (1)
system\security\cryptography\x509certificates\safex509handles.cs (1)
33
SafeCertContextHandle invalidHandle = new
SafeCertContextHandle
(IntPtr.Zero);
24 references to SafeCertContextHandle
mscorlib (24)
system\security\cryptography\x509certificates\safex509handles.cs (2)
31
internal static
SafeCertContextHandle
InvalidHandle {
33
SafeCertContextHandle
invalidHandle = new SafeCertContextHandle(IntPtr.Zero);
system\security\cryptography\x509certificates\x509certificate.cs (5)
72
private
SafeCertContextHandle
m_safeCertContext;
89
m_safeCertContext =
SafeCertContextHandle
.InvalidHandle;
616
m_safeCertContext =
SafeCertContextHandle
.InvalidHandle;
650
internal
SafeCertContextHandle
CertContext {
663
internal
SafeCertContextHandle
GetCertContextForCloning() {
system\security\cryptography\x509certificates\x509utils.cs (17)
349
internal static extern void _AddCertificateToStore(SafeCertStoreHandle safeCertStoreHandle,
SafeCertContextHandle
safeCertContext);
358
private static extern void _DuplicateCertContext(IntPtr handle, ref
SafeCertContextHandle
safeCertContext);
369
internal static extern byte[] _GetCertRawData(
SafeCertContextHandle
safeCertContext);
373
internal static extern void _GetDateNotAfter(
SafeCertContextHandle
safeCertContext, ref Win32Native.FILE_TIME fileTime);
377
internal static extern void _GetDateNotBefore(
SafeCertContextHandle
safeCertContext, ref Win32Native.FILE_TIME fileTime);
381
internal static extern string _GetIssuerName(
SafeCertContextHandle
safeCertContext, bool legacyV1Mode);
385
internal static extern string _GetPublicKeyOid(
SafeCertContextHandle
safeCertContext);
389
internal static extern byte[] _GetPublicKeyParameters(
SafeCertContextHandle
safeCertContext);
393
internal static extern byte[] _GetPublicKeyValue(
SafeCertContextHandle
safeCertContext);
397
internal static extern string _GetSubjectInfo(
SafeCertContextHandle
safeCertContext, uint displayType, bool legacyV1Mode);
401
internal static extern byte[] _GetSerialNumber(
SafeCertContextHandle
safeCertContext);
405
internal static extern byte[] _GetThumbprint(
SafeCertContextHandle
safeCertContext);
413
private static extern void _LoadCertFromBlob(byte[] rawData, IntPtr password, uint dwFlags, bool persistKeySet, ref
SafeCertContextHandle
pCertCtx);
421
private static extern void _LoadCertFromFile(string fileName, IntPtr password, uint dwFlags, bool persistKeySet, ref
SafeCertContextHandle
pCertCtx);
443
internal static void DuplicateCertContext(IntPtr handle,
SafeCertContextHandle
safeCertContext)
453
internal static void LoadCertFromBlob(byte[] rawData, IntPtr password, uint dwFlags, bool persistKeySet,
SafeCertContextHandle
pCertCtx) {
462
internal static void LoadCertFromFile(string fileName, IntPtr password, uint dwFlags, bool persistKeySet,
SafeCertContextHandle
pCertCtx) {