Skip navigation links
A B C D E G H I K M N P R S T V W 

A

aes() - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoFactories
 
aes(byte[]) - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for AES (128b) encryption.
aes(String) - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for AES (128b) encryption.
aes() - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for AES (128b) encryption.
aes() - Method in interface cz.d1x.dxcrypto.encryption.EncryptionFactories
Creates a new engine factory for AES (128 bits).
aes256() - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoFactories
 
aes256(byte[]) - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for AES (256b) encryption.
aes256(String) - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for AES (256b) encryption.
aes256() - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for AES (256b) encryption.
aes256() - Method in interface cz.d1x.dxcrypto.encryption.EncryptionFactories
Creates a new engine factory for AES (256 bits).
AsymmetricEncryptionEngineFactory<PUBKEY,PRIVKEY> - Interface in cz.d1x.dxcrypto.encryption
Interface for factories that are able to provide encryption engines for RSA.
available() - Method in class cz.d1x.dxcrypto.encryption.io.EncryptingInputStream
 

B

Base64Representation - Class in cz.d1x.dxcrypto.common
Implementation that represents byte arrays in Base64 form.
Base64Representation() - Constructor for class cz.d1x.dxcrypto.common.Base64Representation
Creates a new instance of Base64 representation.
build() - Method in class cz.d1x.dxcrypto.encryption.RSAAlgorithmBuilder
Builds a new instance of encryption algorithm.
build() - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Builds a new instance of encryption algorithm.
build() - Method in class cz.d1x.dxcrypto.hash.DigestAlgorithmBuilder
 
build() - Method in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
Builds final hashing algorithm instance.
build() - Method in class cz.d1x.dxcrypto.hash.RepeatingDecoratorBuilder
 
build() - Method in class cz.d1x.dxcrypto.hash.SaltingAdapterBuilder
Builds a salting adapter with hashing algorithm inside.
ByteArray - Class in cz.d1x.dxcrypto.common
Utility class that wraps byte array that can later be used as generic.
ByteArray(byte[]) - Constructor for class cz.d1x.dxcrypto.common.ByteArray
 
ByteArrayFactory - Interface in cz.d1x.dxcrypto.common
Factory that is able to provide byte arrays in given length.
BytesRepresentation - Interface in cz.d1x.dxcrypto.common
Drives how byte arrays should be represented in String instances (typically output of hashing and encryption or input of decryption).
bytesRepresentation(BytesRepresentation) - Method in class cz.d1x.dxcrypto.encryption.RSAAlgorithmBuilder
Sets how byte arrays will be represented in strings.
bytesRepresentation(BytesRepresentation) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets how byte arrays will be represented in strings.
bytesRepresentation - Variable in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
 
bytesRepresentation(BytesRepresentation) - Method in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
Sets how byte arrays will be represented in strings.

C

checkEncoding(String) - Static method in class cz.d1x.dxcrypto.common.Encoding
Checks whether given encoding (name) is supported.
close() - Method in class cz.d1x.dxcrypto.encryption.io.DecryptingOutputStream
 
combine(byte[], byte[]) - Method in interface cz.d1x.dxcrypto.common.Combining
Combines together two byte arrays.
combine(byte[], byte[]) - Method in class cz.d1x.dxcrypto.common.ConcatAlgorithm
 
Combining - Interface in cz.d1x.dxcrypto.common
Algorithm that is able to combine two inputs into one.
CombiningSplitting - Interface in cz.d1x.dxcrypto.common
Algorithm that is able to combine two inputs into one and vice versa split one input back to two originals.
ConcatAlgorithm - Class in cz.d1x.dxcrypto.common
Simple implementation of combine/split algorithm.
ConcatAlgorithm() - Constructor for class cz.d1x.dxcrypto.common.ConcatAlgorithm
Creates a new instance of combine algorithm.
ConcatAlgorithm(int) - Constructor for class cz.d1x.dxcrypto.common.ConcatAlgorithm
Creates a new instance of combine algorithm.
CryptoAsymmetricEngine - Class in cz.d1x.dxcrypto.encryption.crypto
Implementation of encryption engine that uses javax.crypto implementations for asymmetric encryption.
CryptoAsymmetricEngine(String, Key, Key) - Constructor for class cz.d1x.dxcrypto.encryption.crypto.CryptoAsymmetricEngine
 
