C D E G I K M Q S

C

Client - class Client.
 
Client() - Constructor for class Client
 

D

decode(BigInteger) - Method in class Decoder
This takes a BigInteger representing an encoded value and decodes it into an array of bytes representing plain text
Decoder - class Decoder.
This class takes a BigInteger as encoded text and decodes it into an array of bytes.
Decoder(BigInteger, BigInteger) - Constructor for class Decoder
Constructs a new Decoder
dequeue() - Method in class QueueOfBytes
dequeue Precondition The queue must contain at least one data byte.

E

encode(byte[], int) - Method in class Encoder
This takes an array of bytes that are the clear text, encodes it, and returns the bytes as an encoded BigInteger
Encoder - class Encoder.
This class takes an array of bytes as plan text and encodes it.
Encoder(BigInteger, BigInteger) - Constructor for class Encoder
Constructs a new Encoder
enqueue(byte) - Method in class QueueOfBytes
enqueue

G

getBlockOfBytes() - Method in class QueueOfBytes
getBlockOfBytes
getd() - Method in class KeyGen
Accessor methods for d, e, n
gete() - Method in class KeyGen
 
getn() - Method in class KeyGen
 

I

isEmpty() - Method in class QueueOfBytes
isEmpty

K

KeyGen - class KeyGen.
class KeyGen generates keys for RSA.
KeyGen() - Constructor for class KeyGen
Constructs a new KeyGen Postcondition A KeyGen has been created containing the values necessary to encode and decode.
KeyGen(Random, Random) - Constructor for class KeyGen
Constructs a new KeyGen

M

main(String[]) - Static method in class Client
 
main(String[]) - Static method in class Decoder
Tests the Decoder class
main(String[]) - Static method in class Encoder
Tests the Encoder class
main(String[]) - Static method in class KeyGen
Tests the KeyGen class
main(String[]) - Static method in class QueueOfBytes
Test driver for QueueOfBytes
main(String[]) - Static method in class Server
 

Q

QueueOfBytes - class QueueOfBytes.
Class QueueOfBytes uses a LinkedList from the java.util package.
QueueOfBytes() - Constructor for class QueueOfBytes
Constructor

S

Server - class Server.
This class is a simple server.
Server() - Constructor for class Server
 
size() - Method in class QueueOfBytes
size

C D E G I K M Q S