Package de.tsenger.vdstools
Class FeatureConverter
- java.lang.Object
-
- de.tsenger.vdstools.FeatureConverter
-
public class FeatureConverter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SEAL_CODINGS
-
Constructor Summary
Constructors Constructor Description FeatureConverter()FeatureConverter(String jsonFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TdecodeFeature(String vdsType, DerTlv derTlv)<T> DerTlvencodeFeature(String vdsType, String feature, T inputValue)Set<String>getAvailableVdsFeatures()Set<String>getAvailableVdsTypes()intgetDocumentRef(String vdsType)StringgetFeature(String vdsType, DerTlv derTlv)bytegetTag(String vdsType, String feature)StringgetVdsType(Integer docRef)
-
-
-
Field Detail
-
DEFAULT_SEAL_CODINGS
public static String DEFAULT_SEAL_CODINGS
-
-
Constructor Detail
-
FeatureConverter
public FeatureConverter() throws FileNotFoundException- Throws:
FileNotFoundException
-
FeatureConverter
public FeatureConverter(String jsonFile) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-
Method Detail
-
getDocumentRef
public int getDocumentRef(String vdsType)
-
encodeFeature
public <T> DerTlv encodeFeature(String vdsType, String feature, T inputValue) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-