spki
Class SubjectName
java.lang.Object
|
+--spki.BaseObj
|
+--spki.Subject
|
+--spki.SubjectName
- public class SubjectName
- extends Subject
SPKI SubjectName class.
Formal definitions:
<subject-name>:: "(" "subject" <subj-name-obj> ")" ;
- Version:
- $Id: SubjectName.java,v 1.13 2002/06/24 18:03:20 tep Exp $
- Author:
- Tep Narula <tep@win.trlabs.ca>
- See Also:
Subject,
SubjNameObj
|
Field Summary |
private static String |
__ME
This class's full name. |
| Fields inherited from class spki.Subject |
__ME,
dirty,
MIN_THRESHOLD,
reduceonly,
SEXP_NAME,
subj_obj,
subj_obj_sexp,
subj_objs,
thresh,
thresh_scheme,
THRESHOLD_SEXP_NAME |
| Methods inherited from class spki.BaseObj |
disableSExpressionCaching,
enableSExpressionCaching,
extractHashAlgId,
getCachedSExpression,
isLocked,
isSListOfType,
lock,
providerToSPKI,
setCachedSExpression,
spkiToProvider,
toString |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
__ME
private static final String __ME
- This class's full name.
SubjectName
protected SubjectName()
- Don't use me!
- See Also:
SubjectName(SExpression),
SubjectName(SubjNameObj)
SubjectName
public SubjectName(SExpression sexp)
throws SPKIException,
ParseException
- Create an immutable SubjectName object from an S-Expression.
- See Also:
Subject.Subject(SExpression)
SubjectName
public SubjectName(SubjNameObj subject)
throws SPKIException
- Create an immutable SubjectName object from a given subj-name-obj.
- Parameters:
subject - the subj-name-obj.- See Also:
SubjNameObj
getSubjNameObj
public static final SubjNameObj getSubjNameObj(SExpression sexp)
throws ParseException,
SPKIException
- Get an instance of a SubjNameObj from given S-Expression.
- Parameters:
sexp - the SExpression containing a SubjNameObj.- Returns:
- An object instance implementing SubjNameObj.
- Throws:
- ParseException - if the argument doesn't contain a SubjNameObj.
- SPKIException - if something went wrong.