|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.CertBody
|
+--spki.AttributeCert
spki AttributeCert class.
Formal definitions:
<attribute>:: <tag> ;
<attr-cert>:: "(" "attr-cert" <version>? <cert-display>? <issuer> <subject-attr> <subject-loc>?
<attribute> <valid> <escrow>? <created>? <comment>? ")" ;
Issuer,
SubjectAttribute,
LocObj,
Tag,
Validity,
Escrow| Field Summary | |
private static String |
__ME
This class's full name. |
private Tag |
attribute
The attribute field. |
static String |
SEXP_NAME
This class S-Expression type name, used by toSExpression() and other methods. |
private SubjectAttribute |
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 |
AttributeCert()
Don't use me! |
|
AttributeCert(Sexp cert_display,
Issuer issuer,
SubjectAttribute subject,
LocObj[] subject_loc,
Tag attribute,
Validity validity,
Escrow escrow,
Sexp comment)
Create an immutable AttributeCert object from given fields. |
|
AttributeCert(SExpression sexp)
Create an immutable AttributeCert object from given S-Expression. |
| Method Summary | |
Tag |
getAttribute()
Get the attribute field. |
Subject |
getSubject()
Get the subject field. |
Validity |
getValidity()
Get the validity field. |
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 SubjectAttribute subject
private Validity validity
private Tag attribute
| Constructor Detail |
protected AttributeCert()
throws SPKIException
AttributeCert(SExpression),
AttributeCert(Sexp,Issuer,SubjectAttribute,LocObj[],Tag,Validity,Escrow,Sexp)
public AttributeCert(SExpression sexp)
throws ParseException,
SPKIException
CertBody.CertBody(SExpression)
public AttributeCert(Sexp cert_display,
Issuer issuer,
SubjectAttribute subject,
LocObj[] subject_loc,
Tag attribute,
Validity validity,
Escrow escrow,
Sexp comment)
throws SPKIException
cert_display - The optional display field, maybe null.issuer - The issuer field.subject - The subject field.subject_loc - The optional subject-info field, maybe null.attribute - The attribute 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()
throws SPKIException
SubjectAttributepublic Validity getValidity()
public Tag getAttribute()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||