Top Description Inners Fields Constructors Methods
org.bouncycastle.voms

public Class VOMSAttribute

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, org.bouncycastle.asn1.ASN1IA5String, .ASN1ObjectIdentifier, .ASN1OctetString, org.bouncycastle.asn1.x509.Attribute, .IetfAttrSyntax, org.bouncycastle.cert.X509AttributeCertificateHolder

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
VOMSAttribute.FQAN

Inner class providing a container of the group,role,capability information triplet in an FQAN.

Field Summary

Modifier and TypeField and Description
private X509AttributeCertificateHolder
private List<E>
private String
private List<E>
private String
public static final String
VOMS_ATTR_OID

The ASN.1 object identifier for VOMS attributes

Constructor Summary

AccessConstructor and Description
public
VOMSAttribute(X509AttributeCertificateHolder
the attribute certificate to parse for VOMS attributes
ac
)

Parses the contents of an attribute certificate

Note

Cryptographic signatures, time stamps etc. will not be checked.

Method Summary

Modifier and TypeMethod and Description
public X509AttributeCertificateHolder

Returns:

The AttributeCertificate containing the VOMS information
getAC
()

public List<E>

Returns:

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

public String

Returns:

String
getHostPort
()

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

public List<E>

Returns:

List of FQAN of the VOMS fully qualified attributes names (FQANs)
getListOfFQAN
()

public String
getVO()

Returns the VO name

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

myACback to summary
private X509AttributeCertificateHolder myAC
myFQANsback to summary
private List<E> myFQANs
myHostPortback to summary
private String myHostPort
myStringListback to summary
private List<E> myStringList
myVoback to summary
private String myVo
VOMS_ATTR_OIDback to summary
public static final String VOMS_ATTR_OID

The ASN.1 object identifier for VOMS attributes

Constructor Detail

VOMSAttributeback to summary
public VOMSAttribute(X509AttributeCertificateHolder ac)

Parses the contents of an attribute certificate

Note

Cryptographic signatures, time stamps etc. will not be checked.

Parameters
ac:X509AttributeCertificateHolder

the attribute certificate to parse for VOMS attributes

Method Detail

getACback to summary
public X509AttributeCertificateHolder getAC()
Returns:X509AttributeCertificateHolder

The AttributeCertificate containing the VOMS information

getFullyQualifiedAttributesback to summary
public List<E> getFullyQualifiedAttributes()
Returns:List<E>

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

getHostPortback to summary
public String getHostPort()

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

Returns:String

String

getListOfFQANback to summary
public List<E> getListOfFQAN()
Returns:List<E>

List of FQAN of the VOMS fully qualified attributes names (FQANs)

getVOback to summary
public String getVO()

Returns the VO name

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

org.bouncycastle.voms back to summary

public Class VOMSAttribute.FQAN

extends Object
Class Inheritance

Inner class providing a container of the group,role,capability information triplet in an FQAN.

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv String
pack-priv String
pack-priv String

Constructor Summary

AccessConstructor and Description
public
FQAN(String fqan)

public
FQAN(String group, String role, String capability)

Method Summary

Modifier and TypeMethod and Description
public String
public String
public String
public String
protected void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

capabilityback to summary
pack-priv String capability
fqanback to summary
pack-priv String fqan
groupback to summary
pack-priv String group
roleback to summary
pack-priv String role

Constructor Detail

FQANback to summary
public FQAN(String fqan)
FQANback to summary
public FQAN(String group, String role, String capability)

Method Detail

getCapabilityback to summary
public String getCapability()
getFQANback to summary
public String getFQAN()
getGroupback to summary
public String getGroup()
getRoleback to summary
public String getRole()
splitback to summary
protected void split()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.