|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.Certificate
spki Certificate class.
Formal definitions:
<cert>:: "(" "cert" <cert-body> <sig-val> ")" ;
CertBody,
Signature| Field Summary | |
private static String |
__ME
This class's full name. |
private CertBody |
body
The cert-body field. |
static String |
SEXP_NAME
This class S-Expression type name, used by toSExpression() and other methods. |
private Signature |
signature
The sig-val field. |
| Fields inherited from class spki.BaseObj |
__ME,
cache_sexp,
cached_sexp,
DEFAULT_HASH_ALG,
locked,
SEXP_NAME |
| Constructor Summary | |
protected |
Certificate()
Don't use me! |
|
Certificate(CertBody body,
Signature signature)
Create an immutable Certificate object from given cert-body and signature. |
|
Certificate(SExpression sexp)
Create an immutable Certificate object from given S-Expression. |
| Method Summary | |
CertBody |
getCertBody()
Get the certificate body field. |
Signature |
getSignature()
Get the signature. |
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 CertBody body
private Signature signature
| Constructor Detail |
protected Certificate()
Certificate(SExpression),
Certificate(CertBody,Signature)
public Certificate(SExpression sexp)
throws ParseException,
SPKIException
public Certificate(CertBody body,
Signature signature)
throws SPKIException
body - the cert-body field.signature - the Signature object containg the sig-val field.| Method Detail |
public SExpression toSExpression()
throws SPKIException
public CertBody getCertBody()
public Signature getSignature()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||