Interface | Description |
---|---|
BlockCipher |
Defines the interface that must be implemented by symmetric block ciphers
used in the Freenet cryptography architecture
|
CryptoElement |
This is a highest level interface for all crypto objects.
|
PersistentRandomSource |
A
RandomSource which supports writing a seed to disk, and bootstrapping future instances
of it by reading the seed file from disk.If the random number generator used by the node implements this interface, the node is obliged to call PersistentRandomSource.write_seed(boolean) during shutdown to store the seed to disk.This is a benefit in security as entropy can be preserved across restarts of Freenet, to cope with systems which offer low entropy on the system random number generator such as /dev/random. |
Class | Description |
---|---|
AEADCryptBucket |
Encrypted and authenticated Bucket implementation using AES cipher and OCB mode.
|
AEADInputStream | |
AEADOutputStream |
Uses bouncycastle's AEAD code.
|
ChecksumChecker |
Simple utility to check and write checksums.
|
ChecksumOutputStream | |
CRCChecksumChecker | |
CryptByteBuffer |
CryptByteBuffer will encrypt and decrypt both byte[]s and BitSets with a specified
algorithm, key, and also an iv if the algorithm requires one.
|
CryptoKey | |
CTRBlockCipher |
Implements the Segmented Integer Counter (SIC) mode on top of a simple
block cipher.
|
DSAGroup |
Holds DSA group parameters.
|
DSAPrivateKey | |
DSAPublicKey | |
DummyRandomSource | |
ECDH | |
ECDHLightContext | |
ECDSA | |
Ed2MessageDigest |
Implementation of
MessageDigest backed by a Ed2Handler . |
EncryptedRandomAccessBucket |
A Bucket encrypted using the same format as an EncryptedRandomAccessBuffer, which can therefore
be converted easily when needed.
|
EncryptedRandomAccessBuffer |
EncryptedRandomAccessBuffer is a encrypted RandomAccessBuffer implementation using a
SkippingStreamCipher.
|
EntropySource |
A token used as an argument to a RandomSource's acceptTimerEntropy.
|
Global |
This class contains global public keys used by Freenet.
|
HashResult | |
JceLoader | |
KeyAgreementSchemeContext | |
KeyGenUtils |
KeyGenUtils offers a set of methods to easily generate Keys and KeyPairs for
specific algorithms as well as for generating IVs and nonces.
|
MasterSecret |
MasterSecret is a serializable secret used to derive various keys and ivs for local storage in
Freenet.
|
MessageAuthCode |
The MessageAuthCode class will generate the Message Authentication Code of a given set
of bytes using a secret key.
|
MultiHashInputStream | |
MultiHashOutputStream | |
OCBBlockCipher_v149 | Deprecated |
PCFBMode |
Control mechanism for the Periodic Cipher Feed Back mode.
|
RandomSource |
Interface for any random-number source in Freenet
|
SHA256 | |
SSL | |
Util | |
Yarrow |
An implementation of the Yarrow PRNG in Java.
|
Enum | Description |
---|---|
CryptByteBufferType |
Keeps track of properties of different symmetric cipher algorithms
available to Freenet including key type, name of the algorithm,
block size used, and iv length if required.
|
ECDH.Curves | |
ECDSA.Curves | |
EncryptedRandomAccessBufferType |
Stores information about the algorithms used, the version number, and the footer length for a
EncryptedRandomAccessBuffer
|
HashType | |
HMAC |
Implements the HMAC Keyed Message Authentication function, as described in the draft FIPS
standard.
|
KeyPairType |
Keeps track of curve names and specs for EC based algorithms available to Freenet.
|
KeyType |
Keeps track of keysizes, ivsizes, and names of keygen algorithm names for all of the one-way and
symmetric encryption schemes available to Freenet.
|
MACType |
Keeps track of properties of different Message Authentication Code
algorithms available to Freenet including key type, name of the
algorithm, and iv length if required.
|
Exception | Description |
---|---|
AEADVerificationFailedException |
Thrown when the final MAC fails on an AEADInputStream.
|
ChecksumFailedException | |
CryptFormatException | |
UnsupportedCipherException | |
UnsupportedTypeException |
The UnsupportedTypeException is a subclass of IllegalArgumentException.
|