CryptoFactories - Class in cz.d1x.dxcrypto.encryption.crypto
Factories for engines that use Java standard API (javax.crypto) as encryption implementations.
CryptoFactories() - Constructor for class cz.d1x.dxcrypto.encryption.crypto.CryptoFactories
 
CryptoPBKDF2KeyFactory - Class in cz.d1x.dxcrypto.encryption.crypto
Key factory that uses implementation of PBKDF2 function from javax.crypto for key derivation.
CryptoPBKDF2KeyFactory() - Constructor for class cz.d1x.dxcrypto.encryption.crypto.CryptoPBKDF2KeyFactory
 
CryptoRSAEngineFactory - Class in cz.d1x.dxcrypto.encryption.crypto
Factory that provides EncryptionEngine implementation for RSA algorithm from javax.crypto.
CryptoRSAEngineFactory(String) - Constructor for class cz.d1x.dxcrypto.encryption.crypto.CryptoRSAEngineFactory
 
CryptoSymmetricEngine - Class in cz.d1x.dxcrypto.encryption.crypto
Implementation of encryption engine that uses javax.crypto implementations for symmetric encryption.
CryptoSymmetricEngine(String, byte[]) - Constructor for class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngine
 
CryptoSymmetricEngineFactory - Class in cz.d1x.dxcrypto.encryption.crypto
Factory that provides EncryptionEngine implementation for symmetric algorithms from javax.crypto.
CryptoSymmetricEngineFactory(String) - Constructor for class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngineFactory
Creates a new engine factory for given algorithm.
cz.d1x.dxcrypto.common - package cz.d1x.dxcrypto.common
 
cz.d1x.dxcrypto.encryption - package cz.d1x.dxcrypto.encryption
 
cz.d1x.dxcrypto.encryption.crypto - package cz.d1x.dxcrypto.encryption.crypto
 
cz.d1x.dxcrypto.encryption.io - package cz.d1x.dxcrypto.encryption.io
 
cz.d1x.dxcrypto.encryption.key - package cz.d1x.dxcrypto.encryption.key
 
cz.d1x.dxcrypto.hash - package cz.d1x.dxcrypto.hash
 
cz.d1x.dxcrypto.props - package cz.d1x.dxcrypto.props
 

D

decrypt(byte[], byte[]) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoAsymmetricEngine
 
decrypt(OutputStream, byte[]) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngine
 
decrypt(byte[], byte[]) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngine
 
decrypt(InputStream, byte[]) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngine
 
decrypt(byte[]) - Method in interface cz.d1x.dxcrypto.encryption.EncryptionAlgorithm
Decrypts specified array of bytes.
decrypt(String) - Method in interface cz.d1x.dxcrypto.encryption.EncryptionAlgorithm
Decrypts specified input text using default UTF-8 encoding.
decrypt(byte[], byte[]) - Method in interface cz.d1x.dxcrypto.encryption.EncryptionEngine
Decrypts given input using given initialization vector (if needed)
decrypt(byte[]) - Method in class cz.d1x.dxcrypto.encryption.GenericEncryptionAlgorithm
 
decrypt(String) - Method in class cz.d1x.dxcrypto.encryption.GenericEncryptionAlgorithm
 
decrypt(InputStream) - Method in interface cz.d1x.dxcrypto.encryption.StreamingEncryptionAlgorithm
Decrypts specified InputStream.
decrypt(OutputStream) - Method in interface cz.d1x.dxcrypto.encryption.StreamingEncryptionAlgorithm
Decrypts specified OutputStream.
decrypt(InputStream, byte[]) - Method in interface cz.d1x.dxcrypto.encryption.StreamingEncryptionEngine
Decrypts given InputStream and using given initialization vector (if needed).
decrypt(OutputStream, byte[]) - Method in interface cz.d1x.dxcrypto.encryption.StreamingEncryptionEngine
Decrypts given OutputStream and using given initialization vector (if needed).
DecryptingOutputStream - Class in cz.d1x.dxcrypto.encryption.io
This class is wrapper around given stream and handles first bytes written as IV to initialize cipher.
DecryptingOutputStream(OutputStream, StreamingEncryptionEngine, int) - Constructor for class cz.d1x.dxcrypto.encryption.io.DecryptingOutputStream
 
