Package org.bouncycastle.asn1.icao
Class LDSSecurityObject
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.icao.LDSSecurityObject
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,ICAOObjectIdentifiers
,org.bouncycastle.util.Encodable
public class LDSSecurityObject
extends org.bouncycastle.asn1.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 inherited from interface org.bouncycastle.asn1.icao.ICAOObjectIdentifiers
id_icao, id_icao_aaProtocolObject, id_icao_cscaMasterList, id_icao_cscaMasterListSigningKey, id_icao_documentTypeList, id_icao_extensions, id_icao_extensions_namechangekeyrollover, id_icao_ldsSecurityObject, id_icao_mrtd, id_icao_mrtd_security
-
Constructor Summary
ConstructorDescriptionLDSSecurityObject
(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmIdentifier, DataGroupHash[] datagroupHash) LDSSecurityObject
(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmIdentifier, DataGroupHash[] datagroupHash, LDSVersionInfo versionInfo) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.AlgorithmIdentifier
static LDSSecurityObject
getInstance
(Object obj) int
org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
ub_DataGroups
public static final int ub_DataGroups- See Also:
-
-
Constructor Details
-
LDSSecurityObject
public LDSSecurityObject(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmIdentifier, DataGroupHash[] datagroupHash) -
LDSSecurityObject
public LDSSecurityObject(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmIdentifier, DataGroupHash[] datagroupHash, LDSVersionInfo versionInfo)
-
-
Method Details
-
getInstance
-
getVersion
public int getVersion() -
getDigestAlgorithmIdentifier
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithmIdentifier() -
getDatagroupHash
-
getVersionInfo
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-