20 #include <ripple/protocol/Sign.h>
30 SF_VL const& sigField)
43 SF_VL const& sigField)
45 auto const sig =
get(st, sigField);
A field with a type known at compile time.
An immutable linear range of bytes.
bool verify(PublicKey const &publicKey, Slice const &m, Slice const &sig, bool mustBeFullyCanonical) noexcept
Verify a signature on a message.
@ txMultiSign
inner transaction to multi-sign
void finishMultiSigningData(AccountID const &signingID, Serializer &s)
void const * data() const noexcept
Integers of any length that is a multiple of 32-bits.
HashPrefix
Prefix for hashing functions.
Serializer startMultiSigningData(STObject const &obj)
Break the multi-signing hash computation into 2 parts for optimization.
bool set(T &target, std::string const &name, Section const §ion)
Set a value from a configuration Section If the named value is not found or doesn't parse as a T,...
Slice slice() const noexcept
void addWithoutSigningFields(Serializer &s) const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::size_t size() const noexcept
Buffer sign(PublicKey const &pk, SecretKey const &sk, Slice const &m)
Generate a signature for a message.
int add32(std::uint32_t i)
Serializer buildMultiSigningData(STObject const &obj, AccountID const &signingID)
Return a Serializer suitable for computing a multisigning TxnSignature.
T & get(EitherAmount &amt)