Пример #1
0
        internal static SafeSharedX509NameEntryHandle GetX509NameEntry(SafeX509NameHandle x509Name, int loc)
        {
            CheckValidOpenSslHandle(x509Name);

            return SafeInteriorHandle.OpenInteriorHandle(
                (nameHandle, i) => GetX509NameEntry_private(nameHandle, i),
                x509Name,
                loc);
        }
Пример #2
0
        internal static SafeSharedX509NameEntryHandle GetX509NameEntry(SafeX509NameHandle x509Name, int loc)
        {
            CheckValidOpenSslHandle(x509Name);

            SafeSharedX509NameEntryHandle handle = GetX509NameEntry_private(x509Name, loc);

            if (!handle.IsInvalid)
            {
                handle.SetParent(x509Name);
            }

            return handle;
        }
Пример #3
0
 internal static extern int GetX509NameEntryCount(SafeX509NameHandle x509Name);
Пример #4
0
 internal static extern bool PushX509NameStackField(SafeX509NameStackHandle stack, SafeX509NameHandle x509_Name);
Пример #5
0
 internal static extern int X509_NAME_print_ex(SafeBioHandle @out, SafeX509NameHandle nm, int indent, NativeULong flags);
Пример #6
0
 private static extern SafeSharedX509NameEntryHandle GetX509NameEntry_private(SafeX509NameHandle x509Name, int loc);