org.glite.voms.ac

Class AttributeHolder

Implemented Interfaces:
DEREncodable

public class AttributeHolder
extends java.lang.Object
implements DEREncodable

This calss represents an Attribute Holder object.

Constructor Summary

AttributeHolder()
Empty constructor.
AttributeHolder(ASN1Sequence seq)
Creates an AttributeHolder object from a Sequence.

Method Summary

List
getAttributes()
Gets a list of Generic Attributes.
DERObject
getDERObject()
Makes a DERObject representation.
String
getGrantor()
Gets the Grantor of these attributes.
static AttributeHolder
getInstance(ASN1Sequence seq)
Static variant of the constructor.

Constructor Details

AttributeHolder

public AttributeHolder()
Empty constructor.

AttributeHolder

public AttributeHolder(ASN1Sequence seq)
Creates an AttributeHolder object from a Sequence.
Parameters:
seq - the Sequence

Method Details

getAttributes

public List getAttributes()
Gets a list of Generic Attributes.
Returns:
the list or null if none was loaded.

getDERObject

public DERObject getDERObject()
Makes a DERObject representation.
Returns:
the DERObject

getGrantor

public String getGrantor()
Gets the Grantor of these attributes.
Returns:
the grantor.

getInstance

public static AttributeHolder getInstance(ASN1Sequence seq)
Static variant of the constructor.
See Also:
AttributeHolder(ASN1Sequence seq)