Managed library for writing ASN.1 objects.
Asn1Net.Writer can easily encode any ASN.1 object:
public void WriteUtf8String()
{
// prepare a stream to write objects to
using (var ms = new MemoryStream())
{
// prepare what to write
var asn1Obj = new Asn1Utf8String("Hello World of ASN.1");
new DerWriter(ms).Write(asn1Obj);
// that's it. Now use the stream as you like.
}
}
More examples can be found in the Tests project.
Asn1Net.Writer is developed with help of the following tools, libraries and applications: