directory-kerby mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject ASN1 parsing + dumping
Date Thu, 07 Jan 2016 10:21:59 GMT
Hi all,

I notice a lot of text output in the Kerby tests along the lines of:

Dumping data:

60818561101A044A6F686E1A01501A05536D697468A00A1A084469726563746F72420133A10A43083139373130393137A212
61101A044D6172791A01541A05536D697468A342311F61111A0552616C70681A01541A05536D697468A00A43083139353731
313131311F61111A05537573616E1A01421A054A6F6E6573A00A43083139353930373137
application [0] [tag=0x60, off=0, len=3+133]

etc.

Both the Asn1 + Asn1Dumper classes are outputting data using
System.out.println(). I don't think this is a good idea, that classes in
src/main/java are outputting data to system.out. Is there a reason for
this? Surely if anything, the Asn1Dumper could output to a log instead.

Colm.


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message