Index: mozilla/security/nss/lib/pki/pkitm.h |
=================================================================== |
--- mozilla/security/nss/lib/pki/pkitm.h (revision 158129) |
+++ mozilla/security/nss/lib/pki/pkitm.h (working copy) |
@@ -58,6 +58,9 @@ |
PRBool (*isNewerThan)(nssDecodedCert *dc, nssDecodedCert *cmpdc); |
/* does the usage for this cert match the requested usage? */ |
PRBool (*matchUsage)(nssDecodedCert *dc, const NSSUsage *usage); |
+ /* is this cert trusted for the requested usage? */ |
+ PRBool (*isTrustedForUsage)(nssDecodedCert *dc, |
+ const NSSUsage *usage); |
/* extract the email address */ |
NSSASCII7 *(*getEmailAddress)(nssDecodedCert *dc); |
/* extract the DER-encoded serial number */ |