jsdsi
Class AuthCert

java.lang.Object
  |
  +--jsdsi.Obj
        |
        +--jsdsi.Cert
              |
              +--jsdsi.AuthCert
All Implemented Interfaces:
Element

public class AuthCert
extends Cert

A SPKI authorization certificate: conveys a permission (the Tag) from the issuer to the subject. If the propagate flag is set, the subject can further delegate the permission.

Author:
Sameer Ajmani
See Also:
Cert

Nested Class Summary
 
Nested classes inherited from class jsdsi.Element
Element.Default
 
Constructor Summary
AuthCert(Principal i, Subject s, Validity v, java.lang.String d, java.lang.String c, Tag t, boolean p)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 boolean getPropagate()
           
 Tag getTag()
           
 int hashCode()
           
 SexpList toSexp()
           
 
Methods inherited from class jsdsi.Cert
getComment, getDisplay, getIssuer, getSubject, getValidity, parseCert
 
Methods inherited from class jsdsi.Obj
parseObj, parseObj, toByteArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthCert

public AuthCert(Principal i,
                Subject s,
                Validity v,
                java.lang.String d,
                java.lang.String c,
                Tag t,
                boolean p)
Method Detail

getTag

public Tag getTag()

getPropagate

public boolean getPropagate()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class Cert

hashCode

public int hashCode()
Overrides:
hashCode in class Cert

toSexp

public SexpList toSexp()
Specified by:
toSexp in interface Element
Specified by:
toSexp in class Obj