Class cryptix.pgp.SecretKeyCertificate
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.SecretKeyCertificate

java.lang.Object
   |
   +----cryptix.pgp.Packet
           |
           +----cryptix.pgp.Certificate
                   |
                   +----cryptix.pgp.SecretKeyCertificate

public final class SecretKeyCertificate
extends Certificate

Constructor Index

 o SecretKeyCertificate(DataInput, int)
 o SecretKeyCertificate(SecretKey, Passphrase, RandomStream)

Method Index

 o getSecretKey(Passphrase)
 o getType()
 o id()
gets the key id.
 o read(DataInput, int)
 o toString()
 o write(DataOutput)

Constructors

 o SecretKeyCertificate
  public SecretKeyCertificate(SecretKey key0,
                              Passphrase passphrase,
                              RandomStream rand) throws IOException
 o SecretKeyCertificate
  public SecretKeyCertificate(DataInput in,
                              int length) throws IOException

Methods

 o read
  public void read(DataInput in,
                   int length) throws IOException
Overrides:
read in class Certificate
 o write
  public int write(DataOutput out) throws IOException
Overrides:
write in class Certificate
 o getSecretKey
  public SecretKey getSecretKey(Passphrase passphrase) throws DecryptException
 o id
  public final KeyID id()
gets the key id.
Returns:
s The key in the certificate's ID
 o toString
  public String toString()
Overrides:
toString in class Certificate
 o getType
  public int getType()
Overrides:
getType in class Certificate

All Packages  Class Hierarchy  This Package  Previous  Next  Index