All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ajanta.util.KeyCertificate

java.lang.Object
   |
   +----ajanta.util.KeyCertificate

public class KeyCertificate
extends Object
implements Certificate

Constructor Index

 o KeyCertificate(String, PublicKey, PrivateKey)

Method Index

 o decode(InputStream)
 o encode(OutputStream)
 o getFormat()
 o getGuarantor()
 o getPrincipal()
 o getPublicKey()
 o getSignature()
 o toString(boolean)
 o verify(PublicKey)

Constructors

 o KeyCertificate
 public KeyCertificate(String n,
                       PublicKey p,
                       PrivateKey nsKey) throws KeyManagementException, IOException, SignatureException, NoSuchAlgorithmException, InvalidKeyException

Methods

 o decode
 public void decode(InputStream i) throws KeyException, IOException
 o encode
 public void encode(OutputStream o) throws KeyException, IOException
 o getFormat
 public String getFormat()
 o getGuarantor
 public Principal getGuarantor()
 o getPublicKey
 public PublicKey getPublicKey()
 o getPrincipal
 public Principal getPrincipal()
 o toString
 public String toString(boolean detailed)
 o getSignature
 public byte[] getSignature()
 o verify
 public boolean verify(PublicKey k) throws NoSuchAlgorithmException, InvalidKeyException, IOException, SignatureException

All Packages  Class Hierarchy  This Package  Previous  Next  Index