org.bouncycastle.asn1.esf

Class SignerAttribute

Implemented Interfaces:
DEREncodable

public class SignerAttribute
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Constructor Summary

SignerAttribute(ASN1Sequence claimedAttributes)
SignerAttribute(AttributeCertificate certifiedAttributes)

Method Summary

AttributeCertificate
getCertifiedAttributes()
ASN1Sequence
getClaimedAttributes()
static SignerAttribute
getInstance(Object o)
DERObject
toASN1Object()
  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.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Constructor Details

SignerAttribute

public SignerAttribute(ASN1Sequence claimedAttributes)

SignerAttribute

public SignerAttribute(AttributeCertificate certifiedAttributes)

Method Details

getCertifiedAttributes

public AttributeCertificate getCertifiedAttributes()

getClaimedAttributes

public ASN1Sequence getClaimedAttributes()

getInstance

public static SignerAttribute getInstance(Object o)

toASN1Object

public DERObject toASN1Object()
  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.
 
Overrides:
toASN1Object in interface ASN1Encodable