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
-
PublicKeyEncrypted(DataInput, int)
-
-
PublicKeyEncrypted(PublicKey, byte[], RandomStream)
-
-
getEncryptionKey()
-
-
getKey(SecretKey)
-
-
getType()
-
-
read(DataInput, int)
-
-
secretKeyID()
- Returns the ID of the secret key needed to decrypt this packet
Can be used with SecretKeyRing.getKey( KeyID keyID, Passphrase passphrase )
-
toString()
-
-
write(DataOutput)
-
PublicKeyEncrypted
public PublicKeyEncrypted(PublicKey publickey,
byte Ideakey[],
RandomStream rand)
PublicKeyEncrypted
public PublicKeyEncrypted(DataInput in,
int length) throws IOException
read
public void read(DataInput in,
int length) throws IOException
- Overrides:
- read in class Packet
write
public int write(DataOutput out) throws IOException
- Overrides:
- write in class Packet
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 )
getEncryptionKey
public BigInteger getEncryptionKey()
getKey
public byte[] getKey(SecretKey key)
toString
public String toString()
- Overrides:
- toString in class Object
getType
public int getType()
- Overrides:
- getType in class Packet
All Packages Class Hierarchy This Package Previous Next Index