internal static SafeSharedX509NameHandle GetX509NameStackField(SafeSharedX509NameStackHandle sk, int loc) { CheckValidOpenSslHandle(sk); return SafeInteriorHandle.OpenInteriorHandle( (handle, i) => GetX509NameStackField_private(handle, i), sk, loc); }
internal static SafeSharedX509NameHandle GetX509NameStackField(SafeSharedX509NameStackHandle sk, int loc) { CheckValidOpenSslHandle(sk); SafeSharedX509NameHandle handle = GetX509NameStackField_private(sk, loc); if (!handle.IsInvalid) { handle.SetParent(sk); } return handle; }
private static extern SafeSharedX509NameHandle GetX509NameStackField_private(SafeSharedX509NameStackHandle sk, int loc);
internal static extern int GetX509NameStackFieldCount(SafeSharedX509NameStackHandle sk);