|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.demo.AuthorizationRequest
spki.demo AuthorizationRequest class.
Formal definition:
<monitor>:: <principal> ;
<auth-chain>:: <sequence> ;
<nonce>:: <byte-string> ;
<capability>:: <tag> ;
<auth-req>:: "(" "auth-req" <monitor> <auth-chain> <nonce> <capability> ")" ;
| Field Summary | |
private static String |
__ME
This class's full name. |
private Sequence |
auth_chain
|
private Tag |
capability
|
private Principal |
monitor
|
private Sexp |
nonce
|
static String |
SEXP_NAME
|
private Signature |
signature
|
| Fields inherited from class spki.BaseObj |
__ME,
cache_sexp,
cached_sexp,
DEFAULT_HASH_ALG,
locked,
SEXP_NAME |
| Constructor Summary | |
private |
AuthorizationRequest()
Default constructor. |
|
AuthorizationRequest(Principal monitor,
Sequence auth_chain,
Sexp nonce,
Tag capability)
Construct an AuthorizationRequest object with the specified monitor's principal, authorization chain, request nonce, and capability. |
| Method Summary | |
Sequence |
getAuthChain()
get the authorization chain. |
Tag |
getCapability()
get the requested capability. |
Principal |
getMonitor()
get the monitor's princpal. |
Sexp |
getNonce()
get the request nonce. |
Signature |
getSignature()
get the request's signature. |
void |
setSignature(Signature sig)
set the request's signature, signed by the requesting user. |
SExpression |
toSExpression()
export the request to S-Expression, for signing. |
| 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
private Principal monitor
private Sequence auth_chain
private Sexp nonce
private Tag capability
private Signature signature
| Constructor Detail |
private AuthorizationRequest()
public AuthorizationRequest(Principal monitor,
Sequence auth_chain,
Sexp nonce,
Tag capability)
throws SPKIException
| Method Detail |
public SExpression toSExpression()
throws SPKIException
public Principal getMonitor()
public Sequence getAuthChain()
public Sexp getNonce()
public Tag getCapability()
public Signature getSignature()
public void setSignature(Signature sig)
throws SPKIException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||