Index

B C D E F G H K L M N O P R S T U V X 
All Classes and Interfaces|All Packages

B

Base64BytesAdapter - Class in net.finmath.decryptionoracle.decryption.keys
Base64BytesAdapter class.
Base64BytesAdapter() - Constructor for class net.finmath.decryptionoracle.decryption.keys.Base64BytesAdapter
 
bytesToHex(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
 

C

computeArgsHash(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments
Compute argsHash = keccak256(abiEncodedArguments).
contractGasProvider(Web3j, GasFeeProperties) - Method in class net.finmath.decryptionoracle.config.GasFeeConfig
contractGasProvider.

D

decode(byte[]) - Method in enum class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation.KeyFormat
 
decrypt(byte[]) - Method in interface net.finmath.decryptionoracle.decryption.DecryptionOracle
Decrypt an encrypted key E(K).
decrypt(byte[]) - Method in class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
Decrypt an encrypted key E(K).
decrypt(PrivateKey, byte[]) - Method in class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
decrypt.
decrypt(PrivateKey, byte[]) - Method in interface net.finmath.decryptionoracle.decryption.PublicPrivateEncryptionDecryption
decrypt.
decrypt(PrivateKey, byte[]) - Method in class net.finmath.decryptionoracle.decryption.PublicPrivateEncryptionDecryptionRSA
decrypt.
decrypt(PrivateKey, byte[]) - Method in class net.finmath.decryptionoracle.decryption.PublicPrivateEncryptionDecryptionRSAAESHybrid
decrypt.
decryptIfVerified(byte[], String, byte[]) - Method in interface net.finmath.decryptionoracle.decryption.DecryptionOracle
Performs a verification of the given encrypted key E(K), extracting the contract and the transaction, returning the decryption K, if the given contract and transaction match the extracted values.
decryptionOracle() - Method in class net.finmath.decryptionoracle.config.DecryptionOracleConfig
DecryptionOracle configuration.
DecryptionOracle - Interface in net.finmath.decryptionoracle.decryption
Decryption Oracle Interface.
DecryptionOracleConfig - Class in net.finmath.decryptionoracle.config
Configuration of the description oracle.
DecryptionOracleConfig() - Constructor for class net.finmath.decryptionoracle.config.DecryptionOracleConfig
 
DecryptionOracleImplementation - Class in net.finmath.decryptionoracle.decryption
Implementation of a DecryptionOracle using RSA.
DecryptionOracleImplementation(PublicKey) - Constructor for class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
Constructor for DecryptionOracleImplementation.
DecryptionOracleImplementation(PublicKey, PrivateKey) - Constructor for class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
Constructor for DecryptionOracleImplementation.
DecryptionOracleImplementation(PublicPrivateEncryptionDecryption, PublicKey, PrivateKey) - Constructor for class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
Constructor for DecryptionOracleImplementation.
DecryptionOracleImplementation(PublicPrivateEncryptionDecryption, PublicKey, PrivateKey, UnaryOperator<byte[]>) - Constructor for class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
Construct the DecryptionOracleImplementation.
DecryptionOracleImplementation(PublicPrivateEncryptionDecryption, PublicKey, PrivateKey, DecryptionOracleImplementation.KeyFormat, UnaryOperator<byte[]>) - Constructor for class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
Construct the DecryptionOracleImplementation.
DecryptionOracleImplementation.KeyFormat - Enum Class in net.finmath.decryptionoracle.decryption
Spcifies the desired key format.
Deploy - Class in net.finmath.decryptionoracle.util
Deploy class.
Deploy() - Constructor for class net.finmath.decryptionoracle.util.Deploy
 

E

encode(byte[]) - Method in enum class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation.KeyFormat
 
encrypt(PublicKey, byte[]) - Method in class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
encrypt.
encrypt(PublicKey, byte[]) - Method in interface net.finmath.decryptionoracle.decryption.PublicPrivateEncryptionDecryption
encrypt.
encrypt(PublicKey, byte[]) - Method in class net.finmath.decryptionoracle.decryption.PublicPrivateEncryptionDecryptionRSA
encrypt.
encrypt(PublicKey, byte[]) - Method in class net.finmath.decryptionoracle.decryption.PublicPrivateEncryptionDecryptionRSAAESHybrid
encrypt.
EncryptedHashedArguments - Class in net.finmath.decryptionoracle.decryption.arguments
Java representation of the Solidity struct EncryptedHashedArguments: struct EncryptedHashedArguments { bytes32 argsHash; bytes32 publicKeyId; bytes ciphertext; } This class does not perform encryption itself; you pass in the ciphertext.
EncryptedHashedArguments(byte[], byte[], byte[]) - Constructor for class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments
Constructor for EncryptedHashedArguments.
EncryptedHashedKey - Class in net.finmath.decryptionoracle.decryption.keys
Pair of encrypted key E(K) and hashed key H(K).
EncryptedHashedKey(byte[], byte[]) - Constructor for class net.finmath.decryptionoracle.decryption.keys.EncryptedHashedKey
Constructor for EncryptedHashedKey.
EncryptionCLITool - Class in net.finmath.decryptionoracle.cli
Command line tool to create the encryption of the argumentDescriptor.
EncryptionCLITool() - Constructor for class net.finmath.decryptionoracle.cli.EncryptionCLITool
 
equals(Object) - Method in class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments

F

fromProperty(String) - Static method in enum class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation.KeyFormat
Converts a raw string to the enum, allows property format (lower case with separating "-").

G

GasFeeConfig - Class in net.finmath.decryptionoracle.config
EIP-1559 gas provider with tip floor + capped max fee.
GasFeeConfig() - Constructor for class net.finmath.decryptionoracle.config.GasFeeConfig
 
GasFeeProperties - Class in net.finmath.decryptionoracle.config
GasFeeProperties class.
GasFeeProperties() - Constructor for class net.finmath.decryptionoracle.config.GasFeeProperties
Create the GasFeeProperties bean.
generate(String, String) - Static method in class net.finmath.decryptionoracle.decryption.keys.KeyPairDERGenerator
generate.
generateEncryptedHashedKey(String, byte[]) - Method in interface net.finmath.decryptionoracle.decryption.DecryptionOracle
Generate a key for a given contract and transaction.
generateEncryptedHashedKey(String, byte[]) - Method in class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
Generate a key for a given contract and transaction.
generateKey(String, byte[]) - Method in interface net.finmath.decryptionoracle.decryption.DecryptionOracle
Generate a key K for a given contract and transaction.
generateKey(String, byte[]) - Method in class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
Generate a key K for a given contract and transaction.
generateRandomSecret() - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
Generate a random secrete (base64 encoded).
getArgsHash() - Method in class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments
Getter for the field argsHash.
getBase64(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
getBase64.
getCiphertext() - Method in class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments
Getter for the field ciphertext.
getContract() - Method in class net.finmath.decryptionoracle.decryption.keys.KeyVerification
Getter for the field contract.
getContract() - Method in class net.finmath.decryptionoracle.decryption.keys.ReleaseKey
Getter for the field contract.
getEncryptedKey() - Method in class net.finmath.decryptionoracle.decryption.keys.EncryptedHashedKey
Getter for the field encryptedKey.
getHashedKey() - Method in class net.finmath.decryptionoracle.decryption.keys.EncryptedHashedKey
Getter for the field hashedKey.
getHashedKey() - Method in class net.finmath.decryptionoracle.decryption.keys.KeyVerification
Getter for the field hashedKey.
getHex(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
getHex.
getHexTrimmed(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
getHexTrimmed.
getHexTrimmed(byte[], int) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
getHexTrimmed.
getKeccak256Hashed(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
Generate a hash from a string.
getLimitDefault() - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Getter for the field limitDefault.
getLimitFulfillDecryption() - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Getter for the field limitFulfillDecryption.
getLimitFulfillEncryptedHashedKeyGeneration() - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
getLimitFulfillEncryptedHashedKeysGeneration() - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Getter for the field limitFulfillEncryptedHashedKeysGeneration.
getLimitFulfillEncryptedKeysVerification() - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Getter for the field limitFulfillEncryptedKeysVerification.
getLimitFulfillVerification() - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
getMaxFeeWei() - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Getter for the field maxFeeGwei.
getMinPriorityFeeWei() - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Getter for the field minPriorityFeeWei.
getPublicKeyId() - Method in class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments
Getter for the field publicKeyId.
getRIPEMD160Hashed(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
 
getSha256Hashed(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
SHA-256 hash, as Hex-String (UTF-8 bytes).
getTransaction() - Method in class net.finmath.decryptionoracle.decryption.keys.KeyVerification
Getter for the field transaction.
getTransaction() - Method in class net.finmath.decryptionoracle.decryption.keys.ReleaseKey
Getter for the field transaction.
getValue() - Method in class net.finmath.decryptionoracle.decryption.keys.ReleaseKey
Getter for the field value.

H

hashCode() - Method in class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments
HEX - Enum constant in enum class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation.KeyFormat
The keyformat is a byte sequence that represent an string that uses an even number of [0-9A-Fa-f].
hexToBytes(String) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
 

K

Keccak256Digest(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
Keccak256Digest.
KeyPairDERGenerator - Class in net.finmath.decryptionoracle.decryption.keys
Generator for public-private-key pair used for encryption and decryption.
KeyPairDERGenerator() - Constructor for class net.finmath.decryptionoracle.decryption.keys.KeyPairDERGenerator
 
KeyVerification - Class in net.finmath.decryptionoracle.decryption.keys
Key verification result consisting of contract, transaction and hashed key H(K).
KeyVerification(String, byte[], byte[]) - Constructor for class net.finmath.decryptionoracle.decryption.keys.KeyVerification
Constructor for KeyVerification.

L

limitFor(String) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Resolve a sensible gas limit by function name.
logger - Static variable in interface net.finmath.decryptionoracle.decryption.DecryptionOracle
Constant logger

M

main(String[]) - Static method in class net.finmath.decryptionoracle.cli.EncryptionCLITool
main.
main(String[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.KeyPairDERGenerator
main.
main(String[]) - Static method in class net.finmath.decryptionoracle.util.Deploy
main.
main(String[]) - Static method in class net.finmath.decryptionoracle.util.SetFees
main.
marshal(byte[]) - Method in class net.finmath.decryptionoracle.decryption.keys.Base64BytesAdapter
marshalClassToXMLString(T) - Static method in class net.finmath.decryptionoracle.decryption.xml.XMLUtils
Generic object-to-XML-string converter for all annotated classes

N

net.finmath.decryptionoracle.cli - package net.finmath.decryptionoracle.cli
Command line utilities for encryption/decryption
net.finmath.decryptionoracle.config - package net.finmath.decryptionoracle.config
Configuration class (bean creation)
net.finmath.decryptionoracle.decryption - package net.finmath.decryptionoracle.decryption
Decryption Oracle Interface and Implementations (different flavors)
net.finmath.decryptionoracle.decryption.arguments - package net.finmath.decryptionoracle.decryption.arguments
 
net.finmath.decryptionoracle.decryption.keys - package net.finmath.decryptionoracle.decryption.keys
Types and Utilitites related to keys - K, E(K), H(K)
net.finmath.decryptionoracle.decryption.xml - package net.finmath.decryptionoracle.decryption.xml
Key XML
net.finmath.decryptionoracle.util - package net.finmath.decryptionoracle.util
Utilities - e.g. to deploy the DecprytionOracleContract on the chain.

O

of(byte[], byte[], byte[]) - Static method in class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments
Convenience factory: compute argsHash from plaintext ABI-encoded arguments.

P

privateKeyFromPath(Path) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
privateKeyFromPath.
publicKeyFromPath(Path) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
publicKeyFromPath.
PublicPrivateEncryptionDecryption - Interface in net.finmath.decryptionoracle.decryption
Interface for different encryption/decryption methods.
PublicPrivateEncryptionDecryptionRSA - Class in net.finmath.decryptionoracle.decryption
Standard RSA encryption and decryption.
PublicPrivateEncryptionDecryptionRSA() - Constructor for class net.finmath.decryptionoracle.decryption.PublicPrivateEncryptionDecryptionRSA
 
PublicPrivateEncryptionDecryptionRSAAESHybrid - Class in net.finmath.decryptionoracle.decryption
Hybrid RSA+AES encryption and decryption.
PublicPrivateEncryptionDecryptionRSAAESHybrid() - Constructor for class net.finmath.decryptionoracle.decryption.PublicPrivateEncryptionDecryptionRSAAESHybrid
 

R

recordFailureAndIsDone() - Method in class net.finmath.decryptionoracle.util.RetryState
 
recordOutcomeAndIsDone(boolean) - Method in class net.finmath.decryptionoracle.util.RetryState
 
recordSuccessAndIsDone() - Method in class net.finmath.decryptionoracle.util.RetryState
 
ReleaseKey - Class in net.finmath.decryptionoracle.decryption.keys
Release Key K Definition of the release key according to https://ssrn.com/abstract=4628811
ReleaseKey(byte[], String, byte[]) - Constructor for class net.finmath.decryptionoracle.decryption.keys.ReleaseKey
Constructor for ReleaseKey.
retries() - Method in class net.finmath.decryptionoracle.util.RetryState
 
RetryState - Class in net.finmath.decryptionoracle.util
Tiny helper to count retries.
RetryState(long) - Constructor for class net.finmath.decryptionoracle.util.RetryState
 

S

SetFees - Class in net.finmath.decryptionoracle.util
SetFees class.
SetFees() - Constructor for class net.finmath.decryptionoracle.util.SetFees
 
setLimitDefault(long) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Setter for the field limitDefault.
setLimitFulfillDecryption(Long) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Setter for the field limitFulfillDecryption.
setLimitFulfillEncryptedHashedKeyGeneration(Long) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
setLimitFulfillEncryptedHashedKeysGeneration(Long) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Setter for the field limitFulfillEncryptedHashedKeysGeneration.
setLimitFulfillEncryptedKeysVerification(Long) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Setter for the field limitFulfillEncryptedKeysVerification.
setLimitFulfillVerification(Long) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
setMaxFeeWei(long) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Setter for the field maxFeeWei.
setMinPriorityFeeWei(long) - Method in class net.finmath.decryptionoracle.config.GasFeeProperties
Setter for the field minPriorityFeeWei.
strip0x(String) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
 

T

toBase64(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Base64BytesAdapter
toBase64.
toHexBytes(byte[]) - Static method in class net.finmath.decryptionoracle.decryption.keys.Util
 
toString() - Method in class net.finmath.decryptionoracle.decryption.arguments.EncryptedHashedArguments

U

unmarshal(String) - Method in class net.finmath.decryptionoracle.decryption.keys.Base64BytesAdapter
unmarshalXml(String, Class<T>) - Static method in class net.finmath.decryptionoracle.decryption.xml.XMLUtils
unmarshalXml.
Util - Class in net.finmath.decryptionoracle.decryption.keys
Utilities related to encryption/decryption/hashing
Util() - Constructor for class net.finmath.decryptionoracle.decryption.keys.Util
 

V

valueOf(String) - Static method in enum class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation.KeyFormat
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation.KeyFormat
Returns an array containing the constants of this enum class, in the order they are declared.
verify(byte[]) - Method in interface net.finmath.decryptionoracle.decryption.DecryptionOracle
From an encrypted key E(K) generated the KeyVerification.
verify(byte[]) - Method in class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation
From an encrypted key E(K) generated the KeyVerification.

X

XML - Enum constant in enum class net.finmath.decryptionoracle.decryption.DecryptionOracleImplementation.KeyFormat
The keyformat is a byte sequence that represent an UTF-8 string of an XML.
XMLUtils - Class in net.finmath.decryptionoracle.decryption.xml
XML Utilities. marshal and unmarshal to/form XML.
B C D E F G H K L M N O P R S T U V X 
All Classes and Interfaces|All Packages