|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--spki.Tuple
spki Tuple class.
CertBody| Field Summary | |
private static String |
__ME
This class's full name. |
private Issuer |
issuer
The issuer field. |
private Subject |
subject
The subject field. |
private Validity |
validity
The validity field. |
| Constructor Summary | |
protected |
Tuple()
Don't use me. |
protected |
Tuple(Issuer issuer,
Subject subject,
Validity validity)
Create a Tuple object from given fields. |
| Method Summary | |
private static boolean |
contains(Vector list,
Principal element)
Check whether the given list already contains the given principal. |
static Empowerment |
EIntersect(Empowerment e1,
Empowerment e2)
An implementation of the EIntersect algorithm. |
static Empowerment |
EUnion(Empowerment e1,
Empowerment e2)
An implementation of the EUnion algorithm. |
Issuer |
getIssuer()
Get the issuer field. |
Subject |
getSubject()
Get the subject field. |
Validity |
getValidity()
Get the validity field. |
private static Date |
MAX(Date d1,
Date d2)
Compare given dates and return the later one. |
private static Date |
MIN(Date d1,
Date d2)
compare given dates and return the earlier one. |
static Sexp |
NUnion(Sexp nonce1,
Sexp nonce2)
An implementation of the NUnion algorithm. |
private static void |
rSubjObjsExpand(Vector out,
Object[] in)
Recursively expand the given array of principals, which may contains n-level of sub-array(s), into a flat vector of principals. |
static Subject |
SUnion(Subject s1,
Subject s2)
An implementation of the SUnion algorithm. |
static Subject |
tEliminate(Subject subj)
An implementation of the Threshold Elimination Rules. |
abstract String |
toString()
|
static Validity |
VIntersect(Validity v1,
Validity v2)
An implementation of the VIntersect algorithm. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private static final String __ME
private Issuer issuer
private Subject subject
private Validity validity
| Constructor Detail |
protected Tuple()
Tuple(Issuer,Subject,Validity)
protected Tuple(Issuer issuer,
Subject subject,
Validity validity)
throws SPKIException
issuer - The issuer field.subjects - The subject field.validity - The validity field.| Method Detail |
public abstract String toString()
public Issuer getIssuer()
public Subject getSubject()
public Validity getValidity()
public static final Validity VIntersect(Validity v1,
Validity v2)
throws IntersectionException
v1 - a Validity object to intersect, maybe null.v2 - another Validity object to intersect, maybe null.
public static Sexp NUnion(Sexp nonce1,
Sexp nonce2)
throws IntersectionException
public static final Empowerment EIntersect(Empowerment e1,
Empowerment e2)
throws IntersectionException
e1 - a Empowerment object to intersect.e2 - another Empowerment object to intersect.
public static final Empowerment EUnion(Empowerment e1,
Empowerment e2)
throws IntersectionException
e1 - a Empowerment object to unionize.e2 - another Empowerment object to unionize.
public static final Subject SUnion(Subject s1,
Subject s2)
throws IntersectionException
s1 - a Subject object to unionize.s2 - another Subject object to unionize.
public static final Subject tEliminate(Subject subj)
throws ReductionException
s1 - a Subject object to unionize.s2 - another Subject object to unionize.
private static Date MIN(Date d1,
Date d2)
d1 - a date object to compare, maybe null.d2 - another date object to compare, maybe null.
private static Date MAX(Date d1,
Date d2)
d1 - a Date object to compare.d2 - another Date object to compare.
private static boolean contains(Vector list,
Principal element)
tEliminate(spki.Subject)
private static void rSubjObjsExpand(Vector out,
Object[] in)
throws SPKIException
tEliminate(Subject)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||