diff options
author | ian.mcgreer%sun.com <devnull@localhost> | 2002-04-15 15:22:11 +0000 |
---|---|---|
committer | ian.mcgreer%sun.com <devnull@localhost> | 2002-04-15 15:22:11 +0000 |
commit | 46632f2256d6e706f8c3403a5e37a90216266bd9 (patch) | |
tree | 424bf6579cec5cd2e22141327851d693f1a20ccb /security/nss/lib/pki/pkitm.h | |
parent | 2bab8ee7cbd377ea5fcef1da434e8424fe475c6e (diff) | |
download | nss-hg-46632f2256d6e706f8c3403a5e37a90216266bd9.tar.gz |
bug 135521, change cert lookups on tokens to be actual finds instead of traversals
Diffstat (limited to 'security/nss/lib/pki/pkitm.h')
-rw-r--r-- | security/nss/lib/pki/pkitm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/nss/lib/pki/pkitm.h b/security/nss/lib/pki/pkitm.h index a943fd834..699a1b91c 100644 --- a/security/nss/lib/pki/pkitm.h +++ b/security/nss/lib/pki/pkitm.h @@ -104,6 +104,18 @@ struct nssBestCertificateCBStr { NSSPolicies *policies; }; +typedef struct nssPKIObjectCollectionStr nssPKIObjectCollection; + +typedef struct +{ + union { + PRStatus (* cert)(NSSCertificate *c, void *arg); + PRStatus (* pvkey)(NSSPrivateKey *vk, void *arg); + PRStatus (* pbkey)(NSSPublicKey *bk, void *arg); + } func; + void *arg; +} nssPKIObjectCallback; + PR_END_EXTERN_C #endif /* PKITM_H */ |