|
|||||||||
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(java.io.File f)
Loads a *.signing_policy file. |
Method Summary | |
---|---|
int |
findIssuer(java.lang.String issuer)
Finds the record in the signing policy which deals with the specified issuer. |
int |
findIssuer(java.lang.String issuer,
int previous)
Finds the record in the signing policy which deals with the specified issuer, starting from a specified record. |
java.lang.String |
getAccessIDCA()
Gets the AccessIDCA from the current record. |
java.util.Vector |
getCondSubjects()
Gets the CondSubjects from the current record. |
java.lang.String |
getName()
Gets the basename of the file from which this was loaded. |
java.lang.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(java.io.File f) throws java.io.IOException
f
- the File from which to load the Signing Policy.
java.io.IOException
- if there have been problems loading the file.Method Detail |
---|
public java.lang.String getName()
public int findIssuer(java.lang.String issuer)
issuer
- an OpenSSL-style representation of the issuer.
public int findIssuer(java.lang.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
java.lang.IllegalArgumentException
- if the record number is too great
or < 0.public java.lang.String getAccessIDCA()
java.lang.IllegalArgumentException
- if the record number has not been set.public java.lang.String getPosRights()
java.lang.IllegalArgumentException
- if the record number has not been set.public java.util.Vector getCondSubjects()
java.lang.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 |