DEFAULT - Static variable in class cz.d1x.dxcrypto.common.Encoding
 
defaultFactories(EncryptionFactories) - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Sets a new global factories for encryption engines.
derivedKeyFactory() - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoFactories
 
derivedKeyFactory() - Method in interface cz.d1x.dxcrypto.encryption.EncryptionFactories
Creates a new key factory for derived keys (typically by hash function).
DerivedKeyParams - Class in cz.d1x.dxcrypto.encryption.key
Parameters for derivation of encryption key by any hash function.
DerivedKeyParams(byte[], byte[], int, int) - Constructor for class cz.d1x.dxcrypto.encryption.key.DerivedKeyParams
 
DigestAlgorithm - Class in cz.d1x.dxcrypto.hash
Abstract class for hashing algorithm which uses MessageDigest for hashing.
DigestAlgorithm(String, BytesRepresentation, String) - Constructor for class cz.d1x.dxcrypto.hash.DigestAlgorithm
Creates a new instance with given encoding.
DigestAlgorithmBuilder - Class in cz.d1x.dxcrypto.hash
Builder that builds DigestAlgorithm instances.
DigestAlgorithmBuilder(String) - Constructor for class cz.d1x.dxcrypto.hash.DigestAlgorithmBuilder
Creates a new builder.

E

Encoding - Class in cz.d1x.dxcrypto.common
Utilities for internal operations with encoding.
Encoding() - Constructor for class cz.d1x.dxcrypto.common.Encoding
 
encoding(String) - Method in class cz.d1x.dxcrypto.encryption.RSAAlgorithmBuilder
Sets encoding for strings in input and output.
encoding(String) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets encoding for strings in input and output.
encoding - Variable in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
 
encoding(String) - Method in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
Sets encoding for strings of input and output.
encrypt(byte[], byte[]) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoAsymmetricEngine
 
encrypt(byte[], byte[]) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngine
 
encrypt(OutputStream, byte[]) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngine
 
encrypt(InputStream, byte[]) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngine
 
encrypt(byte[]) - Method in interface cz.d1x.dxcrypto.encryption.EncryptionAlgorithm
Encrypts specified array of bytes.
encrypt(String) - Method in interface cz.d1x.dxcrypto.encryption.EncryptionAlgorithm
Encrypts specified input text.
encrypt(byte[], byte[]) - Method in interface cz.d1x.dxcrypto.encryption.EncryptionEngine
Encrypts given input and using given initialization vector (if needed).
encrypt(byte[]) - Method in class cz.d1x.dxcrypto.encryption.GenericEncryptionAlgorithm
 
encrypt(String) - Method in class cz.d1x.dxcrypto.encryption.GenericEncryptionAlgorithm
 
encrypt(InputStream) - Method in interface cz.d1x.dxcrypto.encryption.StreamingEncryptionAlgorithm
Encrypts specified InputStream.
encrypt(OutputStream) - Method in interface cz.d1x.dxcrypto.encryption.StreamingEncryptionAlgorithm
Encrypts specified OutputStream.
encrypt(InputStream, byte[]) - Method in interface cz.d1x.dxcrypto.encryption.StreamingEncryptionEngine
Encrypts given InputStream and using given initialization vector (if needed).
encrypt(OutputStream, byte[]) - Method in interface cz.d1x.dxcrypto.encryption.StreamingEncryptionEngine
Encrypts given OutputStream and using given initialization vector (if needed).
EncryptingInputStream - Class in cz.d1x.dxcrypto.encryption.io
Wrapper around InputStream which reads IV before reading given InputStream
EncryptingInputStream(InputStream, byte[]) - Constructor for class cz.d1x.dxcrypto.encryption.io.EncryptingInputStream
 
