]> git.saurik.com Git - apple/security.git/blame - SecurityASN1/inc/sm_vdatypes.h
Security-28.tar.gz
[apple/security.git] / SecurityASN1 / inc / sm_vdatypes.h
CommitLineData
bac41a7b
A
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 Wed Jun 27 16:40:55 2001
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
16class BigIntegerStr;
17
18//------------------------------------------------------------------------------
19// class definitions:
20
21/* [UNIVERSAL 2] IMPLICIT OCTET STRING */
22class BigIntegerStr: public AsnOcts
23{
24public:
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 int BEncPdu (BUF_TYPE b, AsnLen &bytesEncoded);
38 int BDecPdu (BUF_TYPE b, AsnLen &bytesDecoded);
39
40};
41
42
43//------------------------------------------------------------------------------
44// externs for value defs
45
46//------------------------------------------------------------------------------
47
48#endif /* conditional include of sm_vdatypes.h */