ASN.1 Type (ASN1T_) Base Classes
[C++ Run-Time Classes]

Classes

struct  ASN1TDynBitStr
struct  ASN1TBitStr32
struct  ASN1TBMPString
struct  ASN1TUniversalString
struct  ASN1TOpenType
struct  Asn1TObject
struct  ASN1TObjId64
struct  ASN1TSeqExt
struct  ASN1TPDU
struct  ASN1TSeqOfList
struct  ASN1TPDUSeqOfList
struct  ASN1TObjId
struct  ASN1TDynOctStr

Modules

 Date and Time Runtime Classes

Typedefs

typedef Asn1TObject ASN1TObject

Functions

int operator== (const ASN1OBJID &lhs, const ASN1OBJID &rhs)
int operator== (const ASN1OBJID &lhs, const char *dotted_oid_string)
int operator!= (const ASN1TObjId &lhs, const ASN1TObjId &rhs)
int operator!= (const ASN1OBJID &lhs, const ASN1OBJID &rhs)
int operator!= (const ASN1OBJID &lhs, const char *dotted_oid_string)
int operator!= (const ASN1TObjId &lhs, const char *dotted_oid_string)
int operator< (const ASN1TObjId &lhs, const ASN1TObjId &rhs)
int operator< (const ASN1OBJID &lhs, const ASN1OBJID &rhs)
int operator< (const ASN1OBJID &lhs, const char *dotted_oid_string)
int operator< (const ASN1TObjId &lhs, const char *dotted_oid_string)
int operator<= (const ASN1TObjId &lhs, const ASN1TObjId &rhs)
int operator<= (const ASN1OBJID &lhs, const ASN1OBJID &rhs)
int operator<= (const ASN1TObjId &lhs, const char *dotted_oid_string)
int operator<= (const ASN1OBJID &lhs, const char *dotted_oid_string)
int operator> (const ASN1TObjId &lhs, const ASN1TObjId &rhs)
int operator> (const ASN1TObjId &lhs, const char *dotted_oid_string)
int operator> (const ASN1OBJID &lhs, const ASN1OBJID &rhs)
int operator> (const ASN1OBJID &lhs, const char *dotted_oid_string)
int operator>= (const ASN1TObjId &lhs, const ASN1TObjId &rhs)
int operator>= (const ASN1TObjId &lhs, const char *dotted_oid_string)
int operator>= (const ASN1OBJID &lhs, const ASN1OBJID &rhs)
int operator>= (const ASN1OBJID &lhs, const char *dotted_oid_string)
ASN1TObjId operator+ (const ASN1TObjId &lhs, const ASN1TObjId &rhs)
int operator== (const ASN1TDynOctStr &lhs, const ASN1TDynOctStr &rhs)
int operator== (const ASN1TDynOctStr &lhs, const char *string)
int operator== (const ASN1DynOctStr &lhs, const ASN1DynOctStr &rhs)
int operator== (const ASN1DynOctStr &lhs, const char *string)
int operator!= (const ASN1TDynOctStr &lhs, const ASN1TDynOctStr &rhs)
int operator!= (const ASN1TDynOctStr &lhs, const char *string)
int operator!= (const ASN1DynOctStr &lhs, const ASN1DynOctStr &rhs)
int operator!= (const ASN1DynOctStr &lhs, const char *string)
int operator< (const ASN1TDynOctStr &lhs, const ASN1TDynOctStr &rhs)
int operator< (const ASN1TDynOctStr &lhs, const char *string)
int operator< (const ASN1DynOctStr &lhs, const ASN1DynOctStr &rhs)
int operator< (const ASN1DynOctStr &lhs, const char *string)
int operator<= (const ASN1TDynOctStr &lhs, const ASN1TDynOctStr &rhs)
int operator<= (const ASN1TDynOctStr &lhs, const char *string)
int operator<= (const ASN1DynOctStr &lhs, const ASN1DynOctStr &rhs)
int operator<= (const ASN1DynOctStr &lhs, const char *string)
int operator> (const ASN1TDynOctStr &lhs, const ASN1TDynOctStr &rhs)
int operator> (const ASN1TDynOctStr &lhs, const char *string)
int operator> (const ASN1DynOctStr &lhs, const ASN1DynOctStr &rhs)
int operator> (const ASN1DynOctStr &lhs, const char *string)
int operator>= (const ASN1TDynOctStr &lhs, const ASN1TDynOctStr &rhs)
int operator>= (const ASN1TDynOctStr &lhs, const char *string)
int operator>= (const ASN1DynOctStr &lhs, const ASN1DynOctStr &rhs)
int operator>= (const ASN1DynOctStr &lhs, const char *string)

Detailed Description

These classes are used as the base for compiler-generated ASN1T_ C++ data structures. These are enhanced versions of the C structures used for mapping ASN.1 types. The main difference is that constructors and operators have been added to the derived classes.


