~ubuntu-branches/ubuntu/raring/nss/raring-security

« back to all changes in this revision

Viewing changes to mozilla/security/nss/lib/certdb/cert.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-03-25 13:46:06 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100325134606-bl6liuok2w9l7snv
Tags: 3.12.6-0ubuntu1
* New upstream release 3.12.6 RTM (NSS_3_12_6_RTM)
  - fixes CVE-2009-3555 aka US-CERT VU#120541
* Adjust patches to changed upstream code base
  - update debian/patches/38_kbsd.patch
  - update debian/patches/38_mips64_build.patch
  - update debian/patches/85_security_load.patch
* Remove patches that are merged upstream
  - delete debian/patches/91_nonexec_stack.patch
  - update debian/patches/series
* Bump nspr dependency to 4.8
  - update debian/control
* Add new symbols for 3.12.6
  - update debian/libnss3-1d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
/*
38
38
 * cert.h - public data structures and prototypes for the certificate library
39
39
 *
40
 
 * $Id: cert.h,v 1.76 2009/03/20 18:03:57 nelson%bolyard.com Exp $
 
40
 * $Id: cert.h,v 1.79 2010/01/14 22:15:23 alexei.volkov.bugs%sun.com Exp $
41
41
 */
42
42
 
43
43
#ifndef _CERT_H_
1077
1077
 
1078
1078
extern void CERT_FreeDistNames(CERTDistNames *names);
1079
1079
 
 
1080
/* Duplicate distinguished name array */
 
1081
extern CERTDistNames *CERT_DupDistNames(CERTDistNames *orig);
 
1082
 
1080
1083
/*
1081
1084
** Generate an array of Distinguished names from an array of nicknames
1082
1085
*/
1084
1087
   (CERTCertDBHandle *handle, char **nicknames, int nnames);
1085
1088
 
1086
1089
/*
 
1090
** Generate an array of Distinguished names from a list of certs.
 
1091
*/
 
1092
extern CERTDistNames *CERT_DistNamesFromCertList(CERTCertList *list);
 
1093
 
 
1094
/*
1087
1095
** Generate a certificate chain from a certificate.
1088
1096
*/
1089
1097
extern CERTCertificateList *
1525
1533
 
1526
1534
 
1527
1535
SECStatus CERT_CheckCRL(CERTCertificate* cert, CERTCertificate* issuer,
1528
 
                        SECItem* dp, PRTime t, void* wincx);
 
1536
                        const SECItem* dp, PRTime t, void* wincx);
1529
1537
 
1530
1538
 
1531
1539
/*
1610
1618
 * Returns a pointer to a static structure.
1611
1619
 */
1612
1620
extern const CERTRevocationFlags*
1613
 
CERT_GetPKIXVerifyNistRevocationPolicy();
1614
 
 
1615
 
/*
1616
 
 * Returns a pointer to a static structure.
1617
 
 */
1618
 
extern const CERTRevocationFlags*
1619
 
CERT_GetClassicOCSPEnabledSoftFailurePolicy();
1620
 
 
1621
 
/*
1622
 
 * Returns a pointer to a static structure.
1623
 
 */
1624
 
extern const CERTRevocationFlags*
1625
 
CERT_GetClassicOCSPEnabledHardFailurePolicy();
1626
 
 
1627
 
/*
1628
 
 * Returns a pointer to a static structure.
1629
 
 */
1630
 
extern const CERTRevocationFlags*
1631
 
CERT_GetClassicOCSPDisabledPolicy();
 
1621
CERT_GetPKIXVerifyNistRevocationPolicy(void);
 
1622
 
 
1623
/*
 
1624
 * Returns a pointer to a static structure.
 
1625
 */
 
1626
extern const CERTRevocationFlags*
 
1627
CERT_GetClassicOCSPEnabledSoftFailurePolicy(void);
 
1628
 
 
1629
/*
 
1630
 * Returns a pointer to a static structure.
 
1631
 */
 
1632
extern const CERTRevocationFlags*
 
1633
CERT_GetClassicOCSPEnabledHardFailurePolicy(void);
 
1634
 
 
1635
/*
 
1636
 * Returns a pointer to a static structure.
 
1637
 */
 
1638
extern const CERTRevocationFlags*
 
1639
CERT_GetClassicOCSPDisabledPolicy(void);
1632
1640
 
1633
1641
/*
1634
1642
 * Verify a Cert with libpkix
1662
1670
 
1663
1671
/* The function return PR_TRUE if cert validation should use
1664
1672
 * libpkix cert validation engine. */
1665
 
PRBool CERT_GetUsePKIXForValidation();
 
1673
PRBool CERT_GetUsePKIXForValidation(void);
1666
1674
 
1667
1675
SEC_END_PROTOS
1668
1676