EncryptionAlgorithm - Interface in cz.d1x.dxcrypto.encryption
Interface for algorithms that are able to encrypt given input and decrypt it afterwards.
EncryptionAlgorithms - Class in cz.d1x.dxcrypto.encryption
Factory that provides builders for available encryption algorithms.
EncryptionAlgorithms() - Constructor for class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
 
EncryptionEngine - Interface in cz.d1x.dxcrypto.encryption
Interface for encryption engines that are able to encrypt and decrypt inputs.
EncryptionException - Exception in cz.d1x.dxcrypto.encryption
Wrapper for exceptions during encryption or decryption.
EncryptionException(String, Throwable) - Constructor for exception cz.d1x.dxcrypto.encryption.EncryptionException
Creates a new encryption exception.
EncryptionException(String) - Constructor for exception cz.d1x.dxcrypto.encryption.EncryptionException
Creates a new encryption exception.
EncryptionFactories - Interface in cz.d1x.dxcrypto.encryption
Abstract factory for encryption engines and key factories that uses EncryptionAlgorithms.
EncryptionKeyFactory<K,KP> - Interface in cz.d1x.dxcrypto.encryption.key
Interface for creation of encryption key.
engineFactory(AsymmetricEncryptionEngineFactory<RSAKeyParams, RSAKeyParams>) - Method in class cz.d1x.dxcrypto.encryption.RSAAlgorithmBuilder
Sets factory for encryption engine.
engineFactory(SymmetricEncryptionEngineFactory<ByteArray>) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets factory for encryption engine.
extractIv(InputStream) - Method in class cz.d1x.dxcrypto.encryption.io.IvStreamHelper
 

G

generateKeyPair() - Method in class cz.d1x.dxcrypto.encryption.RSAKeysGenerator
Generates a new KeyPair for RSA.
generateKeys() - Method in class cz.d1x.dxcrypto.encryption.RSAKeysGenerator
Generates a new RSA keys.
GenericEncryptionAlgorithm - Class in cz.d1x.dxcrypto.encryption
Main implementation for encryption algorithms that have all logic based on passed EncryptionEngine.
GenericEncryptionAlgorithm(EncryptionEngine, BytesRepresentation, String) - Constructor for class cz.d1x.dxcrypto.encryption.GenericEncryptionAlgorithm
Creates a new instance of generic algorithm that does NOT use initialization vector.
getBytes(int) - Method in interface cz.d1x.dxcrypto.common.ByteArrayFactory
Creates a byte array of given size.
getBytes(String, String) - Static method in class cz.d1x.dxcrypto.common.Encoding
Converts given String with given encoding to byte array representation.
getBytes(String) - Static method in class cz.d1x.dxcrypto.common.Encoding
Converts given String to byte array representation using Encoding.DEFAULT.
getBytes(int) - Method in class cz.d1x.dxcrypto.common.RandomByteArrayFactory
 
getExponent() - Method in class cz.d1x.dxcrypto.encryption.key.RSAKeyParams
Gets exponent of RSA key.
getIterations() - Method in class cz.d1x.dxcrypto.encryption.key.DerivedKeyParams
 
getKeySize() - Method in class cz.d1x.dxcrypto.encryption.key.DerivedKeyParams
 
getModulus() - Method in class cz.d1x.dxcrypto.encryption.key.RSAKeyParams
Gets modulus of RSA key.
getModulus() - Method in class cz.d1x.dxcrypto.encryption.RSAKeysGenerator.RSAKeys
 
getOriginalProperty(String) - Method in class cz.d1x.dxcrypto.props.SecureProperties
Gets original property value under given key.
getPassword() - Method in class cz.d1x.dxcrypto.encryption.key.DerivedKeyParams
 
getPrivateExponent() - Method in class cz.d1x.dxcrypto.encryption.RSAKeysGenerator.RSAKeys
 
getProperty(String) - Method in class cz.d1x.dxcrypto.props.SecureProperties
If the property ends with given suffix (specified in constructor or default), it gets decrypted by defined encryption algorithm.
getProperty(String, String) - Method in class cz.d1x.dxcrypto.props.SecureProperties
If the property ends with given suffix (specified in constructor or default), it gets decrypted by defined encryption algorithm.
getPublicExponent() - Method in class cz.d1x.dxcrypto.encryption.RSAKeysGenerator.RSAKeys
 
