Beispiel #1
0
        private void ReleaseUnmanagedResources()
        {
            var native = _native;

            Native.fido_dev_free(&native);
            _native = null;
        }
Beispiel #2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <exception cref="OutOfMemoryException" />
 public FidoDevice()
 {
     _native = Native.fido_dev_new();
     if (_native == null)
     {
         throw new OutOfMemoryException();
     }
 }
Beispiel #3
0
 public static extern int fido_dev_set_pin_minlen(fido_dev_t *device, UIntPtr len, string pin);
Beispiel #4
0
 public static extern int fido_dev_toggle_always_uv(fido_dev_t *device, string pin);
Beispiel #5
0
 public static extern int fido_dev_force_pin_change(fido_dev_t *device, string pin);
Beispiel #6
0
 public static extern int fido_credman_set_dev_rk(fido_dev_t *device, fido_cred_t *cred,
                                                  string pin);
Beispiel #7
0
 public static extern int fido_credman_get_dev_rp(fido_dev_t *device, fido_credman_rp_t *rp,
                                                  string pin);
Beispiel #8
0
 public static extern int fido_credman_get_dev_metadata(fido_dev_t *device, fido_credman_metadata_t *metadata,
                                                        string pin);
Beispiel #9
0
 public static extern int fido_bio_dev_enroll_cancel(fido_dev_t *device);
Beispiel #10
0
 public static extern int fido_bio_dev_get_template_array(fido_dev_t *device, fido_bio_template_array_t *array,
                                                          string pin);
Beispiel #11
0
 public static extern int fido_bio_dev_set_template_name(fido_dev_t *device, fido_bio_template_t *template,
                                                         string pin);
Beispiel #12
0
 public static extern int fido_bio_dev_get_info(fido_dev_t *device, fido_bio_info_t *info);
Beispiel #13
0
 public static extern int fido_bio_dev_enroll_remove(fido_dev_t *device, fido_bio_template_t *template,
                                                     string pin);
Beispiel #14
0
 public static extern int fido_bio_dev_enroll_continue(fido_dev_t *device, fido_bio_template_t *template,
                                                       fido_bio_enroll_t *enroll, uint timeout_ms);
Beispiel #15
0
 public static extern int fido_dev_set_pin_minlen_rpid(fido_dev_t *device, string rpid,
                                                       UIntPtr n, string pin);
Beispiel #16
0
 public static extern int fido_credman_del_dev_rk(fido_dev_t *device, string cred_id,
                                                  UIntPtr cred_id_len, string pin);
Beispiel #17
0
 public static extern int fido_dev_enable_entattest(fido_dev_t *device, string pin);
Beispiel #18
0
 public static extern int fido_bio_dev_enroll_begin(fido_dev_t *device, fido_bio_template_t *template,
                                                    fido_bio_enroll_t *enroll, uint timeout_ms, string pin);