cryptix.pgp
Class EncryptedBigInt

java.lang.Object
  |
  +--cryptix.util.Streamable
        |
        +--cryptix.pgp.EncryptedBigInt
All Implemented Interfaces:
StreamInterface

final class EncryptedBigInt
extends Streamable

An encrypted BigInteger class (used by SecretKeyCertificate).

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

$Revision: 1.1.1.1 $

Since:
Cryptix 2.2 or earlier
Author:
unattributed

Constructor Summary
(package private) EncryptedBigInt(BigInteger num, StreamCipher cipher)
           
(package private) EncryptedBigInt(java.io.DataInput in)
           
 
Method Summary
 int checksum()
           
(package private)  BigInteger decrypt(StreamCipher cipher)
           
 void read(java.io.DataInput in)
          Reads 'this' from the DataInput object.
 void write(java.io.DataOutput out)
          Writes 'this' to the DataOutput object.
 
Methods inherited from class cryptix.util.Streamable
load, save
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedBigInt

EncryptedBigInt(java.io.DataInput in)
          throws java.io.IOException

EncryptedBigInt

EncryptedBigInt(BigInteger num,
                StreamCipher cipher)
Method Detail

decrypt

BigInteger decrypt(StreamCipher cipher)

read

public void read(java.io.DataInput in)
          throws java.io.IOException
Description copied from interface: StreamInterface
Reads 'this' from the DataInput object.

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Description copied from interface: StreamInterface
Writes 'this' to the DataOutput object.

checksum

public int checksum()