Class CertifiedAttributesV2

java.lang.Object
org.bouncycastle.asn1.ASN1Object
eu.europa.esig.dss.cades.CertifiedAttributesV2
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class CertifiedAttributesV2 extends org.bouncycastle.asn1.ASN1Object
Basic support of ETSI EN 319 122-1 V1.1.1 chapter 5.2.6.1
        CertifiedAttributesV2 ::= SEQUENCE OF CHOICE {
                attributeCertificate [0] AttributeCertificate,
                otherAttributeCertificate [1] OtherAttributeCertificate
        }
 
Note : OtherAttributeCertificate is not supported. Quote ETSI : The definition of specific otherAttributeCertificates is outside of the scope of the present document.
  • Method Details

    • getInstance

      public static CertifiedAttributesV2 getInstance(Object o)
      Parses and returns CertifiedAttributesV2 from the given object
      Parameters:
      o - object representing CertifiedAttributesV2
      Returns:
      CertifiedAttributesV2
    • 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