Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsCertVerificationJob Class Reference

#include <nsVerificationJob.h>

Inheritance diagram for nsCertVerificationJob:
Inheritance graph
Collaboration diagram for nsCertVerificationJob:
Collaboration graph

List of all members.

Public Member Functions

void Run ()

Public Attributes

nsCOMPtr< nsIX509CertmCert
< nsICertVerificationListener

Detailed Description

Definition at line 57 of file nsVerificationJob.h.

Member Function Documentation

Implements nsBaseVerificationJob.

Definition at line 47 of file nsCertVerificationThread.cpp.

  if (!mListener || !mCert)

  PRUint32 verified;
  PRUint32 count;
  PRUnichar **usages;

  nsCOMPtr<nsICertVerificationResult> ires;
  nsRefPtr<nsCertVerificationResult> vres = new nsCertVerificationResult;
  if (vres)
    nsresult rv = mCert->GetUsagesArray(PR_FALSE, // do not ignore OCSP
    vres->mRV = rv;
    if (NS_SUCCEEDED(rv))
      vres->mVerified = verified;
      vres->mCount = count;
      vres->mUsages = usages;

    ires = vres;
  nsCOMPtr<nsIX509Cert3> c3 = do_QueryInterface(mCert);
  mListener->Notify(c3, ires);

Here is the call graph for this function:

Member Data Documentation

Definition at line 60 of file nsVerificationJob.h.

Definition at line 61 of file nsVerificationJob.h.

The documentation for this class was generated from the following files: