BadCertHandler.QueryInterface Member
Syntax
object.QueryInterface(aIID);
Arguments
Argument | Summary |
---|---|
aIID |
Returns
Remarks
See Also
Source Code
function badcert_queryinterface(aIID)
{
if (aIID.equals(Components.interfaces.nsIBadCertListener2) ||
aIID.equals(Components.interfaces.nsISSLErrorListener) ||
aIID.equals(Components.interfaces.nsIInterfaceRequestor) ||
aIID.equals(Components.interfaces.nsISupports))
{
return this;
}
throw Components.results.NS_ERROR_NO_INTERFACE;
}