~ubuntu-branches/ubuntu/hardy/nss/hardy-security

« back to all changes in this revision

Viewing changes to mozilla/security/nss/lib/util/secasn1.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-01 16:57:40 UTC
  • mfrom: (1.1.8 upstream) (7.1.1 hardy-security)
  • Revision ID: james.westby@ubuntu.com-20090801165740-4edm78cga2bcxxub
Tags: 3.12.3.1-0ubuntu0.8.04.1
* new upstream release 3.12.3.1 RTM (NSS_3_12_3_1_RTM) (LP: #407549)
  - see USN-810-1
* requires nspr >= 4.7.4
  - update debian/control
* drop (ubuntu-)useless kbsd patch
  - delete debian/patches/38_kbsd.patch
* drop obsolete patches fixed upstream
  - delete debian/patches/80_security_tools.patch
  - delete debian/patches/bz471715_attachment_357235-backport.patch
* adjust patches to new upstream codebase
  - update debian/patches/38_mips64_build.patch
  - update debian/patches/81_sonames.patch
* LP: #388350 - nss 3.12.3-0ubuntu2 ftbfs in karmic - shlibsign crashes; we add
  debian/libnss3-1d/usr/lib/nss to LD_LIBRARY_PATH for the shlibsign invocation
  used to sign libs in debian/rules
  - update debian/rules
* update .symbols files for new upstream api
  - update debian/libnss3-1d.symbols
* bump shlibs version to >= 3.12.3
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 * Encoding Rules).  The routines are found in and used extensively by the
40
40
 * security library, but exported for other use.
41
41
 *
42
 
 * $Id: secasn1.h,v 1.15 2007/10/12 01:44:51 julien.pierre.boogz%sun.com Exp $
 
42
 * $Id: secasn1.h,v 1.16 2008/06/14 14:20:38 wtc%google.com Exp $
43
43
 */
44
44
 
45
45
#ifndef _SECASN1_H_
63
63
** Decoding.
64
64
*/
65
65
 
66
 
extern SEC_ASN1DecoderContext *SEC_ASN1DecoderStart(PRArenaPool *pool,
 
66
extern SEC_ASN1DecoderContext *SEC_ASN1DecoderStart(PLArenaPool *pool,
67
67
                                                    void *dest,
68
68
                                                    const SEC_ASN1Template *t);
69
69
 
89
89
 
90
90
extern void SEC_ASN1DecoderClearNotifyProc(SEC_ASN1DecoderContext *cx);
91
91
 
92
 
extern SECStatus SEC_ASN1Decode(PRArenaPool *pool, void *dest,
 
92
extern SECStatus SEC_ASN1Decode(PLArenaPool *pool, void *dest,
93
93
                                const SEC_ASN1Template *t,
94
94
                                const char *buf, long len);
95
95
 
100
100
   allocated (from POINTER, SET OF, SEQUENCE OF) the decoder sets the type
101
101
   field to siBuffer. */
102
102
 
103
 
extern SECStatus SEC_ASN1DecodeItem(PRArenaPool *pool, void *dest,
 
103
extern SECStatus SEC_ASN1DecodeItem(PLArenaPool *pool, void *dest,
104
104
                                    const SEC_ASN1Template *t,
105
105
                                    const SECItem *src);
106
106
 
107
 
extern SECStatus SEC_QuickDERDecodeItem(PRArenaPool* arena, void* dest,
 
107
extern SECStatus SEC_QuickDERDecodeItem(PLArenaPool* arena, void* dest,
108
108
                     const SEC_ASN1Template* templateEntry,
109
109
                     const SECItem* src);
110
110
 
149
149
                                SEC_ASN1WriteProc output_proc,
150
150
                                void *output_arg);
151
151
 
152
 
extern SECItem * SEC_ASN1EncodeItem(PRArenaPool *pool, SECItem *dest,
 
152
extern SECItem * SEC_ASN1EncodeItem(PLArenaPool *pool, SECItem *dest,
153
153
                                    const void *src, const SEC_ASN1Template *t);
154
154
 
155
 
extern SECItem * SEC_ASN1EncodeInteger(PRArenaPool *pool,
 
155
extern SECItem * SEC_ASN1EncodeInteger(PLArenaPool *pool,
156
156
                                       SECItem *dest, long value);
157
157
 
158
 
extern SECItem * SEC_ASN1EncodeUnsignedInteger(PRArenaPool *pool,
 
158
extern SECItem * SEC_ASN1EncodeUnsignedInteger(PLArenaPool *pool,
159
159
                                               SECItem *dest,
160
160
                                               unsigned long value);
161
161