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 Details

  • 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

      public static LDSSecurityObject getInstance(Object obj)
    • getVersion

      public int getVersion()
    • getDigestAlgorithmIdentifier

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithmIdentifier()
    • getDatagroupHash

      public DataGroupHash[] getDatagroupHash()
    • getVersionInfo

      public LDSVersionInfo getVersionInfo()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object