getSalt() - Method in class cz.d1x.dxcrypto.encryption.key.DerivedKeyParams
 
getString(byte[], String) - Static method in class cz.d1x.dxcrypto.common.Encoding
Converts given byte array to String with given encoding.
getString(byte[]) - Static method in class cz.d1x.dxcrypto.common.Encoding
Converts given byte array to String using Encoding.DEFAULT.
getValue() - Method in class cz.d1x.dxcrypto.common.ByteArray
Gets a value of wrapped bytes.

H

hash(byte[]) - Method in class cz.d1x.dxcrypto.hash.DigestAlgorithm
 
hash(String) - Method in class cz.d1x.dxcrypto.hash.DigestAlgorithm
 
hash(String) - Method in interface cz.d1x.dxcrypto.hash.HashingAlgorithm
Creates a hash from input text.
hash(byte[]) - Method in interface cz.d1x.dxcrypto.hash.HashingAlgorithm
Creates a hash from input bytes.
hash(String) - Method in class cz.d1x.dxcrypto.hash.RepeatingDecorator
Creates a hash from input text.
hash(byte[]) - Method in class cz.d1x.dxcrypto.hash.RepeatingDecorator
Creates a hash from input bytes.
hash(String, String) - Method in interface cz.d1x.dxcrypto.hash.SaltedHashingAlgorithm
Creates a hash from given input and given salt.
hash(byte[], byte[]) - Method in interface cz.d1x.dxcrypto.hash.SaltedHashingAlgorithm
Creates a hash from given input bytes and given salt bytes.
hash(String, String) - Method in class cz.d1x.dxcrypto.hash.SaltingAdapter
 
hash(byte[], byte[]) - Method in class cz.d1x.dxcrypto.hash.SaltingAdapter
 
HashingAlgorithm - Interface in cz.d1x.dxcrypto.hash
Interface for algorithms that are able to create hash from given input.
HashingAlgorithmBuilder - Class in cz.d1x.dxcrypto.hash
Base builder for all hashing algorithms.
HashingAlgorithmBuilder() - Constructor for class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
 
HashingAlgorithms - Class in cz.d1x.dxcrypto.hash
Factory that provides builders for available hashing algorithms.
HashingAlgorithms() - Constructor for class cz.d1x.dxcrypto.hash.HashingAlgorithms
 
HashingException - Exception in cz.d1x.dxcrypto.hash
Wrapper for exceptions during hashing.
HashingException(String) - Constructor for exception cz.d1x.dxcrypto.hash.HashingException
Creates a new hashing exception.
HashingException(Throwable) - Constructor for exception cz.d1x.dxcrypto.hash.HashingException
Creates a new hashing exception.
HashingException(String, Throwable) - Constructor for exception cz.d1x.dxcrypto.hash.HashingException
Creates a new hashing exception.
HexConverter - Class in cz.d1x.dxcrypto.common
Class for hex conversions.
HexConverter() - Constructor for class cz.d1x.dxcrypto.common.HexConverter
 
HexRepresentation - Class in cz.d1x.dxcrypto.common
Implementation that represents byte arrays in HEX form.
HexRepresentation() - Constructor for class cz.d1x.dxcrypto.common.HexRepresentation
Creates a new instance of HEX representation that uses default lower-cased letters.
HexRepresentation(boolean) - Constructor for class cz.d1x.dxcrypto.common.HexRepresentation
Creates a new instance of HEX representation that uses given casing of letters.

I

inputAndSaltCombining(Combining) - Method in class cz.d1x.dxcrypto.hash.SaltingAdapterBuilder
Sets a custom algorithm for combining input text and salt.
IOUtils - Class in cz.d1x.dxcrypto.encryption.io
Utils class for working with IO
IOUtils() - Constructor for class cz.d1x.dxcrypto.encryption.io.IOUtils
 
