org.glite.voms.ac

Class GenericAttribute

Implemented Interfaces:
DEREncodable

public class GenericAttribute
extends java.lang.Object
implements DEREncodable

This class represents the single Generic Attribute.

Constructor Summary

GenericAttribute()
Empty contructor
GenericAttribute(ASN1Sequence seq)
Creates a GenericAttributes object from a sequence.

Method Summary

DERObject
getDERObject()
Makes a DERObject representation.
static GenericAttribute
getInstance(ASN1Sequence seq)
Static variant of the constructor.
String
getName()
Gets the name of the attribute
String
getQualifier()
Gets the qualifier of the attribute
String
getValue()
Gets the value of the attribute

Constructor Details

GenericAttribute

public GenericAttribute()
Empty contructor

GenericAttribute

public GenericAttribute(ASN1Sequence seq)
Creates a GenericAttributes object from a sequence.
Parameters:
seq - the Sequence

Method Details

getDERObject

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

getInstance

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

getName

public String getName()
Gets the name of the attribute
Returns:
the name

getQualifier

public String getQualifier()
Gets the qualifier of the attribute
Returns:
the qualifier

getValue

public String getValue()
Gets the value of the attribute
Returns:
the value