WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsICertVerificationResult

IID:2fd0a785-9f2d-4327-8871-8c3e0783891d
Inherits From:nsISupports

Methods

void getUsagesArrayResult ( out PRUint32 verified , out PRUint32 count , out arrayof PRUnichar* usages )

void getUsagesArrayResult ( out PRUint32 verified , out PRUint32 count , out arrayof PRUnichar* usages )

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.

Arguments:
verified: The certificate verification result, see constants in nsIX509Cert.
count: The number of human readable usages returned.
usages: The array of human readable usages.

References

This interface is passed as an argument to the following methods:

nsICertVerificationListener.notify

Reference documentation is generated from Mozilla's source.