Wireshark-dev: [Wireshark-dev] ASN1: How to display an octet-string as UTF16 LE

From: Isaac Boukris <iboukris@xxxxxxxxx>
Date: Wed, 16 Jun 2021 13:52:10 +0300
Hello,

I'd like to add the following asn1 struct to the credssp dissector
(following MR 3020):
TSRemoteGuardPackageCred ::= SEQUENCE {
        packageName     [0] OCTET STRING,
        credBuffer      [1] OCTET STRING
}

It gets displayed like this:
logonCred
    packageName: 4b00650072006200650072006f007300
    credBuffer:
0a000000020000007304000018050000200000000000000093040000000000006182046f…

Now, the package name is a UTF16 LE string (Kerberos), and I wonder if
there is an easy way to make it display it as a string instead of HEX
- thoughts?

Thanks!