sdsi
Class Def
java.lang.Object
|
+--sdsi.SDSIObject
|
+--sdsi.Cert
|
+--sdsi.Def
- All Implemented Interfaces:
- SequenceItem, java.io.Serializable
- public class Def
- extends Cert
- Author:
- Alexander Morcos, Sameer Ajmani
- See Also:
- Serialized Form
Methods inherited from class sdsi.SDSIObject |
equals, getHash, getHash, getSrep, hashCode, principalParse, readFrom, readFrom, sign, toReadableString, toString, writeCanonical, writeReadable |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
issuerName
Name issuerName
Def
public Def(SDSIPrincipal issuer,
java.lang.String name,
Subject s,
Validity v)
throws SDSIException
- Creates a new Def from an issuer name, a subject, and a Validity
Def
public Def(SexpList l,
Name issuerName)
throws SexpParseException
- Creates a new Def from a SexpList. The Name which is the issuer is
also given, because in practice, this constructor is called from
within Cert.create which has already parsed the issuer out of the
S-expression
- Throws:
SexpParseException
- if the SexpList does not correctly
represent a SDSI name defintion certificate
sameAs
public boolean sameAs(java.lang.Object object)
- Overrides:
sameAs
in class Cert
getType
public java.lang.String getType()
- Description copied from class:
SDSIObject
- Returns a short string that represents the type of this SDSIObject.
- Overrides:
getType
in class SDSIObject
- Returns:
- a string represent the type of SDSIObject we're dealing with.
toShortString
public java.lang.String toShortString()
- Description copied from class:
SDSIObject
- Returns a short descriptive string representing this SDSIObject.
- Specified by:
toShortString
in class SDSIObject
- Returns:
- a short string description of this SDSIObject.
getAbbreviation
public java.lang.String getAbbreviation()
- Description copied from class:
SDSIObject
- Returns a single or double letter abbreviation this SDSIObject.
- Specified by:
getAbbreviation
in class SDSIObject
- Returns:
- an abbreviated description of this SDSIObject.
getName
public Name getName()
getNameString
public java.lang.String getNameString()
reduces
public boolean reduces(Cert cert)
- Specified by:
reduces
in class Cert
reduce
public Cert reduce(Cert cert)
- Specified by:
reduce
in class Cert