Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes | Friends
nsCertVerificationResult Class Reference

#include <nsVerificationJob.h>

Inheritance diagram for nsCertVerificationResult:
Inheritance graph
Collaboration diagram for nsCertVerificationResult:
Collaboration graph

List of all members.

Public Member Functions

 nsCertVerificationResult ()
virtual ~nsCertVerificationResult ()
void getUsagesArrayResult (out PRUint32 verified, out PRUint32 count,[array, size_is(count)] out wstring usages)
 This interface reflects a container of verification results.

Private Attributes

nsresult mRV
PRUint32 mVerified
PRUint32 mCount
PRUnichar ** mUsages


class nsCertVerificationJob

Detailed Description

Definition at line 66 of file nsVerificationJob.h.

Constructor & Destructor Documentation

Definition at line 165 of file nsCertVerificationThread.cpp.

: mRV(0),

Member Function Documentation

void nsICertVerificationResult::getUsagesArrayResult ( out PRUint32  verified,
out PRUint32  count,
[array, size_is(count)] out wstring  usages 
) [inherited]

This interface reflects a container of verification results.

Call will not block.

Obtain an array of human readable strings describing the certificate's certified usages.

Mirrors the results produced by nsIX509Cert::getUsagesArray()

As of today, this function is a one-shot object, only the first call will succeed. This allows an optimization in the implementation, ownership of result data will be transfered to caller.

certThe certificate that was verified.
verifiedThe certificate verification result, see constants in nsIX509Cert.
countThe number of human readable usages returned.
usagesThe array of human readable usages.

Friends And Related Function Documentation

friend class nsCertVerificationJob [friend]

Definition at line 81 of file nsVerificationJob.h.

Member Data Documentation

Definition at line 78 of file nsVerificationJob.h.

Definition at line 76 of file nsVerificationJob.h.

Definition at line 79 of file nsVerificationJob.h.

Definition at line 77 of file nsVerificationJob.h.

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