Package org.bouncycastle.asn1.esf
Class SignerAttribute
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.esf.SignerAttribute
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionSignerAttribute
(Attribute[] claimedAttributes) SignerAttribute
(AttributeCertificate certifiedAttributes) -
Method Summary
Modifier and TypeMethodDescriptionstatic SignerAttribute
Object[]
Return the sequence of choices - the array elements will either be of type Attribute[] or AttributeCertificate depending on what tag was used.SignerAttribute ::= SEQUENCE OF CHOICE { claimedAttributes [0] ClaimedAttributes, certifiedAttributes [1] CertifiedAttributes } ClaimedAttributes ::= SEQUENCE OF Attribute CertifiedAttributes ::= AttributeCertificate -- as defined in RFC 3281: see clause 4.1.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
SignerAttribute
-
SignerAttribute
-
-
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
SignerAttribute ::= SEQUENCE OF CHOICE { claimedAttributes [0] ClaimedAttributes, certifiedAttributes [1] CertifiedAttributes } ClaimedAttributes ::= SEQUENCE OF Attribute CertifiedAttributes ::= AttributeCertificate -- as defined in RFC 3281: see clause 4.1.
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-