Метод | Описание | |
---|---|---|
BERReader ( Stream s ) : NUnit.Framework |
Constructor
|
|
ReadBitString ( byte &bits ) : bool |
Read bit string.
|
|
ReadInteger ( BigInteger &bigint ) : bool |
Read integer.
|
|
ReadObjectIdentifier ( string &oid ) : bool |
Read object-identifier.
|
|
ReadOctetString ( byte &str ) : bool |
Read octet-string.
|
|
ReadSequence ( ) : bool |
Read sequnce. (only check the value type)
|
|
ReadTag ( TagClass tagClass, bool isConstructed, int tagNumber, int &length ) : bool |
Read tag. (only check the value type)
|
Метод | Описание | |
---|---|---|
ReadBinary ( TagClass tagClass, bool isConstructed, int tagNumber, byte &data ) : bool | ||
ReadLength ( int &length ) : bool | ||
ReadTag ( int &cls, bool &constructed, int &tagnum ) : bool | ||
ReadTagInfo ( BERTagInfo &tagInfo ) : bool |
public BERReader ( Stream s ) : NUnit.Framework | ||
s | Stream | stream to input |
Результат | NUnit.Framework |
public ReadBitString ( byte &bits ) : bool | ||
bits | byte | byte array will be stored if succeeded. |
Результат | bool |
public ReadInteger ( BigInteger &bigint ) : bool | ||
bigint | BigInteger | BigInteger instance will be stored if succeeded. |
Результат | bool |
public ReadObjectIdentifier ( string &oid ) : bool | ||
oid | string | object identifier will be stored if succeeded. |
Результат | bool |
public ReadOctetString ( byte &str ) : bool | ||
str | byte | byte array will be stored if succeeded. |
Результат | bool |
public ReadTag ( TagClass tagClass, bool isConstructed, int tagNumber, int &length ) : bool | ||
tagClass | TagClass | expected tag class |
isConstructed | bool | expected value of "constructed" flag |
tagNumber | int | expected tag number |
length | int | length of the value field will be stored |
Результат | bool |