Package eu.europa.esig.dss.cades
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 Summary
Modifier and Type Method Description static CertifiedAttributesV2
getInstance(Object o)
Parses and returnsCertifiedAttributesV2
from the given objectorg.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Method Details
-
getInstance
Parses and returnsCertifiedAttributesV2
from the given object- Parameters:
o
- object representingCertifiedAttributesV2
- Returns:
CertifiedAttributesV2
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-