org.bouncycastle.voms
Class VOMSAttribute
java.lang.Object
org.bouncycastle.voms.VOMSAttribute
public class VOMSAttribute
extends java.lang.Object
Representation of the authorization information (VO, server address
and list of Fully Qualified Attribute Names, or FQANs) contained in
a VOMS attribute certificate.
class | VOMSAttribute.FQAN - Inner class providing a container of the group,role,capability
information triplet in an FQAN.
|
static String | VOMS_ATTR_OID - The ASN.1 object identifier for VOMS attributes
|
VOMS_ATTR_OID
public static final String VOMS_ATTR_OID
The ASN.1 object identifier for VOMS attributes
VOMSAttribute
public VOMSAttribute(X509AttributeCertificate ac)
Parses the contents of an attribute certificate.
NOTE: Cryptographic signatures, time stamps etc. will not be checked.
ac
- the attribute certificate to parse for VOMS attributes
getFullyQualifiedAttributes
public List getFullyQualifiedAttributes()
- List of String of the VOMS fully qualified
attributes names (FQANs):
/vo[/group[/group2...]][/Role=[role]][/Capability=capability]
getHostPort
public String getHostPort()
Returns the address of the issuing VOMS server, on the form <host>:<port>
- String
getListOfFQAN
public List getListOfFQAN()
- List of FQAN of the VOMS fully qualified
attributes names (FQANs)
VOMSAttribute
getVO
public String getVO()
Returns the VO name
toString
public String toString()