Example #1
0
        /// <summary>
        /// Returns true (1) if the certificate status represents only minor errors (e.g.
        /// failure to verify certificate revocation).
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_ssl_info_capi.h">cef/include/capi/cef_ssl_info_capi.h</see>.
        /// </remarks>
        public static bool IsCertStatusMinorError(CfxCertStatus status)
        {
            var call = new CfxRuntimeIsCertStatusMinorErrorRemoteCall();

            call.status = (int)status;
            call.RequestExecution();
            return(call.__retval);
        }
Example #2
0
        /// <summary>
        /// Returns true (1) if the certificate status represents only minor errors (e.g.
        /// failure to verify certificate revocation).
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_ssl_info_capi.h">cef/include/capi/cef_ssl_info_capi.h</see>.
        /// </remarks>
        public static bool IsCertStatusMinorError(CfxCertStatus status)
        {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call       = new CfxRuntimeIsCertStatusMinorErrorRemoteCall();

            call.status = (int)status;
            call.RequestExecution(connection);
            return(call.__retval);
        }