Hello,

I wonder if someone knows the right BER encoding of the following example:

Seq ::= SEQUENCE{
  a     [PRIVATE 1] IMPLICIT OCTET STRING
}

If the component is encoded with value 1,2,3 (three octets) in constructed form what would
the encoding of the inner OCTET STRING be?

Which of the following is right for Seq?
a        48,7,225,5,4,3,1,2,3        [UNIVERSAL 4] as inner tag
b        48,7,225,5,193,3,1,2,3    [PRIVATE 1] as inner tag

regards

Bertil Karlsson
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to