sdsi
Class Auth

java.lang.Object
  |
  +--sdsi.SDSIObject
        |
        +--sdsi.Cert
              |
              +--sdsi.Auth
All Implemented Interfaces:
SequenceItem, java.io.Serializable

public class Auth
extends Cert

Author:
Alexander Morcos, Sameer Ajmani
See Also:
Serialized Form

Field Summary
 
Fields inherited from class sdsi.Cert
certDisplayDefined, commentDefined, delegate, issuer, s, t, valid, versionDefined
 
Fields inherited from class sdsi.SDSIObject
_hash, _modified, srep
 
Constructor Summary
Auth(SDSIPrincipal p, Subject s, Tag t, boolean prop, Validity v)
          Creates a new Auth from an Issuer, a Subject, a Tag, a propagate boolean, and a Validity
Auth(SexpList l, SDSIPrincipal issuer)
           
 
Method Summary
 java.lang.String getAbbreviation()
          Returns a single or double letter abbreviation this SDSIObject.
 boolean getDelegate()
           
 Tag getTag()
           
 java.lang.String getType()
          Returns a short string that represents the type of this SDSIObject.
 Cert reduce(Cert cert)
           
 boolean reduces(Cert cert)
           
 java.lang.String toShortString()
          Returns a short descriptive string representing this SDSIObject.
 
Methods inherited from class sdsi.Cert
create, getIssuer, getSubject, getValidity, isReducing, parseItem, reducedTag, reducedValidity, sameAs, valid
 
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
 
Methods inherited from interface sdsi.SequenceItem
getSrep
 

Constructor Detail

Auth

public Auth(SDSIPrincipal p,
            Subject s,
            Tag t,
            boolean prop,
            Validity v)
Creates a new Auth from an Issuer, a Subject, a Tag, a propagate boolean, and a Validity


Auth

public Auth(SexpList l,
            SDSIPrincipal issuer)
     throws SexpParseException
Method Detail

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.

getTag

public Tag getTag()

getDelegate

public boolean getDelegate()

reduces

public boolean reduces(Cert cert)
Specified by:
reduces in class Cert

reduce

public Cert reduce(Cert cert)
Specified by:
reduce in class Cert