public class

VOMSAttribute

extends Object
java.lang.Object
   ↳ org.bouncycastle.voms.VOMSAttribute

Class Overview

Representation of the authorization information (VO, server address and list of Fully Qualified Attribute Names, or FQANs) contained in a VOMS attribute certificate.

Summary

Nested Classes
class VOMSAttribute.FQAN Inner class providing a container of the group,role,capability information triplet in an FQAN. 
Constants
String VOMS_ATTR_OID The ASN.1 object identifier for VOMS attributes
Public Constructors
VOMSAttribute(X509AttributeCertificate ac)
Parses the contents of an attribute certificate.
Public Methods
X509AttributeCertificate getAC()
List getFullyQualifiedAttributes()
String getHostPort()
Returns the address of the issuing VOMS server, on the form <host>:<port>
List getListOfFQAN()
String getVO()
Returns the VO name
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String VOMS_ATTR_OID

The ASN.1 object identifier for VOMS attributes

Constant Value: "1.3.6.1.4.1.8005.100.100.4"

Public Constructors

public VOMSAttribute (X509AttributeCertificate ac)

Parses the contents of an attribute certificate.
NOTE: Cryptographic signatures, time stamps etc. will not be checked.

Parameters
ac the attribute certificate to parse for VOMS attributes

Public Methods

public X509AttributeCertificate getAC ()

Returns
  • The AttributeCertificate containing the VOMS information

public List getFullyQualifiedAttributes ()

Returns
  • List of String of the VOMS fully qualified attributes names (FQANs):
    /vo[/group[/group2...]][/Role=[role]][/Capability=capability]

public String getHostPort ()

Returns the address of the issuing VOMS server, on the form <host>:<port>

Returns
  • String

public List getListOfFQAN ()

Returns
  • List of FQAN of the VOMS fully qualified attributes names (FQANs)
See Also
  • #FQAN

public String getVO ()

Returns the VO name

public String toString ()