|
|
 |
 |
|
Asn1UTF8String Class ReferenceInheritance diagram for Asn1UTF8String:
List of all members.
Detailed Description
This is a container class for holding the components of an ASN.1 UTF-8 string value.
|
Public Member Functions |
| | Asn1UTF8String (System.String data) |
| | Asn1UTF8String () |
| virtual void | Decode (Asn1PerDecodeBuffer buffer, long lower, long upper) |
| override void | Decode (Asn1PerDecodeBuffer buffer) |
| override void | Decode (Asn1BerDecodeBuffer buffer, bool explicitTagging, int implicitLength) |
| virtual void | Encode (Asn1PerOutputStream outs, long lower, long upper) |
| override void | Encode (Asn1PerOutputStream outs) |
| override void | Encode (Asn1BerOutputStream outs, bool explicitTagging) |
| virtual void | Encode (Asn1PerEncodeBuffer buffer, long lower, long upper) |
| override void | Encode (Asn1PerEncodeBuffer buffer) |
| override int | Encode (Asn1BerEncodeBuffer buffer, bool explicitTagging) |
Static Public Attributes |
| static new readonly Asn1Tag | _TAG |
Constructor & Destructor Documentation
|
|
The default constructor creates an empty time string object. |
|
|
This constructor can be used to set the UTF8 String mValue member variable to the given string value. - Parameters:
-
|
Member Function Documentation
|
|
This method decodes a sized ASN.1 UTF-8 string value using the packed encoding rules (PER).
- Parameters:
-
| buffer | Decode message buffer object |
| lower | Lower bound (inclusive) of size constraint |
| upper | Upper bound (inclusive) of size constraint |
|
|
|
This method decodes an ASN.1 UTF-8 string value using the packed encoding rules (PER). The string is assumed to not contain a size constraint.
- Parameters:
-
| buffer | Decode message buffer object |
Reimplemented from Asn1Type. |
| override void Decode |
( |
Asn1BerDecodeBuffer |
buffer, |
|
|
bool |
explicitTagging, |
|
|
int |
implicitLength |
|
) |
[virtual] |
|
|
|
This method decodes an ASN.1 UTF-8 string value including the UNIVERSAL tag value and length if explicit tagging is specified. This string type uses variable length character encodings.
- Parameters:
-
| buffer | Decode message buffer object |
| explicitTagging | Flag indicating element is explicitly tagged |
| implicitLength | Length of contents if implicit |
Reimplemented from Asn1Type. |
|
|
This method encodes a size-constrained ASN.1 UTF-8 string value using the packed encoding rules (PER). The value to be encoded is stored in the 'mValue' public member variable within this class.
Also throws any exception thrown by the Asn1PerOutputStream. - Parameters:
-
| outs | PER Output Stream object |
| lower | Lower bound (inclusive) of size constraint |
| upper | Upper bound (inclusive) of size constraint |
- Exceptions:
-
|
|
|
This method encodes an unconstrained ASN.1 UTF-8 string value using the packed encoding rules (PER). The value to be encoded is stored in the 'mValue' public member variable within this class.
Also throws any exception thrown by the Asn1PerOutputStream. - Parameters:
-
| outs | PER Output Stream object |
- Exceptions:
-
Reimplemented from Asn1Type. |
|
|
This method encodes and writes to the stream an ASN.1 UTF8 string value including the UNIVERSAL tag value and length if explicit tagging is specified. This overloaded version uses the Basic Encoding Rules (BER).
Throws, Exception thrown by C# System.IO.Stream for I/O error - Parameters:
-
| outs | BER Output Stream object |
| explicitTagging | Flag indicating explicit tagging should be done |
- Exceptions:
-
Reimplemented from Asn1Type. |
|
|
This method encodes a size-constrained ASN.1 UTF-8 string value using the packed encoding rules (PER). The value to be encoded is stored in the 'mValue' public member variable within this class.
- Parameters:
-
| buffer | Encode message buffer object |
| lower | Lower bound (inclusive) of size constraint |
| upper | Upper bound (inclusive) of size constraint |
|
|
|
This method encodes an unconstrained ASN.1 UTF-8 string value using the packed encoding rules (PER). The value to be encoded is stored in the 'mValue' public member variable within this class.
- Parameters:
-
| buffer | Encode message buffer object |
Reimplemented from Asn1Type. |
|
|
This method encodes an ASN.1 UTF8 string type. The UNIVERSAL tag value and length is also encoded if explicit tagging is specified.
- Parameters:
-
| buffer | Encode message buffer object |
| explicitTagging | Flag indicating explicit tagging should be done |
- Returns:
- Length in octets of encoded component
Reimplemented from Asn1Type. |
Member Data Documentation
|
|
The _TAG constant describes the universal tag for this data type (UNIVERSAL 12).
Reimplemented from Asn1Type. |
|
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 |
|