|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.CertBody
|
+--spki.RoleCert
spki RoleCert class.
Formal definitions:
<role>:: "(" "role" <relative-name> ")" ;
<role-cert>:: "(" "role-cert" <version>? <cert-display>? <issuer> <issuer-loc>? <subject-role> <subject-loc>?
<empowerment> <role> <valid> <escrow>? <created>? <comment>? ")" ;
Issuer,
LocObj,
SubjectRole,
Empowerment,
RelativeName,
Escrow| Field Summary | |
private static String |
__ME
This class's full name. |
private Empowerment |
empowerment
The empowerment field. |
private RelativeName |
role
The role field. |
static String |
ROLE_SEXP_NAME
The role field S-Expression type name. |
static String |
SEXP_NAME
This class S-Expression type name, used by toSExpression() and other methods. |
private SubjectRole |
subject
The subject field. |
private Validity |
validity
The validity field. |
| Fields inherited from class spki.CertBody |
__ME,
cert_display,
CERT_DISPLAY_SEXP_NAME,
comment,
COMMENT_SEXP_NAME,
created,
CREATED_SEXP_NAME,
escrow,
issuer,
issuer_loc,
ISSUER_LOC_SEXP_NAME,
SEXP_NAME,
subject_loc,
SUBJECT_LOC_SEXP_NAME,
version,
VERSION,
VERSION_SEXP_NAME |
| Fields inherited from class spki.BaseObj |
__ME,
cache_sexp,
cached_sexp,
DEFAULT_HASH_ALG,
locked,
SEXP_NAME |
| Constructor Summary | |
protected |
RoleCert()
Don't use me! |
|
RoleCert(Sexp cert_display,
Issuer issuer,
LocObj[] issuer_loc,
SubjectRole subject,
LocObj[] subject_loc,
Empowerment empowerment,
RelativeName role,
Validity validity,
Escrow escrow,
Sexp comment)
Create an immutable RoleCert object from given fields. |
|
RoleCert(SExpression sexp)
Create an immutable RoleCert object from given S-Expression. |
| Method Summary | |
Empowerment |
getEmpowerment()
Get the empowerment field. |
LocalName |
getRole()
Get the role field. |
Subject |
getSubject()
Get the subject field. |
Validity |
getValidity()
Get the validity field. |
SExpression |
toSExpression()
Build an SExpression representing this object. |
(package private) void |
verify()
|
| 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 SubjectRole subject
private Validity validity
private Empowerment empowerment
public static final String ROLE_SEXP_NAME
private RelativeName role
| Constructor Detail |
protected RoleCert()
throws SPKIException
RoleCert(SExpression),
RoleCert(Sexp,Issuer,LocObj[],SubjectRole,LocObj[],Empowerment,RelativeName,Validity,Escrow,Sexp)
public RoleCert(SExpression sexp)
throws ParseException,
SPKIException
CertBody.CertBody(SExpression)
public RoleCert(Sexp cert_display,
Issuer issuer,
LocObj[] issuer_loc,
SubjectRole subject,
LocObj[] subject_loc,
Empowerment empowerment,
RelativeName role,
Validity validity,
Escrow escrow,
Sexp comment)
throws SPKIException
cert_display - The optional display field, maybe null.issuer - The issuer field.issuer_loc - The optional issuer-info, maybe null.subject - The subject field.subject_loc - The optional subject-info field, maybe null.empowerment - The empowerment field.role - The role field.validity - The validity field.escrow - The optional escrow field, maybe null.comment - The optional comment field, maybe null.CertBody.CertBody(Sexp,Issuer,LocObj[],LocObj[],Escrow,Sexp)| Method Detail |
public SExpression toSExpression()
throws SPKIException
public Subject getSubject()
public Validity getValidity()
public Empowerment getEmpowerment()
public LocalName getRole()
throws SPKIException
void verify()
throws SPKIException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||