|
|
 |
 |
|
Asn1Null Class ReferenceInheritance diagram for Asn1Null:
List of all members.
Detailed Description
This class represents the ASN.1 NULL built-in type.
Member Function Documentation
|
|
This method decodes an ASN.1 null value in accordance with the Packed Encoding Rules (PER).
- 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 null value including the UNIVERSAL tag value and length if explicit tagging is specified. This overloaded version uses the Basic Encoding Rules (BER).
- Parameters:
-
| buffer | Decode message buffer object |
| explicitTagging | Flag indicating element is explicitly tagged |
| implicitLength | Length of contents if implicit |
Reimplemented from Asn1Type. |
| virtual void DecodeXER |
( |
System.String |
buffer, |
|
|
System.String |
attrs |
|
) |
[virtual] |
|
|
|
This method decodes an ASN.1 null value using the XML encoding rules (XER).
- Parameters:
-
| buffer | String containing data to be decoded |
| attrs | Attributes string from element tag |
|
| virtual void DecodeXML |
( |
System.String |
buffer, |
|
|
System.String |
attrs |
|
) |
[virtual] |
|
|
|
This method decodes an ASN.1 null value using the XML schema encoding rules(asn2xsd).
- Parameters:
-
| buffer | String containing data to be decoded |
| attrs | Attributes string from element tag |
|
|
|
This method encodes an ASN.1 null value in accordance with the Packed Encoding Rules (PER).
Also throws any exception thrown by the underlying Asn1PerOutputStream.
- Parameters:
-
| outs | PER Output Stream object |
- Exceptions:
-
Reimplemented from Asn1Type. |
|
|
This method encodes and writes to the stream an ASN.1 NULL 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. |
| override void Encode |
( |
Asn1XerEncoder |
buffer, |
|
|
System.String |
elemName, |
|
|
System.String |
attribute |
|
) |
[virtual] |
|
|
|
This method encodes an ASN.1 null value using the XML Encoding as specified in the XML schema standard(asn2xsd).
- Parameters:
-
| buffer | Encode message buffer object |
| elemName | Element name |
| attribute | Element attribute value |
Reimplemented from Asn1Type. |
| override void Encode |
( |
Asn1XerEncoder |
buffer, |
|
|
System.String |
elemName |
|
) |
[virtual] |
|
|
|
This method encodes an ASN.1 null value using the XML encoding rules (XER).
- Parameters:
-
| buffer | Encode message buffer object |
| elemName | Element name |
Reimplemented from Asn1Type. |
|
|
This method encodes an ASN.1 null value in accordance with the Packed Encoding Rules (PER).
- Parameters:
-
| buffer | Encode message buffer object |
Reimplemented from Asn1Type. |
|
|
This method encodes an ASN.1 null value including the UNIVERSAL tag value and length if explicit tagging is specified. This overloaded version used the Basic Encoding Rules (BER).
- Parameters:
-
| buffer | Encode message buffer object |
| explicitTagging | Flag indicating explicit tagging should be done |
- Returns:
- Length (in octets) of encoded component
Reimplemented from Asn1Type. |
| override System.String ToString |
( |
|
) |
|
|
|
|
This method will return a string representation of the null value. The format is the ASN.1 value format for this type..
- Returns:
- Stringified representation of the value
|
Member Data Documentation
|
|
The _TAG constant describes the universal tag for this data type (UNIVERSAL 5).
Reimplemented from Asn1Type. |
|
|
The NULL_VALUE constant represents a NULL value. |
|
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 |
|