isEncrypted(String) - Method in class cz.d1x.dxcrypto.props.SecureProperties
Checks whether property under given key is encrypted.
ivAndOutputCombining(CombiningSplitting) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets algorithm combining initialization vector and cipher text in output during encryption and splitting from input during decryption.
ivFactory(ByteArrayFactory) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets algorithm for generation of initialization vector for every message.
IvStreamHelper - Class in cz.d1x.dxcrypto.encryption.io
Helper class which writes and extracts IV to/from stream
IvStreamHelper(int) - Constructor for class cz.d1x.dxcrypto.encryption.io.IvStreamHelper
 

K

key(byte[]) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Set custom key.
keyDerivation(byte[], byte[], int) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets all parameters for key derivation function.
keyFactory(EncryptionKeyFactory<ByteArray, DerivedKeyParams>) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets a custom key factory.
keyHashIterations(int) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets number of iterations of hashing for key derivation.
keyPassword(byte[]) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets a key password for key derivation.
keyPassword(String) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets a key password for key derivation.
keySalt(byte[]) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets salt for key derivation.
keySalt(String) - Method in class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Sets salt for key derivation.

M

mark(int) - Method in class cz.d1x.dxcrypto.encryption.io.EncryptingInputStream
 
markSupported() - Method in class cz.d1x.dxcrypto.encryption.io.EncryptingInputStream
 
md5() - Static method in class cz.d1x.dxcrypto.hash.HashingAlgorithms
Creates a new builder for MD5 hashing algorithm.

N

newEngine(PUBKEY, PRIVKEY) - Method in interface cz.d1x.dxcrypto.encryption.AsymmetricEncryptionEngineFactory
Creates a new encryption engine.
newEngine(RSAKeyParams, RSAKeyParams) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoRSAEngineFactory
 
newEngine(ByteArray) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoSymmetricEngineFactory
 
newEngine(K) - Method in interface cz.d1x.dxcrypto.encryption.SymmetricEncryptionEngineFactory
Creates a new encryption engine.
newKey(DerivedKeyParams) - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoPBKDF2KeyFactory
 
newKey(KP) - Method in interface cz.d1x.dxcrypto.encryption.key.EncryptionKeyFactory
Creates a new key.

P

parseHexBinary(String) - Static method in class cz.d1x.dxcrypto.common.HexConverter
Converts the string argument into an array of bytes.
printHexBinary(byte[]) - Static method in class cz.d1x.dxcrypto.common.HexConverter
Converts an array of bytes into a string.
privateKey(BigInteger, BigInteger) - Method in class cz.d1x.dxcrypto.encryption.RSAAlgorithmBuilder
Sets private key for decryption of messages.
publicKey(BigInteger, BigInteger) - Method in class cz.d1x.dxcrypto.encryption.RSAAlgorithmBuilder
Sets public key for encryption of messages.

R

RandomByteArrayFactory - Class in cz.d1x.dxcrypto.common
Implementation of ByteArrayFactory that generates random byte arrays.
RandomByteArrayFactory() - Constructor for class cz.d1x.dxcrypto.common.RandomByteArrayFactory
 
read() - Method in class cz.d1x.dxcrypto.encryption.io.EncryptingInputStream
 
read(byte[], int, int) - Method in class cz.d1x.dxcrypto.encryption.io.EncryptingInputStream
 
read(InputStream, byte[]) - Static method in class cz.d1x.dxcrypto.encryption.io.IOUtils
 
repeated(int) - Method in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
Builds a hashing algorithm and wraps it into repeating decorator builder.
RepeatingDecorator - Class in cz.d1x.dxcrypto.hash
Decorator for hashing algorithms which repeats hashing multiple times.
RepeatingDecorator(HashingAlgorithm, int) - Constructor for class cz.d1x.dxcrypto.hash.RepeatingDecorator
Creates a new repeating decorator with specified algorithm a repeats count.
RepeatingDecoratorBuilder - Class in cz.d1x.dxcrypto.hash
Builder for repeating decorator over existing hashing algorithms.
RepeatingDecoratorBuilder(HashingAlgorithm, BytesRepresentation, String) - Constructor for class cz.d1x.dxcrypto.hash.RepeatingDecoratorBuilder
Creates a new builder for repeating decorator with given hashing algorithm.
repeats(int) - Method in class cz.d1x.dxcrypto.hash.RepeatingDecoratorBuilder
Sets repeats for repeating decorator.
reset() - Method in class cz.d1x.dxcrypto.encryption.io.EncryptingInputStream
 
