spki
Class SubjectAttribute
java.lang.Object
|
+--spki.BaseObj
|
+--spki.Subject
|
+--spki.SubjectAttribute
- public class SubjectAttribute
- extends Subject
SPKI SubjectAttribute class.
Formal definitions:
<subject-attr>:: "(" "subject" <subj-attr-obj> ")" ;
- Version:
- $Id: SubjectAttribute.java,v 1.9 2002/06/24 18:03:20 tep Exp $
- Author:
- Tep Narula <tep@win.trlabs.ca>
- See Also:
Subject,
SubjAttributeObj
|
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.
SubjectAttribute
protected SubjectAttribute()
- Don't use me!
- See Also:
SubjectAttribute(SExpression),
SubjectAttribute(SubjAttributeObj)
SubjectAttribute
public SubjectAttribute(SExpression sexp)
throws SPKIException,
ParseException
- Create an immutable SubjectAttribute object from an S-Expression.
- See Also:
Subject.Subject(SExpression)
SubjectAttribute
public SubjectAttribute(SubjAttributeObj subject)
throws SPKIException
- Create an immutable SubjectAttribute object from a given subj-attr-obj.
- Parameters:
subject - the subj-attr-obj.- See Also:
SubjAttributeObj
getSubjAttributeObj
public static final SubjAttributeObj getSubjAttributeObj(SExpression sexp)
throws ParseException,
SPKIException
- Get an instance of a SubjAttributeObj from given S-Expression.
- Parameters:
sexp - the SExpression containing a SubjAttributeObj.- Returns:
- An object instance implementing SubjAttributeObj.
- Throws:
- ParseException - if the argument doesn't contain
a SubjAttributeObj.
- SPKIException - if something went wrong.