X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=libmoonshot%2Flibmoonshot.h;fp=libmoonshot%2Flibmoonshot.h;h=5b2524de9108fed5f90621a4e05867cc7bd08fba;hb=9129fbbed8cebdb35c59b0b0c576385e353e9d0d;hp=d7830c29269302e22fd1fa26b21ad638306a3d64;hpb=66d9bc4540066d6938ac947b19e718427d6900b9;p=moonshot-ui.git diff --git a/libmoonshot/libmoonshot.h b/libmoonshot/libmoonshot.h index d7830c2..5b2524d 100644 --- a/libmoonshot/libmoonshot.h +++ b/libmoonshot/libmoonshot.h @@ -187,4 +187,19 @@ int moonshot_install_id_card (const char *display_name, int force_flat_file_store, MoonshotError **error); + + +/** + * moonshot_confirm_ca_certificate + * @ + * Return value: %TRUE if the certificate is approved; %FALSE otherwise + */ + +int moonshot_confirm_ca_certificate (const char *identity_name, + const char *realm, + const unsigned char *sha256, + int sha256_length, + MoonshotError **error); + + #endif