Creates a DERElement from the supplied bytes, inferring that the first byte is the type tag. The supplied ubyte[] array is "chomped" by reference, so the original array will grow shorter as DERElements are generated.
All of the same exceptions as fromBytes()
// Decoding looks like: DERElement[] result; while (bytes.length > 0) result ~= new DERElement(bytes); // Encoding looks like: ubyte[] result; foreach (dv; dervalues) { result ~= cast(ubyte[]) dv; }
See Implementation
Creates a DERElement from the supplied bytes, inferring that the first byte is the type tag. The supplied ubyte[] array is "chomped" by reference, so the original array will grow shorter as DERElements are generated.