CefSelectClientCertificateCallback.cs 782 B

1234567891011121314151617181920212223
  1. namespace Xilium.CefGlue
  2. {
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Diagnostics;
  6. using System.Runtime.InteropServices;
  7. using Xilium.CefGlue.Interop;
  8. /// <summary>
  9. /// Callback interface used to select a client certificate for authentication.
  10. /// </summary>
  11. public sealed unsafe partial class CefSelectClientCertificateCallback
  12. {
  13. /// <summary>
  14. /// Chooses the specified certificate for client certificate authentication.
  15. /// NULL value means that no client certificate should be used.
  16. /// </summary>
  17. public void Select(CefX509Certificate cert)
  18. {
  19. cef_select_client_certificate_callback_t.select(_self, cert != null ? cert.ToNative() : null);
  20. }
  21. }
  22. }