public interface VOMSAttribute
Modifier and Type | Method and Description |
---|---|
java.security.cert.X509Certificate[] |
getAACertificates()
This method returns the certificate chain of the VOMS Attribute Authority
(AA) that signed this
VOMSAttribute . |
java.util.List<java.lang.String> |
getFQANs()
This method returns the list of signed Fully Qualified Attribute Names
(FQANs) in this
VOMSAttribute . |
java.util.List<VOMSGenericAttribute> |
getGenericAttributes()
This method returns the list of VOMS Generic attributes in this
VOMSAttribute . |
javax.security.auth.x500.X500Principal |
getHolder()
This method returns the subject (as an
X500Principal ) of the holder
of these VOMS attributes |
java.math.BigInteger |
getHolderSerialNumber()
This method returns the holder certificate serial number
|
java.lang.String |
getHost()
This method returns the host where the VOMS Attribute Authority (AA) that
signed these attribute lives
|
javax.security.auth.x500.X500Principal |
getIssuer()
This method returns the subject of the VOMS Attribute Authority that signed
these attributes.
|
java.util.Date |
getNotAfter()
This method returns the attributes' validity end time
|
java.util.Date |
getNotBefore()
This method returns the attributes' validity start time
|
int |
getPort()
This method returns the port on which the VOMS Attribute Authority (AA)
that signed these attributes listens for requests.
|
java.lang.String |
getPrimaryFQAN()
This method returns the primary FQAN (the first in the list returned by
getFQANs() ) in this VOMSAttribute . |
byte[] |
getSignature()
This method returns the signature on the VOMS attribute certificate as a
byte array.
|
java.util.List<java.lang.String> |
getTargets()
This method returns the list of targets defined for this
VOMSAttribute . |
java.lang.String |
getVO()
This method returns the name of the VO this VOMS attributes are about
|
org.bouncycastle.cert.X509AttributeCertificateHolder |
getVOMSAC()
This method returns the underlying VOMS Attribute certificate object.
|
boolean |
isValid()
This method checks whether the attributes are valid in the current instant
of time.
|
boolean |
validAt(java.util.Date time)
This method checks whether the attributes are valid in a given time passed
as argument.
|
java.lang.String getVO()
java.lang.String getHost()
int getPort()
javax.security.auth.x500.X500Principal getHolder()
X500Principal
) of the holder
of these VOMS attributesjava.math.BigInteger getHolderSerialNumber()
javax.security.auth.x500.X500Principal getIssuer()
java.util.Date getNotBefore()
java.util.Date getNotAfter()
java.util.List<java.lang.String> getFQANs()
VOMSAttribute
.List
of VOMS fully qualified attribute namesjava.lang.String getPrimaryFQAN()
getFQANs()
) in this VOMSAttribute
.byte[] getSignature()
java.util.List<VOMSGenericAttribute> getGenericAttributes()
VOMSAttribute
.java.util.List<java.lang.String> getTargets()
VOMSAttribute
.java.security.cert.X509Certificate[] getAACertificates()
VOMSAttribute
.boolean isValid()
true
if valid, false
otherwiseboolean validAt(java.util.Date time)
time
- the time used for the validity checktrue
if valid, false
otherwiseorg.bouncycastle.cert.X509AttributeCertificateHolder getVOMSAC()