|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glite.voms.SigningPolicy
public class SigningPolicy
The purpose of this class is to represent a *.signing_policy file.
| Constructor Summary | |
|---|---|
SigningPolicy(File f)
Loads a *.signing_policy file. |
|
| Method Summary | |
|---|---|
int |
findIssuer(String issuer)
Finds the record in the signing policy which deals with the specified issuer. |
int |
findIssuer(String issuer,
int previous)
Finds the record in the signing policy which deals with the specified issuer, starting from a specified record. |
String |
getAccessIDCA()
Gets the AccessIDCA from the current record. |
Vector |
getCondSubjects()
Gets the CondSubjects from the current record. |
String |
getName()
Gets the basename of the file from which this was loaded. |
String |
getPosRights()
Gets the PosRights from the current record. |
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 |
| Constructor Detail |
|---|
public SigningPolicy(File f)
throws IOException
f - the File from which to load the Signing Policy.
IOException - if there have been problems loading the file.| Method Detail |
|---|
public String getName()
public int findIssuer(String issuer)
issuer - an OpenSSL-style representation of the issuer.
public int findIssuer(String issuer,
int previous)
issuer - an OpenSSL-style representation of the issuer.previous - the previous match, or -1 if ther was no previous match.
public void setCurrent(int index)
index - the record number
IllegalArgumentException - if the record number is too great
or < 0.public String getAccessIDCA()
IllegalArgumentException - if the record number has not been set.public String getPosRights()
IllegalArgumentException - if the record number has not been set.public Vector getCondSubjects()
IllegalArgumentException - if the record number has not been set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||