On Tue, 29 Sep 2020 14:27:29 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> Are there any other comments or suggestions?
>
> Can you post an example output of that cert? What about indefinite length? 
> (Ex: 0x24, (byte) 0x80, 4, 2, 'a', 'b', 4,
> 2, 'c', 'd', 0, 0)

For your example the output is:
0000: 24 80                                           ; UNIVERSAL CONSTRUCTED 
OCTET STRING [INDEFINITE]
0002:       04 02 61 62                               ;   OCTET STRING [2] 'ab'
0006:                   04 02 63 64                   ; OCTET STRING [2] 'cd'
000a:                               00 00             ; END-OF-CONTENT ```

It seems to have lost an indent, I'll take a look at that.

-------------

PR: https://git.openjdk.java.net/jdk/pull/268

Reply via email to