jsdsi
Class Cert
java.lang.Object
jsdsi.Obj
jsdsi.Cert
- All Implemented Interfaces:
- Element, java.io.Serializable
- Direct Known Subclasses:
- AuthCert, NameCert
- public abstract class Cert
- extends Obj
- implements Element
A single SPKI/SDSI certificate.
- Version:
- $Revision: 1.5.2.1 $ $Date: 2005/11/08 03:12:52 $
- Author:
- Sameer Ajmani, Sean Radford
- See Also:
AuthCert
,
NameCert
,
Serialized Form
Fields inherited from class jsdsi.Obj |
_obj |
Constructor Summary |
Cert(Principal i,
Subject s,
Validity v,
java.lang.String d,
java.lang.String c)
Creates a new Cert using a given issuer, subject, validity,
display string, and comment. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Cert
public Cert(Principal i,
Subject s,
Validity v,
java.lang.String d,
java.lang.String c)
- Creates a new
Cert
using a given issuer, subject, validity,
display string, and comment.
- Parameters:
i
- issuer of this Cert
.s
- subject of this Cert
.v
- validity of this Cert
.d
- display-string of this Cert
.c
- comment of this Cert
.
getIssuer
public Principal getIssuer()
- Returns:
- the issuer of this
Cert
.
getSubject
public Subject getSubject()
- Returns:
- the subject of this
Cert
.
getValidity
public Validity getValidity()
- Returns:
- the validity of this
Cert
.
getComment
public java.lang.String getComment()
- Returns:
- the comment of this
Cert
.
getDisplay
public java.lang.String getDisplay()
- Returns:
- the display string of this
Cert
.
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class Obj
- See Also:
Object.equals(Object)
implies
public boolean implies(Cert c)
- Returns:
- true iff this is at least as strong as c
hashCode
public int hashCode()
- Specified by:
hashCode
in class Obj
- See Also:
Object.hashCode()
Copyright © 2002-2006 JSDSI. All Rights Reserved.