]> git.saurik.com Git - apple/security.git/blob - SecurityASN1/inc/sm_vdatypes.h
Security-54.1.3.tar.gz
[apple/security.git] / SecurityASN1 / inc / sm_vdatypes.h
1 // NOTE: this is a machine generated file--editing not recommended
2 //
3 // sm_vdatypes.h - class definitions for ASN.1 module VdaEnhancedTypes
4 //
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
8
9 #ifndef _sm_vdatypes_h_
10 #define _sm_vdatypes_h_
11
12
13 //------------------------------------------------------------------------------
14 // class declarations:
15
16 class BigIntegerStr;
17
18 //------------------------------------------------------------------------------
19 // class definitions:
20
21 /* [UNIVERSAL 2] IMPLICIT OCTET STRING */
22 class BigIntegerStr: public AsnOcts
23 {
24 public:
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;
32
33 virtual AsnType *Copy() const;
34
35 AsnLen BEnc (BUF_TYPE b);
36 void BDec (BUF_TYPE b, AsnLen &bytesDecoded, ENV_TYPE env);
37 };
38
39
40 //------------------------------------------------------------------------------
41 // externs for value defs
42
43 //------------------------------------------------------------------------------
44
45 #endif /* conditional include of sm_vdatypes.h */