Function Documentation

int operator!= ( const ASN1DynOctStr &  lhs,
const char *  string 
)

The inequality test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1DynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator!= ( const ASN1DynOctStr &  lhs,
const ASN1DynOctStr &  rhs 
)

The inequality test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1DynOctStr class.
rhs The right-hand ASN1DynOctStr structure.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator!= ( const ASN1TDynOctStr lhs,
const char *  string 
)

The inequality test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator!= ( const ASN1TDynOctStr lhs,
const ASN1TDynOctStr rhs 
)

The inequality test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
rhs The right-hand ASN1TDynOctStr class.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator!= ( const ASN1TObjId lhs,
const char *  dotted_oid_string 
)

Overloaded not equal operator. This comparison operator allows for comparison of not equality of C++ based object identifier structure and a dotted string.

Parameters:
lhs - C++ object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator!= ( const ASN1OBJID lhs,
const char *  dotted_oid_string 
)

Overloaded not equal operator. This comparison operator allows for comparison of not equality of C based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator!= ( const ASN1OBJID lhs,
const ASN1OBJID rhs 
)

Overloaded not equal operator. This comparison operator allows for comparison of not equality of C based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
rhs - C object identifier value
Returns:
- True if values are equal.
int operator!= ( const ASN1TObjId lhs,
const ASN1TObjId rhs 
)

Overloaded not equal operator. This comparison operator allows for comparison of not equality of C++ based object identifier structure and a dotted string.

Parameters:
lhs - C++ object identifier value.
rhs - C++ object identifier value
Returns:
- True if values are equal.
ASN1TObjId operator+ ( const ASN1TObjId lhs,
const ASN1TObjId rhs 
)

Overloaded append + operator. This operator allows two Object Identifier values to be concatanated.

Parameters:
lhs - C++ object identifier value.
rhs - C++ object identifier value.
int operator< ( const ASN1DynOctStr &  lhs,
const char *  string 
)

The inequality test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1DynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator< ( const ASN1DynOctStr &  lhs,
const ASN1DynOctStr &  rhs 
)

The inequality test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1DynOctStr class.
rhs The right-hand ASN1DynOctStr structure.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator< ( const ASN1TDynOctStr lhs,
const char *  string 
)

The less-than test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator< ( const ASN1TDynOctStr lhs,
const ASN1TDynOctStr rhs 
)

The less-than test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
rhs The right-hand ASN1TDynOctStr class.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator< ( const ASN1TObjId lhs,
const char *  dotted_oid_string 
)

Overloaded less than < operator. This comparison operator allows for comparison of less than of C++ based object identifier structure and a dotted string.

Parameters:
lhs - C++ object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator< ( const ASN1OBJID lhs,
const char *  dotted_oid_string 
)

Overloaded less than < operator. This comparison operator allows for comparison of less than of C based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator< ( const ASN1OBJID lhs,
const ASN1OBJID rhs 
)

Overloaded less than < operator. This comparison operator allows for comparison of less than of C based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
rhs - C object identifier value.
Returns:
- True if values are equal.
int operator< ( const ASN1TObjId lhs,
const ASN1TObjId rhs 
)

Overloaded less than < operator. This comparison operator allows for comparison of less than of C++ based object identifier structure and a dotted string.

Parameters:
lhs - C++ object identifier value.
rhs - C++ object identifier value.
Returns:
- True if values are equal.
int operator<= ( const ASN1DynOctStr &  lhs,
const char *  string 
)

The inequality test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1DynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator<= ( const ASN1DynOctStr &  lhs,
const ASN1DynOctStr &  rhs 
)

The inequality test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1DynOctStr class.
rhs The right-hand ASN1DynOctStr structure.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator<= ( const ASN1TDynOctStr lhs,
const char *  string 
)

The less-than test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator<= ( const ASN1TDynOctStr lhs,
const ASN1TDynOctStr rhs 
)

The less-equal test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
rhs The right-hand ASN1TDynOctStr class.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator<= ( const ASN1OBJID lhs,
const char *  dotted_oid_string 
)

Overloaded less than <= operator. This comparison operator allows for comparison of less than or equal of a C based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator<= ( const ASN1TObjId lhs,
const char *  dotted_oid_string 
)

Overloaded less than <= operator. This comparison operator allows for comparison of less than of a C++ based object identifier structure and a dotted string.

Parameters:
lhs - C++ object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator<= ( const ASN1OBJID lhs,
const ASN1OBJID rhs 
)

Overloaded less than <= operator. This comparison operator allows for comparison of less than of C based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
rhs - C object identifier value
Returns:
- True if values are equal.
int operator<= ( const ASN1TObjId lhs,
const ASN1TObjId rhs 
)

Overloaded less than <= operator. This comparison operator allows for comparison of less than of C++ based object identifier structure and a dotted string.

