asn1bean icon indicating copy to clipboard operation
asn1bean copied to clipboard

Empty octet String

Open ilikeck opened this issue 3 years ago • 1 comments

I encode the data ( esim profile )" { createFCP : { fileDescriptor '4121'H, fileID '6fc4'H, lcsi '05'H, securityAttributesReferenced '03'H, efFileSize '64'H, shortEFID ''H } " but shortEFID ''H I don't know how to do using jasn1 because shortEFID ''H has length zero without value.

ilikeck avatar May 21 '22 05:05 ilikeck

You can simply pass an empty byte array to shortEFID. Empty octet strings are no problem.

sfeuerhahn avatar May 21 '22 09:05 sfeuerhahn