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
DOCUMENT ME.

Copyright © 1995-1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.1.1.1 $

Author:
original author not stated

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.
 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