Parameters:
lhs - C++ object identifier value.
rhs - C++ object identifier value
Returns:
- True if values are equal.
int operator== ( const ASN1DynOctStr &  lhs,
const char *  string 
)

The equality test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1DynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator== ( const ASN1DynOctStr &  lhs,
const ASN1DynOctStr &  rhs 
)

The equality test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1DynOctStr class.
rhs The right-hand ASN1DynOctStr structure.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator== ( const ASN1TDynOctStr lhs,
const char *  string 
)

The equality test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator== ( const ASN1TDynOctStr lhs,
const ASN1TDynOctStr rhs 
)

The equality test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
rhs The right-hand ASN1TDynOctStr class.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator== ( const ASN1OBJID lhs,
const char *  dotted_oid_string 
)

This comparison operator allows for comparison of equality of a C-based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator== ( const ASN1OBJID lhs,
const ASN1OBJID rhs 
)

This comparison operator allows for comparison of equality of two C-based object identifier structures.

Parameters:
lhs - C object identifier value.
rhs - C object identifier value.
Returns:
- True if values are equal.
int operator> ( const ASN1DynOctStr &  lhs,
const char *  string 
)

The inequality test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1DynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator> ( const ASN1DynOctStr &  lhs,
const ASN1DynOctStr &  rhs 
)

The inequality test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1DynOctStr class.
rhs The right-hand ASN1DynOctStr structure.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator> ( const ASN1TDynOctStr lhs,
const char *  string 
)

The greater-than test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator> ( const ASN1TDynOctStr lhs,
const ASN1TDynOctStr rhs 
)

The greater-than test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
rhs The right-hand ASN1TDynOctStr class.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator> ( const ASN1OBJID lhs,
const char *  dotted_oid_string 
)

Overloaded greater than > operator. This comparison operator allows for comparison of greater than of a C based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator> ( const ASN1OBJID lhs,
const ASN1OBJID rhs 
)

Overloaded greater than > operator. This comparison operator allows for comparison of greater than of C based object identifier structures.

Parameters:
lhs - C object identifier value.
rhs - C object identifier value.
Returns:
- True if values are equal.
int operator> ( const ASN1TObjId lhs,
const char *  dotted_oid_string 
)

Overloaded greater than > operator. This comparison operator allows for comparison of greater than of a C++ based object identifier structure and a dotted string.

Parameters:
lhs - C++ object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator> ( const ASN1TObjId lhs,
const ASN1TObjId rhs 
)

Overloaded greater than > operator. This comparison operator allows for comparison of greater than of C++ based object identifier structures

Parameters:
lhs - C++ object identifier value.
rhs - C++ object identifier value.
Returns:
- True if values are equal.
int operator>= ( const ASN1DynOctStr &  lhs,
const char *  string 
)

The inequality test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1DynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator>= ( const ASN1DynOctStr &  lhs,
const ASN1DynOctStr &  rhs 
)

The inequality test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1DynOctStr class.
rhs The right-hand ASN1DynOctStr structure.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator>= ( const ASN1TDynOctStr lhs,
const char *  string 
)

The less-than test operator: compares a dynamic octet string against a character string.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
string A character string to be compared against.
Returns:
1 if the two strings are equal; 0 otherwise.
int operator>= ( const ASN1TDynOctStr lhs,
const ASN1TDynOctStr rhs 
)

The greater-equal test operator: compares two dynamic octet strings to each other.

Parameters:
lhs The left-hand ASN1TDynOctStr class.
rhs The right-hand ASN1TDynOctStr class.
Returns:
1 if the two octet strings are equal; 0 otherwise.
int operator>= ( const ASN1OBJID lhs,
const char *  dotted_oid_string 
)

Overloaded greater than equal >= operator. This comparison operator allows for comparison of greater than or equal of a C based object identifier structure and a dotted string.

Parameters:
lhs - C object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator>= ( const ASN1OBJID lhs,
const ASN1OBJID rhs 
)

Overloaded greater than equal >= operator. This comparison operator allows for comparison of greater than or equal of C based object identifier structures.

Parameters:
lhs - C object identifier value.
rhs - C object identifier value.
Returns:
- True if values are equal.
int operator>= ( const ASN1TObjId lhs,
const char *  dotted_oid_string 
)

Overloaded greater than equal >= operator. This comparison operator allows for comparison of greater than or equal of a C++ based object identifier structure and a dotted string.

Parameters:
lhs - C++ object identifier value.
dotted_oid_string - String containing OID value to compare.
Returns:
- True if values are equal.
int operator>= ( const ASN1TObjId lhs,
const ASN1TObjId rhs 
)

Overloaded greater than equal >= operator. This comparison operator allows for comparison of greater than or equal of C++ based object identifier structures.

Parameters:
lhs - C++ object identifier value.
rhs - C++ object identifier value.
Returns:
- True if values are equal.