2using System.Collections.Generic;
12 private readonly Stream input;
73 return BER.DecodeEnum<T>(this.input);
Basic Encoding Rules (BER), as defined in X.690
string DecodeUniversalString(Stream Input)
Decodes a UniversalString value.
Enum DecodeEnum< T >(Stream Input)
Decodes an enumerated value.
long DecodeLength(Stream Input)
Decodes the length of a contents section.
byte[] DecodeBitString(Stream Input, out int NrUnusedBits)
Decodes a BIT STRING value.
string DecodeBmpString(Stream Input)
Decodes a BmpString value.
DateTime DecodeDateTime(Stream Input)
Decodes a DATE-TIME value.
string DecodeUtf8String(Stream Input)
Decodes a Utf8String value.
TimeSpan DecodeTime(Stream Input)
Decodes a TIME value.
int[] DecodeRelativeObjectId(Stream Input)
Decodes a RELATIVE-OID value.
Asn1DecoderBer(Stream Input)
Basic Encoding Rules (BER), as defined in X.690
bool DecodeBOOLEAN(Stream Input)
Decodes a BOOLEAN value.
DateTime DecodeDate(Stream Input)
Decodes a DATE value.
double DecodeREAL(Stream Input)
Decodes a REAL value.
string DecodeVisibleString(Stream Input)
Decodes a VisibleString value.
long DecodeIdentifier(out bool Constructed, out TagClass Class)
Decodes an identifier from the stream.
void DecodeNull(Stream Input)
Decodes a NULL value.
int[] DecodeObjectId(Stream Input)
Decodes an OBJECT IDENTIFIER value.
TimeSpan DecodeTimeOfDay(Stream Input)
Decodes a TIME-OF-DAY value.
string DecodeIa5String(Stream Input)
Decodes a IA5String value.
byte[] DecodeOctetString(Stream Input)
Decodes a OCTET STRING value.
Duration DecodeDuration(Stream Input)
Decodes a DURATION value.
string DecodePrintableString(Stream Input)
Decodes a PrintableString value.
long DecodeINTEGER(Stream Input)
Decodes an INTEGER value.
string DecodeNumericString(Stream Input)
Decodes a NumericString value.
Implements static methods for Basic Encoding Rules (BER), as defined in X.690
static long DecodeIdentifier(Stream Input, out bool Constructed, out TagClass Class)
Decodes an identifier from the stream.
static TimeSpan DecodeTime(Stream Input)
Decodes a TIME value.
static TimeSpan DecodeTimeOfDay(Stream Input)
Decodes a TIME-OF-DAY value.
static void DecodeNull(Stream Input)
Decodes a NULL value.
static string DecodeIa5String(Stream Input)
Decodes a IA5String value.
static string DecodeVisibleString(Stream Input)
Decodes a VisibleString value.
static DateTime DecodeDateTime(Stream Input)
Decodes a DATE-TIME value.
static long DecodeINTEGER(Stream Input)
Decodes an INTEGER value.
static string DecodePrintableString(Stream Input)
Decodes a PrintableString value.
static long DecodeLength(Stream Input)
Decodes the length of a contents section.
static DateTime DecodeDate(Stream Input)
Decodes a DATE value.
static string DecodeBmpString(Stream Input)
Decodes a BmpString value.
static Duration DecodeDuration(Stream Input)
Decodes a DURATION value.
static byte[] DecodeBitString(Stream Input, out int NrUnusedBits)
Decodes a BIT STRING value.
static int[] DecodeRelativeObjectId(Stream Input)
Decodes a RELATIVE-OID value.
static double DecodeREAL(Stream Input)
Decodes a REAL value.
static string DecodeNumericString(Stream Input)
Decodes a NumericString value.
static bool DecodeBOOLEAN(Stream Input)
Decodes a BOOLEAN value.
static string DecodeUniversalString(Stream Input)
Decodes a UniversalString value.
static byte[] DecodeOctetString(Stream Input)
Decodes a OCTET STRING value.
static string DecodeUtf8String(Stream Input)
Decodes a Utf8String value.
static int[] DecodeObjectId(Stream Input)
Decodes an OBJECT IDENTIFIER value.
Interface for ASN.1 decoders
Represents a duration value, as defined by the xsd:duration data type: http://www....