sdsi
Class Acl
java.lang.Object
|
+--sdsi.SDSIObject
|
+--sdsi.Acl
- All Implemented Interfaces:
- java.io.Serializable
- public class Acl
- extends SDSIObject
The class which implements acl's in SDSI/SPKI 2.0. Acl's are
currently considered as SDSIObjects, but the grammar of SDSI/SPKI has
changed so that acl's are not specified.
- Author:
- Alexander Morcos, Sameer Ajmani
- See Also:
SDSIObject
,
Serialized Form
Method Summary |
boolean |
contains(SDSIPublicKey applicant,
Name applicantName,
Tag request)
|
java.lang.String |
getAbbreviation()
Returns a single or double letter abbreviation this SDSIObject. |
java.lang.String |
getType()
Returns a short string that represents the type of this SDSIObject. |
java.lang.String |
toShortString()
Returns a short descriptive string representing this SDSIObject. |
Methods inherited from class sdsi.SDSIObject |
equals, getHash, getHash, getSrep, hashCode, principalParse, readFrom, readFrom, sameAs, sign, toReadableString, toString, writeCanonical, writeReadable |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
creatingPrincipal
SDSIPrincipal creatingPrincipal
entries
Acl.AclEntry[] entries
Acl
public Acl(SexpList l,
SDSIPrincipal p)
throws SexpParseException,
SDSIException
- Creates a new Acl from a SexpList. The SexpList is scanned and parsed and
the additional issuer information is also stored in the resulting Acl.
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.
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.
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.
contains
public boolean contains(SDSIPublicKey applicant,
Name applicantName,
Tag request)