mder encoder for octet string