Package eu.europa.esig.dss.cades
Class SignerAttributeV2
java.lang.Object
org.bouncycastle.asn1.ASN1Object
eu.europa.esig.dss.cades.SignerAttributeV2
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class SignerAttributeV2
extends org.bouncycastle.asn1.ASN1Object
Basic support of ETSI EN 319 122-1 V1.1.1 chapter 5.2.6.1
Based on org.bouncycastle.asn1.esf.SignerAttribute
Note : signedAssertions are not supported
Quote ETSI : The definition of specific signedAssertions is outside of the scope of the present document
-
Constructor Summary
Constructors Constructor Description SignerAttributeV2(CertifiedAttributesV2 certifiedAttributes)SignerAttributeV2(SignedAssertions signedAssertions)SignerAttributeV2(org.bouncycastle.asn1.x509.Attribute[] claimedAttributes) -
Method Summary
Modifier and Type Method Description static SignerAttributeV2getInstance(Object o)Object[]getValues()Return the sequence of choices - the array elements will either be of type Attribute[] or AttributeCertificate depending on what tag was used.org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()SignerAttributeV2 ::= SEQUENCE { claimedAttributes [0] ClaimedAttributes OPTIONAL, certifiedAttributesV2 [1] CertifiedAttributesV2 OPTIONAL, signedAssertions [2] SignedAssertions OPTIONAL }
-
Constructor Details
-
SignerAttributeV2
public SignerAttributeV2(org.bouncycastle.asn1.x509.Attribute[] claimedAttributes) -
SignerAttributeV2
-
SignerAttributeV2
-
-
Method Details
-
getInstance
-
getValues
Return the sequence of choices - the array elements will either be of type Attribute[] or AttributeCertificate depending on what tag was used.- Returns:
- array of choices.
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()SignerAttributeV2 ::= SEQUENCE { claimedAttributes [0] ClaimedAttributes OPTIONAL, certifiedAttributesV2 [1] CertifiedAttributesV2 OPTIONAL, signedAssertions [2] SignedAssertions OPTIONAL }- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-