Top Fields Constructors Methods
org.bouncycastle.asn1.esf

public Class SignerAttribute

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x509.Attribute, .AttributeCertificate

Field Summary

Modifier and TypeField and Description
private Object[]

Constructor Summary

AccessConstructor and Description
private
public
SignerAttribute(Attribute[] claimedAttributes)

public

Method Summary

Modifier and TypeMethod and Description
public static SignerAttribute
public Object[]

Returns:

array of choices.
getValues
()

Return the sequence of choices - the array elements will either be of type Attribute[] or AttributeCertificate depending on what tag was used.

public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

valuesback to summary
private Object[] values

Constructor Detail

SignerAttributeback to summary
private SignerAttribute(ASN1Sequence seq)
SignerAttributeback to summary
public SignerAttribute(Attribute[] claimedAttributes)
SignerAttributeback to summary
public SignerAttribute(AttributeCertificate certifiedAttributes)

Method Detail

getInstanceback to summary
public static SignerAttribute getInstance(Object o)
getValuesback to summary
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:Object[]

array of choices.

toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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.
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.