public interface VOMSAttribute
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
getAACertificates()
This method returns the certificate chain of the VOMS Attribute Authority
(AA) that signed this
VOMSAttribute . |
List<String> |
getFQANs()
This method returns the list of signed Fully Qualified Attribute Names
(FQANs) in this
VOMSAttribute . |
List<VOMSGenericAttribute> |
getGenericAttributes()
This method returns the list of VOMS Generic attributes in this
VOMSAttribute . |
X500Principal |
getHolder()
This method returns the subject (as an
X500Principal ) of the holder
of these VOMS attributes |
BigInteger |
getHolderSerialNumber()
This method returns the holder certificate serial number
|
String |
getHost()
This method returns the host where the VOMS Attribute Authority (AA) that
signed these attribute lives
|
X500Principal |
getIssuer()
This method returns the subject of the VOMS Attribute Authority that signed
these attributes.
|
Date |
getNotAfter()
This method returns the attributes' validity end time
|
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.
|
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.
|
List<String> |
getTargets()
This method returns the list of targets defined for this
VOMSAttribute . |
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(Date time)
This method checks whether the attributes are valid in a given time passed
as argument.
|
String getVO()
String getHost()
int getPort()
X500Principal getHolder()
X500Principal
) of the holder
of these VOMS attributesBigInteger getHolderSerialNumber()
X500Principal getIssuer()
Date getNotBefore()
Date getNotAfter()
List<String> getFQANs()
VOMSAttribute
.List
of VOMS fully qualified attribute namesString getPrimaryFQAN()
getFQANs()
) in this VOMSAttribute
.byte[] getSignature()
List<VOMSGenericAttribute> getGenericAttributes()
VOMSAttribute
.List<String> getTargets()
VOMSAttribute
.X509Certificate[] getAACertificates()
VOMSAttribute
.boolean isValid()
true
if valid, false
otherwiseboolean validAt(Date time)
time
- the time used for the validity checktrue
if valid, false
otherwiseorg.bouncycastle.cert.X509AttributeCertificateHolder getVOMSAC()
Copyright © 2016. All rights reserved.