|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.CertBody
|
+--spki.TransferCert
spki TransferCert class.
Formal definitions:
<transfer-cert>:: "(" "transfer-cert" <version>? <cert-display>? <issuer> <issuer-loc>? <subject-transfer>
<valid-transfer> <escrow>? <comment>? ")" ;
Issuer,
LocObj,
SubjectTransfer,
ValidTransfer,
Escrow| Field Summary | |
private static String |
__ME
This class's full name. |
private boolean |
dirty
Do we need to re-build the SExpression? |
static String |
SEXP_NAME
This class S-Expression type name, used by toSExpression() and other methods. |
private SubjectTransfer |
subject
The subject field. |
private ValidTransfer |
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 |
TransferCert()
Don't use me! |
|
TransferCert(Sexp cert_display,
Issuer issuer,
LocObj[] issuer_loc,
SubjectTransfer subject,
Escrow escrow,
Sexp comment)
Create an immutable TransferCert object from given fields. |
|
TransferCert(SExpression sexp)
Create an immutable TransferCert object from given S-Expression. |
| Method Summary | |
Subject |
getSubject()
Get the subject field. |
Validity |
getValidity()
Get the validity field. |
void |
setCreated()
Create the validity field with the not-before date set to the current time, to be called just before signing the certificate. |
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 SubjectTransfer subject
private ValidTransfer validity
private boolean dirty
setCreated(),
toSExpression()| Constructor Detail |
protected TransferCert()
throws SPKIException
TransferCert(SExpression),
TransferCert(Sexp,Issuer,LocObj[],SubjectTransfer,Escrow,Sexp)
public TransferCert(SExpression sexp)
throws ParseException,
SPKIException
CertBody.CertBody(SExpression)
public TransferCert(Sexp cert_display,
Issuer issuer,
LocObj[] issuer_loc,
SubjectTransfer subject,
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.escrow - The optional escrow field, maybe null.comment - The optional comment field, maybe null.CertBody.CertBody(Sexp,Issuer,LocObj[],LocObj[],Escrow,Sexp),
setCreated()| Method Detail |
public SExpression toSExpression()
throws SPKIException
public Subject getSubject()
public Validity getValidity()
public void setCreated()
throws IllegalStateException,
SPKIException
TransferCert(Sexp,Issuer,LocObj[],SubjectTransfer,Escrow,Sexp)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||