Asn1UtilsEncode(Byte, Byte) Method
Wraps encoded data to an ASN.1 type/structure.
Namespace: SysadminsLV.Asn1ParserAssembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
public static byte[] Encode(
byte[] rawData,
byte enclosingTag
)
Public Shared Function Encode (
rawData As Byte(),
enclosingTag As Byte
) As Byte()
public:
static array<unsigned char>^ Encode(
array<unsigned char>^ rawData,
unsigned char enclosingTag
)
static member Encode :
rawData : byte[] *
enclosingTag : byte -> byte[]
- rawData Byte
- A byte array to wrap.
- enclosingTag Byte
- An enumeration of Asn1Type type represented as byte.
ByteWrapped encoded byte array.
This method do not check whether the data in rawData is valid data for specified enclosing type.