internal static SafeSharedX509NameEntryHandle GetX509NameEntry(SafeX509NameHandle x509Name, int loc)
        {
            CheckValidOpenSslHandle(x509Name);

            return SafeInteriorHandle.OpenInteriorHandle(
                (nameHandle, i) => GetX509NameEntry_private(nameHandle, i),
                x509Name,
                loc);
        }
        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);
 private static extern SafeSharedX509NameEntryHandle GetX509NameEntry_private(SafeX509NameHandle x509Name, int loc);