jsdsi
Class NameCert

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

public class NameCert
extends Cert

A SDSI name certificate: associates a string (a local name) with a Subject in the issuer's local namespace.

Author:
Sameer Ajmani

Nested Class Summary
 
Nested classes inherited from class jsdsi.Element
Element.Default
 
Constructor Summary
NameCert(Principal i, Subject s, Validity v, java.lang.String d, java.lang.String c, java.lang.String n)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Name getFullName()
           
 java.lang.String getName()
           
 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

NameCert

public NameCert(Principal i,
                Subject s,
                Validity v,
                java.lang.String d,
                java.lang.String c,
                java.lang.String n)
Method Detail

getName

public java.lang.String getName()

getFullName

public Name getFullName()

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