rsa() - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoFactories
 
rsa() - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for RSA encryption.
rsa() - Method in interface cz.d1x.dxcrypto.encryption.EncryptionFactories
Creates a new engine factory for RSA.
RSAAlgorithmBuilder - Class in cz.d1x.dxcrypto.encryption
Base builder for asymmetric key algorithms based on GenericEncryptionAlgorithm.
RSAAlgorithmBuilder(AsymmetricEncryptionEngineFactory<RSAKeyParams, RSAKeyParams>) - Constructor for class cz.d1x.dxcrypto.encryption.RSAAlgorithmBuilder
Creates a new builder.
RSAKeyParams - Class in cz.d1x.dxcrypto.encryption.key
Specification of RSA key.
RSAKeyParams(BigInteger, BigInteger) - Constructor for class cz.d1x.dxcrypto.encryption.key.RSAKeyParams
 
RSAKeys(BigInteger, BigInteger, BigInteger) - Constructor for class cz.d1x.dxcrypto.encryption.RSAKeysGenerator.RSAKeys
 
RSAKeysGenerator - Class in cz.d1x.dxcrypto.encryption
Generator that can provide key pair for RSA encryption.
RSAKeysGenerator() - Constructor for class cz.d1x.dxcrypto.encryption.RSAKeysGenerator
Creates a new generator of RSA keys with default 1024 size of the key.
RSAKeysGenerator(int) - Constructor for class cz.d1x.dxcrypto.encryption.RSAKeysGenerator
Creates a new generator of RSA keys with given key size.
RSAKeysGenerator.RSAKeys - Class in cz.d1x.dxcrypto.encryption
 

S

salted() - Method in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
Builds a hashing algorithm and wraps it by salting adapter builder.
salted(Combining) - Method in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
Builds a hashing algorithm and wraps it by salting adapter builder with custom combine algorithm.
salted() - Method in class cz.d1x.dxcrypto.hash.RepeatingDecoratorBuilder
Builds a repeating decorator and wraps it by salting adapter builder.
salted(Combining) - Method in class cz.d1x.dxcrypto.hash.RepeatingDecoratorBuilder
Builds a repeating decorator and wraps it by salting adapter builder with custom combine algorithm.
SaltedHashingAlgorithm - Interface in cz.d1x.dxcrypto.hash
Interface for algorithms that are able to create hash from given input and given salt.
SaltingAdapter - Class in cz.d1x.dxcrypto.hash
Adapter for hashing algorithms that combines input text and salt before it is processed by adapted algorithm.
SaltingAdapter(HashingAlgorithm, BytesRepresentation, Combining, String) - Constructor for class cz.d1x.dxcrypto.hash.SaltingAdapter
Creates a new salting adapter.
SaltingAdapterBuilder - Class in cz.d1x.dxcrypto.hash
Builder for salted hashing algorithm that is based on existing hashing algorithms.
SaltingAdapterBuilder(HashingAlgorithm, BytesRepresentation, String) - Constructor for class cz.d1x.dxcrypto.hash.SaltingAdapterBuilder
Creates a new builder for salting adapter with given hashing algorithm.
SecureProperties - Class in cz.d1x.dxcrypto.props
Extension of Properties that allows storing and reading encrypted values by given encryption algorithm.
SecureProperties(EncryptionAlgorithm) - Constructor for class cz.d1x.dxcrypto.props.SecureProperties
Creates a new properties that will use given encryption algorithm.
SecureProperties(Properties, EncryptionAlgorithm) - Constructor for class cz.d1x.dxcrypto.props.SecureProperties
Creates a new properties that will use given encryption algorithm.
SecureProperties(EncryptionAlgorithm, String) - Constructor for class cz.d1x.dxcrypto.props.SecureProperties
Creates a new properties that will use given encryption algorithm and given suffix will be used for recognition whether value is encrypted or not.
SecureProperties(Properties, EncryptionAlgorithm, String) - Constructor for class cz.d1x.dxcrypto.props.SecureProperties
Creates a new properties that will use given encryption algorithm and given suffix will be used for recognition whether value is encrypted or not.
setEncryptedProperty(String, String) - Method in class cz.d1x.dxcrypto.props.SecureProperties
Have the same functionality as Properties.setProperty(String, String) but the value gets encrypted before it gets stored within properties.
sha1() - Static method in class cz.d1x.dxcrypto.hash.HashingAlgorithms
Creates a new builder for SHA-1 hashing algorithm.
sha256() - Static method in class cz.d1x.dxcrypto.hash.HashingAlgorithms
Creates a new builder for SHA-256 hashing algorithm.
sha512() - Static method in class cz.d1x.dxcrypto.hash.HashingAlgorithms
Creates a new builder for SHA-512 hashing algorithm.
skip(long) - Method in class cz.d1x.dxcrypto.encryption.io.EncryptingInputStream
 
