static BoringX509StoreHandle Create_internal(MonoBtlsSslCtx.BoringSslCtxHandle ctx) { var handle = mono_btls_x509_store_from_ssl_ctx(ctx.DangerousGetHandle()); if (handle == IntPtr.Zero) { throw new MonoBtlsException(); } return(new BoringX509StoreHandle(handle)); }
internal MonoBtlsX509Store(MonoBtlsSslCtx.BoringSslCtxHandle ctx) : base(Create_internal(ctx)) { }