be.fedict.eid.applet.service.impl.tlv
Class TlvParser

java.lang.Object
  extended by be.fedict.eid.applet.service.impl.tlv.TlvParser

public class TlvParser
extends Object

Tag-Length-Value parser. The TLV-format is used in the eID card for encoding of the identity and address files.

Author:
Frank Cornelis

Method Summary
static
<T> T
parse(byte[] file, Class<T> tlvClass)
          Parses the given file using the meta-data annotations within the tlvClass parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static <T> T parse(byte[] file,
                          Class<T> tlvClass)
Parses the given file using the meta-data annotations within the tlvClass parameter.

Type Parameters:
T -
Parameters:
file -
tlvClass -
Returns:


Copyright © 2008-2014 FedICT. All Rights Reserved.