Class OnChainCallBase
java.lang.Object
net.finmath.decryptionoracle.keys.demo.base.OnChainCallBase
- Direct Known Subclasses:
TriggerFromChainDecryption,TriggerFullCycle,TriggerFullCyclePayable
Triggers a test request by calling:
DummyDecryptionOracleCallback.requestDecrypt(oracle, id, encryptedKey,
receiver, txNote)
It generates a fresh random key (32 bytes), encrypts it with the oracle's RSA
public key using OAEP(SHA-256), base64-encodes the ciphertext, and passes
that as the encryptedKey.
Expected off-chain decryptor: RSA/ECB/OAEPWithSHA-256AndMGF1Padding
Public key PEM path is resolved in this order: 1) env ORACLE_RSA_PUBLIC_PEM
2) deployments/oracle-public.pem
- Author:
- Christian Fries
-
Field Details
-
oracleAddr
-
callbackAddr
-
txMgr
protected final org.web3j.tx.RawTransactionManager txMgr -
rp
protected final org.web3j.tx.response.PollingTransactionReceiptProcessor rp
-
-
Constructor Details
-
OnChainCallBase
public OnChainCallBase()Constructor for OnChainCallBase.
-