Package de.tsenger.vdstools.vds
Class VdsHeader
java.lang.Object
de.tsenger.vdstools.vds.VdsHeader
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic VdsHeaderfromByteBuffer(ByteBuffer rawdata) bytebyteintbyte[]byteReturns a string that identifies the signer certificate.
-
Field Details
-
DC
public static final byte DC- See Also:
-
-
Method Details
-
getIssuingCountry
-
getSignerIdentifier
-
getCertificateReference
-
getSignerCertRef
Returns a string that identifies the signer certificate. The SignerCertRef string is build from Signer Identifier (country code || signer id) and Certificate Reference. The Signer Identifier maps to the signer certificates subject (C || CN) The Certificate Reference will be interpreted as a hex string integer that represents the serial number of the signer certificate. Leading zeros in Certificate Reference will be cut off. e.g. Signer Identifier 'DETS' and CertificateReference '00027' will result in 'DETS27'- Returns:
- Formated SignerCertRef all UPPERCASE
-
getIssuingDate
-
getSigDate
-
getDocFeatureRef
public byte getDocFeatureRef() -
getDocTypeCat
public byte getDocTypeCat() -
getRawVersion
public byte getRawVersion() -
getDocumentRef
public int getDocumentRef() -
getVdsType
-
getEncoded
public byte[] getEncoded() -
fromByteBuffer
-