|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.Escrow
SPKI Escrow class.
Formal definition:
<escrow-status>:: "verified" | "to-verify" ;
<escrow>:: "(" "escrow" <escrow-status> <loc-obj>? ")" ;
LocObj| Field Summary | |
private static String |
__ME
This class's full name. |
static int |
DEFAULT_STATUS
|
private LocObj |
location
The optional reference location, maybe null. |
private static int |
MAX_STATUS_VALUE
|
private static int |
MIN_STATUS_VALUE
|
static String |
SEXP_NAME
This class S-Expression type name, used by toSExpression() and other methods. |
private int |
status
The escrow status. |
static String[] |
STATUS_NAMES
|
static int |
STATUS_TOVERIFY
|
static int |
STATUS_VERIFIED
|
| Fields inherited from class spki.BaseObj |
__ME,
cache_sexp,
cached_sexp,
DEFAULT_HASH_ALG,
locked,
SEXP_NAME |
| Constructor Summary | |
Escrow()
Create an immutable Escrow without the default status and no reference location. |
|
Escrow(int status,
LocObj location)
Create an immutable Escrow object with the specified status and reference location. |
|
Escrow(SExpression sexp)
Create an immutable Escrow object from an S-Expression. |
|
| Method Summary | |
LocObj |
getLocation()
Get the identifying location, if available. |
int |
getStatus()
Get the escrow status. |
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()public static final String[] STATUS_NAMES
public static final int STATUS_VERIFIED
public static final int STATUS_TOVERIFY
private static final int MIN_STATUS_VALUE
private static final int MAX_STATUS_VALUE
public static final int DEFAULT_STATUS
private int status
private LocObj location
LocObj| Constructor Detail |
public Escrow()
Escrow(int,LocObj)
public Escrow(SExpression sexp)
throws SPKIException,
ParseException
BaseObj.BaseObj(SExpression)
public Escrow(int status,
LocObj location)
throws SPKIException
status - the escrow status.location - the reference LocObj, maybe null.LocObj,
Escrow()| Method Detail |
public SExpression toSExpression()
throws SPKIException
public int getStatus()
STATUS_VERIFIED,
STATUS_TOVERIFYpublic LocObj getLocation()
Escrow(int,LocObj)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||