28 #include <boost/algorithm/string/case_conv.hpp> 69 static std::string
iban(std::string _c, std::string _d);
71 static std::pair<std::string, std::string>
fromIBAN(std::string _iban);
std::string encoded() const
std::pair< Address, bytes > lookup(std::function< bytes(Address, bytes)> const &_call, Address const &_reg) const
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
static std::pair< std::string, std::string > fromIBAN(std::string _iban)
#define function(a, b, c, d, k, s)
std::pair< Address, bytes > address(std::function< bytes(Address, bytes)> const &_call, Address const &_reg) const
std::string const & client() const
ICAP(std::string const &_c, std::string const &_i, std::string const &_a)
Construct an indirect ICAP object for given client, institution and asset names. You generally don't ...
ICAP(std::string const &_client, std::string const &_inst)
Construct an indirect ICAP object for given client and institution names.
std::string m_institution
h160 Address
An Ethereum address: 20 bytes.
std::string const & asset() const
std::string const & target() const
static ICAP decoded(std::string const &_encoded)
static std::string iban(std::string _c, std::string _d)
std::string const & institution() const
static Secret createDirect()
Create a direct address for ICAP.
Address ZeroAddress
The zero address.
std::vector< byte > bytes
Fixed-size raw-byte array container type, with an API optimised for storing hashes.
ICAP(Address const &_target)
Construct a direct ICAP object for given target address. Must have a zero first byte.
Encapsulation of an ICAP address.
Address const & direct() const
Type
Type of ICAP address.
DEV_SIMPLE_EXCEPTION(InvalidSealEngine)
ICAP()=default
Construct null ICAP object.