]>
git.saurik.com Git - apple/security.git/blob - SecurityASN1/inc/sm_vdatypes.h
1 // NOTE: this is a machine generated file--editing not recommended
3 // sm_vdatypes.h - class definitions for ASN.1 module VdaEnhancedTypes
5 // This file was generated by snacc on Mon Apr 22 22:34:19 2002
6 // UBC snacc by Mike Sample
7 // A couple of enhancements made by IBM European Networking Center
9 #ifndef _sm_vdatypes_h_
10 #define _sm_vdatypes_h_
13 //------------------------------------------------------------------------------
14 // class declarations:
18 //------------------------------------------------------------------------------
21 /* [UNIVERSAL 2] IMPLICIT OCTET STRING */
22 class BigIntegerStr
: public AsnOcts
25 BigIntegerStr(): AsnOcts() {}
26 BigIntegerStr (const char *str
): AsnOcts (str
) {}
27 BigIntegerStr (const char *str
, const size_t len
): AsnOcts (str
, len
) {}
28 BigIntegerStr (const AsnOcts
&o
): AsnOcts (o
) {}
29 BigIntegerStr
&operator = (const BigIntegerStr
&o
) { ReSet (o
); return *this; }
30 BigIntegerStr
&operator = (const char *str
) { ReSet (str
); return *this; }
31 virtual AsnType
*Clone() const;
33 virtual AsnType
*Copy() const;
35 AsnLen
BEnc (BUF_TYPE b
);
36 void BDec (BUF_TYPE b
, AsnLen
&bytesDecoded
, ENV_TYPE env
);
40 //------------------------------------------------------------------------------
41 // externs for value defs
43 //------------------------------------------------------------------------------
45 #endif /* conditional include of sm_vdatypes.h */