Class LDSSecurityObject
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.asn1.icao.ICAOObjectIdentifiers
,io.anyline.nfc.bouncycastle.util.Encodable
public class LDSSecurityObject extends ASN1Object implements ICAOObjectIdentifiers
The LDSSecurityObject object (V1.8).
LDSSecurityObject ::= SEQUENCE { version LDSSecurityObjectVersion, hashAlgorithm DigestAlgorithmIdentifier, dataGroupHashValues SEQUENCE SIZE (2..ub-DataGroups) OF DataHashGroup, ldsVersionInfo LDSVersionInfo OPTIONAL -- if present, version MUST be v1 } DigestAlgorithmIdentifier ::= AlgorithmIdentifier, LDSSecurityObjectVersion :: INTEGER {V0(0)}
-
-
Field Summary
Fields Modifier and Type Field Description public final static int
ub_DataGroups
public AlgorithmIdentifier
digestAlgorithmIdentifier
public Array<DataGroupHash>
datagroupHash
public LDSVersionInfo
versionInfo
public final static ASN1ObjectIdentifier
id_icao
public final static ASN1ObjectIdentifier
id_icao_mrtd
public final static ASN1ObjectIdentifier
id_icao_mrtd_security
public final static ASN1ObjectIdentifier
id_icao_ldsSecurityObject
public final static ASN1ObjectIdentifier
id_icao_cscaMasterList
public final static ASN1ObjectIdentifier
id_icao_cscaMasterListSigningKey
public final static ASN1ObjectIdentifier
id_icao_documentTypeList
public final static ASN1ObjectIdentifier
id_icao_aaProtocolObject
public final static ASN1ObjectIdentifier
id_icao_extensions
public final static ASN1ObjectIdentifier
id_icao_extensions_namechangekeyrollover
-
Constructor Summary
Constructors Constructor Description LDSSecurityObject(AlgorithmIdentifier digestAlgorithmIdentifier, Array<DataGroupHash> datagroupHash)
LDSSecurityObject(AlgorithmIdentifier digestAlgorithmIdentifier, Array<DataGroupHash> datagroupHash, LDSVersionInfo versionInfo)
-
Method Summary
Modifier and Type Method Description AlgorithmIdentifier
getDigestAlgorithmIdentifier()
Array<DataGroupHash>
getDatagroupHash()
LDSVersionInfo
getVersionInfo()
static LDSSecurityObject
getInstance(Object obj)
int
getVersion()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. -
-
Constructor Detail
-
LDSSecurityObject
LDSSecurityObject(AlgorithmIdentifier digestAlgorithmIdentifier, Array<DataGroupHash> datagroupHash)
-
LDSSecurityObject
LDSSecurityObject(AlgorithmIdentifier digestAlgorithmIdentifier, Array<DataGroupHash> datagroupHash, LDSVersionInfo versionInfo)
-
-
Method Detail
-
getDigestAlgorithmIdentifier
AlgorithmIdentifier getDigestAlgorithmIdentifier()
-
getDatagroupHash
Array<DataGroupHash> getDatagroupHash()
-
getVersionInfo
LDSVersionInfo getVersionInfo()
-
getInstance
static LDSSecurityObject getInstance(Object obj)
-
getVersion
int getVersion()
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-