Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Side by Side Diff: mozilla/security/nss/lib/certdb/cert.h

Issue 10961060: Update NSS to NSS 3.14 Beta 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Add the NSS snapshot timestamp to README.chromium and nss-checkout.sh Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mozilla/security/nss/lib/base/nssbase.h ('k') | mozilla/security/nss/lib/certdb/secname.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 4
5 /* 5 /*
6 * cert.h - public data structures and prototypes for the certificate library 6 * cert.h - public data structures and prototypes for the certificate library
7 * 7 *
8 * $Id: cert.h,v 1.90 2012/09/19 15:08:07 kaie%kuix.de Exp $ 8 * $Id: cert.h,v 1.90 2012/09/19 15:08:07 kaie%kuix.de Exp $
9 */ 9 */
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 /* 90 /*
91 ** Add an AVA to an RDN. 91 ** Add an AVA to an RDN.
92 ** "rdn" the RDN to add to 92 ** "rdn" the RDN to add to
93 ** "ava" the AVA to add 93 ** "ava" the AVA to add
94 */ 94 */
95 extern SECStatus CERT_AddAVA(PLArenaPool *arena, CERTRDN *rdn, CERTAVA *ava); 95 extern SECStatus CERT_AddAVA(PLArenaPool *arena, CERTRDN *rdn, CERTAVA *ava);
96 96
97 /* 97 /*
98 ** Compare two RDN's, returning the difference between them. 98 ** Compare two RDN's, returning the difference between them.
99 */ 99 */
100 extern SECComparison CERT_CompareRDN(CERTRDN *a, CERTRDN *b); 100 extern SECComparison CERT_CompareRDN(const CERTRDN *a, const CERTRDN *b);
101 101
102 /* 102 /*
103 ** Create an X.500 style name using a NULL terminated list of RDN's. 103 ** Create an X.500 style name using a NULL terminated list of RDN's.
104 */ 104 */
105 extern CERTName *CERT_CreateName(CERTRDN *rdn, ...); 105 extern CERTName *CERT_CreateName(CERTRDN *rdn, ...);
106 106
107 /* 107 /*
108 ** Make a copy of "src" storing it in "dest". Memory is allocated in 108 ** Make a copy of "src" storing it in "dest". Memory is allocated in
109 ** "dest" for each of the appropriate sub objects. Memory is not freed in 109 ** "dest" for each of the appropriate sub objects. Memory is not freed in
110 ** "dest" before allocation is done (use CERT_DestroyName(dest, PR_FALSE) to 110 ** "dest" before allocation is done (use CERT_DestroyName(dest, PR_FALSE) to
(...skipping 11 matching lines...) Expand all
122 /* 122 /*
123 ** Add an RDN to a name. 123 ** Add an RDN to a name.
124 ** "name" the name to add the RDN to 124 ** "name" the name to add the RDN to
125 ** "rdn" the RDN to add to name 125 ** "rdn" the RDN to add to name
126 */ 126 */
127 extern SECStatus CERT_AddRDN(CERTName *name, CERTRDN *rdn); 127 extern SECStatus CERT_AddRDN(CERTName *name, CERTRDN *rdn);
128 128
129 /* 129 /*
130 ** Compare two names, returning the difference between them. 130 ** Compare two names, returning the difference between them.
131 */ 131 */
132 extern SECComparison CERT_CompareName(CERTName *a, CERTName *b); 132 extern SECComparison CERT_CompareName(const CERTName *a, const CERTName *b);
133 133
134 /* 134 /*
135 ** Convert a CERTName into something readable 135 ** Convert a CERTName into something readable
136 */ 136 */
137 extern char *CERT_FormatName (CERTName *name); 137 extern char *CERT_FormatName (CERTName *name);
138 138
139 /* 139 /*
140 ** Convert a der-encoded integer to a hex printable string form. 140 ** Convert a der-encoded integer to a hex printable string form.
141 ** Perhaps this should be a SEC function but it's only used for certs. 141 ** Perhaps this should be a SEC function but it's only used for certs.
142 */ 142 */
(...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 /* 1641 /*
1642 * Destroy the arrays inside flags, 1642 * Destroy the arrays inside flags,
1643 * and destroy the object pointed to by flags, too. 1643 * and destroy the object pointed to by flags, too.
1644 */ 1644 */
1645 extern void 1645 extern void
1646 CERT_DestroyCERTRevocationFlags(CERTRevocationFlags *flags); 1646 CERT_DestroyCERTRevocationFlags(CERTRevocationFlags *flags);
1647 1647
1648 SEC_END_PROTOS 1648 SEC_END_PROTOS
1649 1649
1650 #endif /* _CERT_H_ */ 1650 #endif /* _CERT_H_ */
OLDNEW
« no previous file with comments | « mozilla/security/nss/lib/base/nssbase.h ('k') | mozilla/security/nss/lib/certdb/secname.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698