split(byte[]) - Method in class cz.d1x.dxcrypto.common.ConcatAlgorithm
 
split(byte[]) - Method in interface cz.d1x.dxcrypto.common.Splitting
Splits input (that was combined earlier) back to original.
Splitting - Interface in cz.d1x.dxcrypto.common
Algorithm that is able to split one input into two originals.
StreamingEncryptionAlgorithm - Interface in cz.d1x.dxcrypto.encryption
Interface thats adds encrypt and decrypt streams ability to EncryptionAlgorithm interface.
StreamingEncryptionEngine - Interface in cz.d1x.dxcrypto.encryption
Interface for encryption engines that adds possibility to encrypt and decrypt streams.
SymmetricAlgorithmBuilder - Class in cz.d1x.dxcrypto.encryption
Base builder for symmetric key algorithms based on GenericEncryptionAlgorithm.
SymmetricAlgorithmBuilder(EncryptionFactories, SymmetricEncryptionEngineFactory<ByteArray>, int, int) - Constructor for class cz.d1x.dxcrypto.encryption.SymmetricAlgorithmBuilder
Creates a new builder.
SymmetricEncryptionEngineFactory<K> - Interface in cz.d1x.dxcrypto.encryption
Interface for factories that are able to provide encryption engines.

T

toBytes(String) - Method in class cz.d1x.dxcrypto.common.Base64Representation
Converts given String in this representation back to to byte array.
toBytes(String) - Method in interface cz.d1x.dxcrypto.common.BytesRepresentation
Converts given String in this representation back to to byte array.
toBytes(String) - Method in class cz.d1x.dxcrypto.common.HexRepresentation
Converts given String in this representation back to to byte array.
toString(byte[]) - Method in class cz.d1x.dxcrypto.common.Base64Representation
Converts given byte array to String in this representation.
toString(byte[]) - Method in interface cz.d1x.dxcrypto.common.BytesRepresentation
Converts given byte array to String in this representation.
toString(byte[]) - Method in class cz.d1x.dxcrypto.common.HexRepresentation
Converts given byte array to String in this representation.
tripleDes() - Method in class cz.d1x.dxcrypto.encryption.crypto.CryptoFactories
 
tripleDes(byte[]) - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for 3DES encryption.
tripleDes(String) - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for 3DES encryption.
tripleDes() - Static method in class cz.d1x.dxcrypto.encryption.EncryptionAlgorithms
Creates a new builder for 3DES encryption.
tripleDes() - Method in interface cz.d1x.dxcrypto.encryption.EncryptionFactories
Creates a new engine factory for Triple DES.

V

validateValue(String, String) - Method in class cz.d1x.dxcrypto.props.SecureProperties
Validates whether given expected value is equal to the value in the properties under given key.

W

write(int) - Method in class cz.d1x.dxcrypto.encryption.io.DecryptingOutputStream
 
writeIv(OutputStream, byte[]) - Method in class cz.d1x.dxcrypto.encryption.io.IvStreamHelper
 
A B C D E G H I K M N P R S T V W 
Skip navigation links

Copyright © 2019. All rights reserved.