Package org.bouncycastle.voms
Class VOMSAttribute
- java.lang.Object
-
- org.bouncycastle.voms.VOMSAttribute
-
public class VOMSAttribute extends Object
Representation of the authorization information (VO, server address and list of Fully Qualified Attribute Names, or FQANs) contained in a VOMS attribute certificate.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
VOMSAttribute.FQAN
Inner class providing a container of the group,role,capability information triplet in an FQAN.
-
Field Summary
Fields Modifier and Type Field Description static String
VOMS_ATTR_OID
The ASN.1 object identifier for VOMS attributes
-
Constructor Summary
Constructors Constructor Description VOMSAttribute(X509AttributeCertificateHolder ac)
Parses the contents of an attribute certificate.
NOTE: Cryptographic signatures, time stamps etc.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X509AttributeCertificateHolder
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 nameString
toString()
-
-
-
Field Detail
-
VOMS_ATTR_OID
public static final String VOMS_ATTR_OID
The ASN.1 object identifier for VOMS attributes- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VOMSAttribute
public VOMSAttribute(X509AttributeCertificateHolder 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
-
-
Method Detail
-
getAC
public X509AttributeCertificateHolder getAC()
- Returns:
- The AttributeCertificate containing the VOMS information
-
getFullyQualifiedAttributes
public List getFullyQualifiedAttributes()
- Returns:
- List of String of the VOMS fully qualified
attributes names (FQANs):
/vo[/group[/group2...]][/Role=[role]][/Capability=capability]
-
getListOfFQAN
public List getListOfFQAN()
- Returns:
- List of FQAN of the VOMS fully qualified attributes names (FQANs)
-
getHostPort
public String getHostPort()
Returns the address of the issuing VOMS server, on the form<host>:<port>
- Returns:
- String
-
getVO
public String getVO()
Returns the VO name- Returns:
-
-