org.glite.voms.ac
Class FullAttributes

java.lang.Object
  extended by org.glite.voms.ac.FullAttributes
All Implemented Interfaces:
org.bouncycastle.asn1.DEREncodable

public class FullAttributes
extends java.lang.Object
implements org.bouncycastle.asn1.DEREncodable

This class represents the GenericAttributes extension which may be found in the AC.

Author:
Vincenzo Ciaschini

Constructor Summary
FullAttributes()
          Empty contructor
FullAttributes(org.bouncycastle.asn1.ASN1Sequence seq)
          Creates a FullAttributes object from a sequence.
 
Method Summary
 java.util.List getAttributeHolders()
          Returns a list of the AttributeHolders.
 org.bouncycastle.asn1.DERObject getDERObject()
          Makes a DERObject representation.
static FullAttributes getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
          Static variant of the constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullAttributes

public FullAttributes()
Empty contructor


FullAttributes

public FullAttributes(org.bouncycastle.asn1.ASN1Sequence seq)
Creates a FullAttributes object from a sequence.

Parameters:
seq - the Sequence
Throws:
java.lang.IllegalArgumentException - if there are parsing problems.
Method Detail

getInstance

public static FullAttributes getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
Static variant of the constructor.

See Also:
FullAttributes(ASN1Sequence seq)

getAttributeHolders

public java.util.List getAttributeHolders()
Returns a list of the AttributeHolders.

Returns:
the list or null if none was there.

getDERObject

public org.bouncycastle.asn1.DERObject getDERObject()
Makes a DERObject representation.

Specified by:
getDERObject in interface org.bouncycastle.asn1.DEREncodable
Returns:
the DERObject