internal static SafeSharedAsn1IntegerHandle X509GetSerialNumber(SafeX509Handle x) { CheckValidOpenSslHandle(x); return(SafeInteriorHandle.OpenInteriorHandle( handle => X509GetSerialNumber_private(handle), x)); }
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 SafeSharedAsn1OctetStringHandle X509FindExtensionData(SafeX509Handle x, int extensionNid) { CheckValidOpenSslHandle(x); return(SafeInteriorHandle.OpenInteriorHandle( (handle, arg) => CryptoNative_X509FindExtensionData(handle, arg), x, extensionNid)); }
internal static SafeSharedX509NameHandle GetX509NameStackField(SafeSharedX509NameStackHandle sk, int loc) { CheckValidOpenSslHandle(sk); return(SafeInteriorHandle.OpenInteriorHandle( (handle, i) => GetX509NameStackField_private(handle, i), sk, loc)); }
internal static SafeSharedX509NameEntryHandle GetX509NameEntry(SafeX509NameHandle x509Name, int loc) { CheckValidOpenSslHandle(x509Name); return(SafeInteriorHandle.OpenInteriorHandle( (nameHandle, i) => GetX509NameEntry_private(nameHandle, i), x509Name, loc)); }
internal static SafeSharedX509StackHandle X509StoreCtxGetSharedUntrusted(SafeX509StoreCtxHandle ctx) { return(SafeInteriorHandle.OpenInteriorHandle( x => X509StoreCtxGetSharedUntrusted_private(x), ctx)); }