Index
All Classes|All Packages
A
- AESEncryption - Class in encryption
-
Class to handle AES encryption: Key generating Encryption and decryption
- AESEncryption() - Constructor for class encryption.AESEncryption
- API - package API
- apiDELETENode(String, String) - Static method in class API.APIService
-
Specific post method to publish a node to the OnionRouterServer
- apiGETRequest(String) - Static method in class API.APIService
-
Method to make GET request
- apiPOSTNode(String, String) - Static method in class API.APIService
-
Specific post method to publish a node to the OnionRouterServer
- APIService - Class in API
-
Class to make api calls
- APIService() - Constructor for class API.APIService
C
- client - package client
- Client - Class in client
-
Client class for an onion router Connects to the node network and sends a message thru it.
- Client() - Constructor for class client.Client
D
- decrypt(String, SecretKey) - Method in class encryption.AESEncryption
-
Decrypts an AES encrypted string
E
- encrypt(String, SecretKey) - Method in class encryption.AESEncryption
-
Encrypts a string using AES encryption
- encryption - package encryption
G
- generateCircuit(int) - Method in class client.NodePool
- getAesKey() - Method in class model.Node
- getAESKey() - Method in class encryption.AESEncryption
-
Generates a random AES key
- getHost() - Method in class model.Node
- getPort() - Method in class model.Node
- getPrivateKey() - Method in class encryption.RSAEncryption
- getPublicKey() - Method in class encryption.RSAEncryption
K
- keyFromString(String) - Method in class encryption.RSAEncryption
M
- main(String[]) - Static method in class client.Client
- main(String[]) - Static method in class node.NodeMain
- model - package model
N
- node - package node
- Node - Class in model
-
Class to represent a node.
- Node(String, int) - Constructor for class model.Node
- Node(SecretKey, String, int) - Constructor for class model.Node
- NodeMain - Class in node
-
Class to start run an instance of a node To be able to handle several requests it uses threads to handle requests
- NodeMain() - Constructor for class node.NodeMain
- NodePool - Class in client
- NodePool(String) - Constructor for class client.NodePool
-
Connects to the nodeServerApi and fetches all active nodes in the network
- NodeThread - Class in node
-
Class to handle the node logic.
- NodeThread(Socket, Node) - Constructor for class node.NodeThread
R
- rsaDecrypt(String, PrivateKey) - Method in class encryption.RSAEncryption
-
Decrypts a message with the RSA encryption algorithm
- rsaEncrypt(byte[], PublicKey) - Method in class encryption.RSAEncryption
-
Encrypts a string using RSA encryption algorithm
- RSAEncryption - Class in encryption
- RSAEncryption() - Constructor for class encryption.RSAEncryption
- run() - Method in class node.NodeThread
-
Receive a message, check if readable or encrypted if encrypted find next node, if readable send request to server.
S
- setAesKey(SecretKey) - Method in class model.Node
- setHost(String) - Method in class model.Node
- setPort(int) - Method in class model.Node
T
- toString() - Method in class model.Node
All Classes|All Packages