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; }
internal static extern int GetX509NameEntryCount(SafeX509NameHandle x509Name);
internal static extern bool PushX509NameStackField(SafeX509NameStackHandle stack, SafeX509NameHandle x509_Name);
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);