1 #ifndef ENCRYPTION_TENTACLE_CLASS
2 #define ENCRYPTION_TENTACLE_CLASS
A very common template for a dynamic array of bytes.
Outcomes describe the state of completion for an operation.
Supports public key encryption and decryption.
Processes the encryption_infoton object for setting up an encrypted channel.
virtual void expunge(const octopus_entity &to_remove)
throws out any keys we were maintaining for this entity.
key_repository & keys() const
provides access to our list of keys.
const crypto::rsa_crypto & private_key() const
provides access to the key held here.
virtual basis::outcome consume(infoton &to_chow, const octopus_request_id &item_id, basis::byte_array &transformed)
the base class handles the processing of the request in "to_chow".
encryption_tentacle()
this tentacle will implement the server side.
DEFINE_CLASS_NAME("encryption_tentacle")
virtual ~encryption_tentacle()
virtual basis::outcome reconstitute(const structures::string_array &classifier, basis::byte_array &packed_form, infoton *&reformed)
recreates a "reformed" infoton from a packed form.
An infoton is an individual request parcel with accompanying information.
Provides a way of identifying users of an octopus object.
Identifies requests made on an octopus by users.
provides prefab implementations for parts of the tentacle object.
An array of strings with some additional helpful methods.
Automates some common tasks for tentacle implementations. This template provides some default impleme...