diff options
author | julien.pierre.boogz%sun.com <devnull@localhost> | 2008-08-07 00:00:09 +0000 |
---|---|---|
committer | julien.pierre.boogz%sun.com <devnull@localhost> | 2008-08-07 00:00:09 +0000 |
commit | 65db7d3655e1c3c06686aa4118ce0f77fda083b6 (patch) | |
tree | 21ee9c8248d0670f24c4c33f86c91a48dff541ec | |
parent | cc76330f24a07ba83957361a3f831fd2a273f645 (diff) | |
download | nss-hg-65db7d3655e1c3c06686aa4118ce0f77fda083b6.tar.gz |
Fix for bug 449146 . remove dead libsec function declarations. r=nelson
-rw-r--r-- | security/nss/lib/certdb/certdb.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/security/nss/lib/certdb/certdb.h b/security/nss/lib/certdb/certdb.h index 23455073a..966d665f3 100644 --- a/security/nss/lib/certdb/certdb.h +++ b/security/nss/lib/certdb/certdb.h @@ -92,80 +92,6 @@ SEC_CrlIsNewer(CERTCrl *inNew, CERTCrl *old); SECCertTimeValidity SEC_CheckCrlTimes(CERTCrl *crl, PRTime t); -#ifdef notdef -/* -** Add a DER encoded certificate to the permanent database. -** "derCert" is the DER encoded certificate. -** "nickname" is the nickname to use for the cert -** "trust" is the trust parameters for the cert -*/ -SECStatus SEC_AddPermCertificate(PCERTCertDBHandle *handle, SECItem *derCert, - char *nickname, PCERTCertTrust *trust); - -certDBEntryCert * -SEC_FindPermCertByKey(PCERTCertDBHandle *handle, SECItem *certKey); - -certDBEntryCert -*SEC_FindPermCertByName(PCERTCertDBHandle *handle, SECItem *name); - -SECStatus SEC_OpenPermCertDB(PCERTCertDBHandle *handle, - PRBool readOnly, - PCERTDBNameFunc namecb, - void *cbarg); - - -typedef SECStatus (PR_CALLBACK * PermCertCallback)(PCERTCertificate *cert, - SECItem *k, void *pdata); -/* -** Traverse the entire permanent database, and pass the certs off to a -** user supplied function. -** "certfunc" is the user function to call for each certificate -** "udata" is the user's data, which is passed through to "certfunc" -*/ -SECStatus -PCERT_TraversePermCerts(PCERTCertDBHandle *handle, - PermCertCallback certfunc, - void *udata ); - -SECStatus -SEC_AddTempNickname(PCERTCertDBHandle *handle, char *nickname, SECItem *certKey); - -SECStatus -SEC_DeleteTempNickname(PCERTCertDBHandle *handle, char *nickname); - - -PRBool -SEC_CertDBKeyConflict(SECItem *derCert, PCERTCertDBHandle *handle); - -SECStatus -SEC_GetCrlTimes(PCERTCrl *dates, PRTime *notBefore, PRTime *notAfter); - -PCERTSignedCrl * -SEC_AddPermCrlToTemp(PCERTCertDBHandle *handle, certDBEntryRevocation *entry); - -SECStatus -SEC_DeleteTempCrl(PCERTSignedCrl *crl); - - -SECStatus -SEC_CheckKRL(PCERTCertDBHandle *handle,SECKEYLowPublicKey *key, - PCERTCertificate *rootCert, PRTime t, void *wincx); - -SECStatus -SEC_CheckCRL(PCERTCertDBHandle *handle,PCERTCertificate *cert, - PCERTCertificate *caCert, PRTime t, void *wincx); - -SECStatus -SEC_CrlReplaceUrl(PCERTSignedCrl *crl,char *url); - -/* Compare two certificate validity structures and return which cert should be -** preferred, based first on newer notAfter, then on newer notBefore. -*/ -CERTCompareValidityStatus -CERT_CompareValidityTimes(CERTValidity* val_a, CERTValidity* val_b); - -#endif - SEC_END_PROTOS #endif /* _CERTDB_H_ */ |