Class 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
    • Method Summary

      Modifier and Type Method Description
      static SignerAttributeV2 getInstance​(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.ASN1Primitive toASN1Primitive()
      SignerAttributeV2 ::= SEQUENCE { claimedAttributes [0] ClaimedAttributes OPTIONAL, certifiedAttributesV2 [1] CertifiedAttributesV2 OPTIONAL, signedAssertions [2] SignedAssertions OPTIONAL }
      • Methods inherited from class org.bouncycastle.asn1.ASN1Object

        equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
    • Constructor Detail

      • SignerAttributeV2

        public SignerAttributeV2​(org.bouncycastle.asn1.x509.Attribute[] claimedAttributes)
    • Method Detail

      • getValues

        public Object[] 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:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object