1#ifndef XRPL_TEST_JTX_CREDENTIALS_H_INCLUDED
2#define XRPL_TEST_JTX_CREDENTIALS_H_INCLUDED
4#include <test/jtx/Account.h>
5#include <test/jtx/Env.h>
6#include <test/jtx/owners.h>
12namespace credentials {
38 jtx.
jv[sfURI.jsonName] =
uri_;
An immutable linear range of bytes.
Immutable cryptographic account descriptor.
AccountID id() const
Returns the Account ID.
A transaction testing environment.
std::vector< std::string > const credentials_
ids(std::vector< std::string > const &creds)
void operator()(jtx::Env &, jtx::JTx &jtx) const
void operator()(jtx::Env &, jtx::JTx &jtx) const
@ arrayValue
array value (ordered list)
Keylet credential(AccountID const &subject, AccountID const &issuer, Slice const &credType) noexcept
Json::Value create(jtx::Account const &subject, jtx::Account const &issuer, std::string_view credType)
Json::Value accept(jtx::Account const &subject, jtx::Account const &issuer, std::string_view credType)
Keylet keylet(test::jtx::Account const &subject, test::jtx::Account const &issuer, std::string_view credType)
Json::Value deleteCred(jtx::Account const &acc, jtx::Account const &subject, jtx::Account const &issuer, std::string_view credType)
Json::Value ledgerEntry(jtx::Env &env, jtx::Account const &subject, jtx::Account const &issuer, std::string_view credType)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::string strHex(FwdIt begin, FwdIt end)
A pair of SHAMap key and LedgerEntryType.
Execution context for applying a JSON transaction.