|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.ValidOnline
SPKI ValidOnline class.
Formal definitions:
<on-line>:: "(" "on-line" <loc-obj> <principal>? ")" ;
LocObj,
Principal,
Validity| Field Summary | |
private static String |
__ME
This class's full name. |
private LocObj |
location
The location of the online-validation service. |
static String |
SEXP_NAME
This class S-Expression type name, used by toSExpression() and other methods. |
private Principal |
validator
The optional validating-agent's principal, maybe null. |
| Fields inherited from class spki.BaseObj |
__ME,
cache_sexp,
cached_sexp,
DEFAULT_HASH_ALG,
locked,
SEXP_NAME |
| Constructor Summary | |
protected |
ValidOnline()
Don't use me! |
|
ValidOnline(LocObj location,
Principal validator)
Create an immutable ValidOnline object from given location of the online-validation service and, optionally, the validating-agent's principal. |
|
ValidOnline(SExpression sexp)
Create an immutable ValidOnline object from an S-Expression. |
| Method Summary | |
LocObj |
getLocation()
Get the location of the online-validation service. |
Principal |
getValidator()
Get the optional validating-agent's principal. |
SExpression |
toSExpression()
Build an SExpression representing this object. |
| Methods inherited from class spki.BaseObj |
disableSExpressionCaching,
enableSExpressionCaching,
extractHashAlgId,
getCachedSExpression,
isLocked,
isSListOfType,
lock,
providerToSPKI,
setCachedSExpression,
spkiToProvider,
toString |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private static final String __ME
public static final String SEXP_NAME
toSExpression()private LocObj location
private Principal validator
| Constructor Detail |
protected ValidOnline()
ValidOnline(SExpression),
ValidOnline(LocObj,spki.interfaces.Principal)
public ValidOnline(SExpression sexp)
throws ParseException,
SPKIException
BaseObj.BaseObj(SExpression)
public ValidOnline(LocObj location,
Principal validator)
throws SPKIException
location - the location of the online-validation service.validator - the validating-agent's principal, maybe null.| Method Detail |
public SExpression toSExpression()
throws SPKIException
public LocObj getLocation()
public Principal getValidator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||