Uses of Class
net.finmath.decryptionoracle.keys.demo.base.OnChainCallBase
Packages that use OnChainCallBase
Package
Description
Classes and Programs that conveniently allow a test of the decryption oracle.
-
Uses of OnChainCallBase in net.finmath.decryptionoracle.keys.demo
Subclasses of OnChainCallBase in net.finmath.decryptionoracle.keys.demoModifier and TypeClassDescriptionclassTriggers 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.classTriggers 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.classTriggerFullCyclePayable class.