Method | Description | |
---|---|---|
EncodeClassConstructType ( this data, int offset, Asn1Class asn1Class, ConstructType constructType, byte tag ) : int |
Encodes the type of the class construct.
|
|
EncodeInteger ( this data, int offset, int value ) : int |
Encodes the integer.
|
|
EncodeLength ( this data, int offset, int lengthIntegerToEncode ) : int |
Encodes the length.
|
|
EncodeLongInteger ( this data, int offset, long value ) : int |
Encodes the long integer.
|
|
EncodeNull ( this data, int offset ) : int |
Encodes the null.
|
|
EncodeOctetString ( this data, int offset, string octetString ) : int |
Encodes the octet string.
|
|
EncodeVarBinds ( this data, int offset, IReadOnlyCollection |
Encodes the variable binds.
|
|
GetIntegerLength ( this value ) : int |
Gets the length of the integer for encoding.
|
Method | Description | |
---|---|---|
EncodeIPAddress ( this bytes, int offset, System ipAddress ) : int |
Encodes the ip address.
|
|
EncodeOid ( this data, int offset, ReadOnlyCollection |
Encodes the oid.
|
|
EncodeSubID ( uint subid, byte data, int offset ) : int |
Encodes the sub identifier.
|
|
EncodeUnsignedInteger ( this data, int offset, uint value, byte tag ) : int |
Encodes the unsigned integer.
|
|
EncodeUnsignedLong ( this data, int offset, ulong value, byte tag ) : int |
Encodes the unsigned long.
|
|
GetOidLength ( ReadOnlyCollection |
Gets the length of the oid.
|
|
GetStringLength ( string octetString ) : int |
Gets the length of the string.
|
|
SizeOfSubID ( uint subid ) : int |
Sizes the of sub identifier.
|
public static EncodeClassConstructType ( this data, int offset, Asn1Class asn1Class, ConstructType constructType, byte tag ) : int | ||
data | this | The data. |
offset | int | The offset. |
asn1Class | Asn1Class | The asn1 class. |
constructType | ConstructType | Type of the construct. |
tag | byte | The tag. |
return | int |
public static EncodeInteger ( this data, int offset, int value ) : int | ||
data | this | The data. |
offset | int | The offset. |
value | int | The value. |
return | int |
public static EncodeLength ( this data, int offset, int lengthIntegerToEncode ) : int | ||
data | this | The data. |
offset | int | The offset. |
lengthIntegerToEncode | int | The length integer to encode. |
return | int |
public static EncodeLongInteger ( this data, int offset, long value ) : int | ||
data | this | The data. |
offset | int | The offset. |
value | long | The value. |
return | int |
public static EncodeNull ( this data, int offset ) : int | ||
data | this | The data. |
offset | int | The offset. |
return | int |
public static EncodeOctetString ( this data, int offset, string octetString ) : int | ||
data | this | The data. |
offset | int | The offset. |
octetString | string | The octet string. |
return | int |
public static EncodeVarBinds ( this data, int offset, IReadOnlyCollection |
||
data | this | The data. |
offset | int | The offset. |
varBinds | IReadOnlyCollection |
The variable binds. |
return | int |
public static GetIntegerLength ( this value ) : int | ||
value | this | The integer value whose length need to be found. |
return | int |