|
|
 |
 |
|
Asn1VarWidthCharString Class ReferenceInheritance diagram for Asn1VarWidthCharString:
List of all members.
Detailed Description
This is an abstract base class for holding the ASN.1 variable width character string types (GraphicString, GeneralString, TeletexString, T61String, VideotexString, ObjectDescriptor).
Constructor & Destructor Documentation
|
|
The default constructor creates an empty string object.
- Parameters:
-
| typeCode | Universal ID code for ASN.1 character string |
|
|
|
This version of the constructor can be used to set the string mValue member variable to the given string.
- Parameters:
-
| data | Character string |
| typeCode | Universal ID code for ASN.1 character string |
|
Member Function Documentation
|
|
This overloaded version of the Decode method decodes an ASN.1 character string value in accordance with the packed encoding rules (PER). This version of the method assumes a size constraint is present. A permitted alphabet may be passed, but it will be ignored.
The decoded result is stored in the public mValue member variable in the Asn1CharString base class.
- Parameters:
-
| buffer | Decode message buffer object |
| lower | Effective size constraint lower bound |
| upper | Effective size constraint upper bound |
|
|
|
This method decodes an ASN.1 character string value in accordance with the packed encoding rules (PER). This version of the method assumes no permitted alphabet or size constraints. Decoded characters are assigned as-is to the output string. The decoded result is stored in the public mValue member variable in the Asn1CharString base class.
- Parameters:
-
| buffer | Decode message buffer object |
Reimplemented from Asn1Type. |
|
|
This overloaded version of the encode method encodes an ASN.1 character string value directly into the stream, in accordance with the packed encoding rules (PER). This version of the method assumes a size constraint is present. A permitted alphabet may be passed, but it will be ignored.
The value to encode is stored in the public mValue member variable in the Asn1CharString base class.
Also throws any exception thrown by the Asn1PerOutputStream. - Parameters:
-
| outs | PER Encode message stream object |
| lower | Effective size constraint lower bound |
| upper | Effective size constraint upper bound |
- Exceptions:
-
|
|
|
This method encodes an ASN.1 character string value in accordance with the packed encoding rules (PER) directly into the stream. This version of the method assumes no permitted alphabet or size constraints.
The value to encode is stored in the public mValue member variable in the Asn1CharString base class.
Also throws any exception thrown by the Asn1PerOutputStream. - Parameters:
-
| outs | PER Encode message stream object |
- Exceptions:
-
Reimplemented from Asn1Type. |
|
|
This overloaded version of the encode method encodes an ASN.1 character string value in accordance with the packed encoding rules (PER). This version of the method assumes a size constraint is present. A permitted alphabet may be passed, but it will be ignored.
The value to encode is stored in the public mValue member variable in the Asn1CharString base class.
- Parameters:
-
| buffer | Encode message buffer object |
| lower | Effective size constraint lower bound |
| upper | Effective size constraint upper bound |
|
|
|
This method encodes an ASN.1 character string value in accordance with the packed encoding rules (PER). This version of the method assumes no permitted alphabet or size constraints.
The value to encode is stored in the public mValue member variable in the Asn1CharString base class.
- Parameters:
-
| buffer | Encode message buffer object |
Reimplemented from Asn1Type. |
Member Data Documentation
|
|
The BITSPERCHAR_A constant specifies the number of bits per character for PER (aligned). |
|
|
The BITSPERCHAR_U constant specifies the number of bits per character for PER (unaligned). |
|
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.
|
This file was last modified on
18 Nov 2005. ASN1C C# Runtime Library, 5.8 |
|