|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.ValidOffline
SPKI ValidOffline class.
Formal definitions:
<nonce>:: <byte-string> ;
<valid-one>:: "(" "one-time" <nonce> ")" ;
<new-cert>:: "(" "new-cert" <loc-obj> ")" ;
<off-line>:: "(" "off-line" <valid-one>? <new-cert>? ")" ;
LocObj,
Validity| Field Summary | |
private static String |
__ME
This class's full name. |
private LocObj |
newcert_loc
The location of replacement-certificate issuing service. |
static String |
NEWCERT_SEXP_NAME
The new-cert validity condition S-Expression type name, used by toSExpression() and other methods. |
private Sexp |
onetime_nonce
The one-time nonce value. |
static String |
ONETIME_SEXP_NAME
The one-time validity condition S-Expression type name, used by toSExpression() and other methods. |
static String |
SEXP_NAME
This class S-Expression type name, used by toSExpression() and other methods. |
| Fields inherited from class spki.BaseObj |
__ME,
cache_sexp,
cached_sexp,
DEFAULT_HASH_ALG,
locked,
SEXP_NAME |
| Constructor Summary | |
protected |
ValidOffline()
Don't use me! |
|
ValidOffline(Sexp onetime_nonce,
LocObj newcert_loc)
Create an immutable ValidOffline object from given one-time nonce value and/or replacement-certificate issuing service location. |
|
ValidOffline(SExpression sexp)
Create an immutable ValidOffline object from an S-Expression. |
| Method Summary | |
LocObj |
getNewCertLoc()
Get the location of the replacement-certificate issuing service, if available. |
Sexp |
getOneTimeNonce()
Get the one-time nonce value, if available. |
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 ONETIME_SEXP_NAME
toSExpression()private Sexp onetime_nonce
public static final String NEWCERT_SEXP_NAME
toSExpression()private LocObj newcert_loc
| Constructor Detail |
protected ValidOffline()
ValidOffline(SExpression),
ValidOffline(Sexp,LocObj)
public ValidOffline(SExpression sexp)
throws ParseException,
SPKIException
BaseObj.BaseObj(SExpression)
public ValidOffline(Sexp onetime_nonce,
LocObj newcert_loc)
throws SPKIException
onetime_nonce - the one-time validity nonce value,
maybe null.newcert_loc - the replacement-certificate issuing service location,
maybe null.| Method Detail |
public SExpression toSExpression()
throws SPKIException
public Sexp getOneTimeNonce()
throws SPKIException
public LocObj getNewCertLoc()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||