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

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

Issue 1017413002: Uprev NSS to 3.18 RTM (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@nspr_uprev
Patch Set: Rebased Created 5 years, 8 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
« no previous file with comments | « nss.gyp ('k') | nss/lib/certdb/certdb.h » ('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 8
9 #ifndef _CERT_H_ 9 #ifndef _CERT_H_
10 #define _CERT_H_ 10 #define _CERT_H_
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 ***************************************************************************/ 922 ***************************************************************************/
923 923
924 extern SECStatus CERT_FindCertExtension 924 extern SECStatus CERT_FindCertExtension
925 (const CERTCertificate *cert, int tag, SECItem *value); 925 (const CERTCertificate *cert, int tag, SECItem *value);
926 926
927 extern SECStatus CERT_FindNSCertTypeExtension 927 extern SECStatus CERT_FindNSCertTypeExtension
928 (CERTCertificate *cert, SECItem *value); 928 (CERTCertificate *cert, SECItem *value);
929 929
930 extern char * CERT_FindNSStringExtension (CERTCertificate *cert, int oidtag); 930 extern char * CERT_FindNSStringExtension (CERTCertificate *cert, int oidtag);
931 931
932 extern SECStatus CERT_FindIssuerCertExtension
933 (CERTCertificate *cert, int tag, SECItem *value);
934
935 extern SECStatus CERT_FindCertExtensionByOID 932 extern SECStatus CERT_FindCertExtensionByOID
936 (CERTCertificate *cert, SECItem *oid, SECItem *value); 933 (CERTCertificate *cert, SECItem *oid, SECItem *value);
937 934
938 extern char *CERT_FindCertURLExtension (CERTCertificate *cert, int tag,
939 int catag);
940
941 /* Returns the decoded value of the authKeyID extension. 935 /* Returns the decoded value of the authKeyID extension.
942 ** Note that this uses passed in the arena to allocate storage for the result 936 ** Note that this uses passed in the arena to allocate storage for the result
943 */ 937 */
944 extern CERTAuthKeyID * CERT_FindAuthKeyIDExten (PLArenaPool *arena,CERTCertifica te *cert); 938 extern CERTAuthKeyID * CERT_FindAuthKeyIDExten (PLArenaPool *arena,CERTCertifica te *cert);
945 939
946 /* Returns the decoded value of the basicConstraint extension. 940 /* Returns the decoded value of the basicConstraint extension.
947 */ 941 */
948 extern SECStatus CERT_FindBasicConstraintExten 942 extern SECStatus CERT_FindBasicConstraintExten
949 (CERTCertificate *cert, CERTBasicConstraints *value); 943 (CERTCertificate *cert, CERTBasicConstraints *value);
950 944
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 extern CERTGeneralName * 1154 extern CERTGeneralName *
1161 CERT_DecodeAltNameExtension(PLArenaPool *reqArena, SECItem *EncodedAltName); 1155 CERT_DecodeAltNameExtension(PLArenaPool *reqArena, SECItem *EncodedAltName);
1162 1156
1163 extern CERTNameConstraints * 1157 extern CERTNameConstraints *
1164 CERT_DecodeNameConstraintsExtension(PLArenaPool *arena, 1158 CERT_DecodeNameConstraintsExtension(PLArenaPool *arena,
1165 const SECItem *encodedConstraints); 1159 const SECItem *encodedConstraints);
1166 1160
1167 /* returns addr of a NULL termainated array of pointers to CERTAuthInfoAccess */ 1161 /* returns addr of a NULL termainated array of pointers to CERTAuthInfoAccess */
1168 extern CERTAuthInfoAccess ** 1162 extern CERTAuthInfoAccess **
1169 CERT_DecodeAuthInfoAccessExtension(PLArenaPool *reqArena, 1163 CERT_DecodeAuthInfoAccessExtension(PLArenaPool *reqArena,
1170 » » » » SECItem *encodedExtension); 1164 » » » » const SECItem *encodedExtension);
1171 1165
1172 extern CERTPrivKeyUsagePeriod * 1166 extern CERTPrivKeyUsagePeriod *
1173 CERT_DecodePrivKeyUsagePeriodExtension(PLArenaPool *arena, SECItem *extnValue); 1167 CERT_DecodePrivKeyUsagePeriodExtension(PLArenaPool *arena, SECItem *extnValue);
1174 1168
1175 extern CERTGeneralName * 1169 extern CERTGeneralName *
1176 CERT_GetNextGeneralName(CERTGeneralName *current); 1170 CERT_GetNextGeneralName(CERTGeneralName *current);
1177 1171
1178 extern CERTGeneralName * 1172 extern CERTGeneralName *
1179 CERT_GetPrevGeneralName(CERTGeneralName *current); 1173 CERT_GetPrevGeneralName(CERTGeneralName *current);
1180 1174
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1666 /* 1660 /*
1667 * Destroy the arrays inside flags, 1661 * Destroy the arrays inside flags,
1668 * and destroy the object pointed to by flags, too. 1662 * and destroy the object pointed to by flags, too.
1669 */ 1663 */
1670 extern void 1664 extern void
1671 CERT_DestroyCERTRevocationFlags(CERTRevocationFlags *flags); 1665 CERT_DestroyCERTRevocationFlags(CERTRevocationFlags *flags);
1672 1666
1673 SEC_END_PROTOS 1667 SEC_END_PROTOS
1674 1668
1675 #endif /* _CERT_H_ */ 1669 #endif /* _CERT_H_ */
OLDNEW
« no previous file with comments | « nss.gyp ('k') | nss/lib/certdb/certdb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698