org.glite.voms
Class Namespace
java.lang.Object
org.glite.voms.Namespace
public class Namespace
- extends java.lang.Object
Constructor Summary |
Namespace(java.io.File f)
|
Method Summary |
int |
findIssuer(java.security.cert.X509Certificate issuer)
|
int |
findIssuer(java.security.cert.X509Certificate issuerCert,
int previous)
|
java.lang.String |
getIssuer()
|
java.lang.String |
getName()
|
boolean |
getPermit()
|
java.lang.String |
getSubject()
|
void |
setCurrent(int index)
Sets the indicate record as the current record. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Namespace
public Namespace(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
getName
public java.lang.String getName()
findIssuer
public int findIssuer(java.security.cert.X509Certificate issuer)
findIssuer
public int findIssuer(java.security.cert.X509Certificate issuerCert,
int previous)
setCurrent
public void setCurrent(int index)
- Sets the indicate record as the current record.
- Parameters:
index
- the record number
- Throws:
java.lang.IllegalArgumentException
- if the record number is too great
or < 0.
getIssuer
public java.lang.String getIssuer()
getSubject
public java.lang.String getSubject()
getPermit
public boolean getPermit()
Copyright © 2012. All Rights Reserved.