internal static SafeSharedAsn1StringHandle GetX509NameEntryData(SafeSharedX509NameEntryHandle nameEntry)
        {
            CheckValidOpenSslHandle(nameEntry);

            return SafeInteriorHandle.OpenInteriorHandle(
                handle => GetX509NameEntryData_private(handle),
                nameEntry);
        }
        internal static SafeSharedAsn1ObjectHandle GetX509NameEntryOid(SafeSharedX509NameEntryHandle nameEntry)
        {
            CheckValidOpenSslHandle(nameEntry);

            return SafeInteriorHandle.OpenInteriorHandle(
                handle => GetX509NameEntryOid_private(handle),
                nameEntry);
        }
        internal static SafeSharedAsn1StringHandle GetX509NameEntryData(SafeSharedX509NameEntryHandle nameEntry)
        {
            CheckValidOpenSslHandle(nameEntry);

            SafeSharedAsn1StringHandle handle = GetX509NameEntryData_private(nameEntry);

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

            return handle;
        }
 private static extern SafeSharedAsn1StringHandle GetX509NameEntryData_private(SafeSharedX509NameEntryHandle nameEntry);
 private static extern SafeSharedAsn1ObjectHandle GetX509NameEntryOid_private(SafeSharedX509NameEntryHandle nameEntry);