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