Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/security/manager/ssl/nsIClientAuthDialogService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIClientAuthDialogCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void certificateChosen (in nsIX509Cert cert, in boolean rememberDecision); */
Method {
name: "CertificateChosen",
params: &[Param { name: "cert", ty: "*const nsIX509Cert" }, Param { name: "rememberDecision", ty: "bool" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIClientAuthDialogService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [must_use] void chooseCertificate (in AUTF8String hostname, in Array<nsIX509Cert> certArray, in nsILoadContext loadContext, in nsIClientAuthDialogCallback callback); */
Method {
name: "ChooseCertificate",
params: &[Param { name: "hostname", ty: "*const ::nsstring::nsACString" }, Param { name: "certArray", ty: "*const thin_vec::ThinVec<Option<RefPtr<nsIX509Cert>>>" }, Param { name: "loadContext", ty: "*const nsILoadContext" }, Param { name: "callback", ty: "*const nsIClientAuthDialogCallback" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}