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

Class cryptix.pgp.PublicKeyEncrypted

java.lang.Object
   |
   +----cryptix.pgp.Packet
           |
           +----cryptix.pgp.PublicKeyEncrypted

public final class PublicKeyEncrypted
extends Packet

Constructor Index

 o PublicKeyEncrypted(DataInput, int)
 o PublicKeyEncrypted(PublicKey, byte[], RandomStream)

Method Index

 o getEncryptionKey()
 o getKey(SecretKey)
 o getType()
 o read(DataInput, int)
 o secretKeyID()
Returns the ID of the secret key needed to decrypt this packet Can be used with SecretKeyRing.getKey( KeyID keyID, Passphrase passphrase )
 o toString()
 o write(DataOutput)

Constructors

 o PublicKeyEncrypted
  public PublicKeyEncrypted(PublicKey publickey,
                            byte Ideakey[],
                            RandomStream rand)
 o PublicKeyEncrypted
  public PublicKeyEncrypted(DataInput in,
                            int length) throws IOException

Methods

 o read
  public void read(DataInput in,
                   int length) throws IOException
Overrides:
read in class Packet
 o write
  public int write(DataOutput out) throws IOException
Overrides:
write in class Packet
 o secretKeyID
  public KeyID secretKeyID()
Returns the ID of the secret key needed to decrypt this packet Can be used with SecretKeyRing.getKey( KeyID keyID, Passphrase passphrase )
 o getEncryptionKey
  public BigInteger getEncryptionKey()
 o getKey
  public byte[] getKey(SecretKey key)
 o toString
  public String toString()
Overrides:
toString in class Object
 o getType
  public int getType()
Overrides:
getType in class Packet

All Packages  Class Hierarchy  This Package  Previous  Next  Index