rippled
Public Types | Public Member Functions | Static Public Member Functions | List of all members
ripple::SecretKey_test Class Reference
Inheritance diagram for ripple::SecretKey_test:
Inheritance graph
[legend]
Collaboration diagram for ripple::SecretKey_test:
Collaboration graph
[legend]

Public Types

using blob = std::vector< std::uint8_t >
 

Public Member Functions

void testCanonicality ()
 
void testDigestSigning ()
 
void testSigning (KeyType type)
 
void testBase58 ()
 
void testMiscOperations ()
 
void run () override
 

Static Public Member Functions

template<class FwdIter , class Container >
static void hex_to_binary (FwdIter first, FwdIter last, Container &out)
 
static uint256 hex_to_digest (std::string const &s)
 
static PublicKey hex_to_pk (std::string const &s)
 
static SecretKey hex_to_sk (std::string const &s)
 
static Buffer hex_to_sig (std::string const &s)
 

Detailed Description

Definition at line 34 of file SecretKey_test.cpp.

Member Typedef Documentation

◆ blob

Definition at line 37 of file SecretKey_test.cpp.

Member Function Documentation

◆ hex_to_binary()

template<class FwdIter , class Container >
static void ripple::SecretKey_test::hex_to_binary ( FwdIter  first,
FwdIter  last,
Container &  out 
)
static

Definition at line 41 of file SecretKey_test.cpp.

◆ hex_to_digest()

static uint256 ripple::SecretKey_test::hex_to_digest ( std::string const &  s)
static

Definition at line 75 of file SecretKey_test.cpp.

◆ hex_to_pk()

static PublicKey ripple::SecretKey_test::hex_to_pk ( std::string const &  s)
static

Definition at line 83 of file SecretKey_test.cpp.

◆ hex_to_sk()

static SecretKey ripple::SecretKey_test::hex_to_sk ( std::string const &  s)
static

Definition at line 91 of file SecretKey_test.cpp.

◆ hex_to_sig()

static Buffer ripple::SecretKey_test::hex_to_sig ( std::string const &  s)
static

Definition at line 99 of file SecretKey_test.cpp.

◆ testCanonicality()

void ripple::SecretKey_test::testCanonicality ( )

Definition at line 109 of file SecretKey_test.cpp.

◆ testDigestSigning()

void ripple::SecretKey_test::testDigestSigning ( )

Definition at line 152 of file SecretKey_test.cpp.

◆ testSigning()

void ripple::SecretKey_test::testSigning ( KeyType  type)

Definition at line 190 of file SecretKey_test.cpp.

◆ testBase58()

void ripple::SecretKey_test::testBase58 ( )

Definition at line 234 of file SecretKey_test.cpp.

◆ testMiscOperations()

void ripple::SecretKey_test::testMiscOperations ( )

Definition at line 350 of file SecretKey_test.cpp.

◆ run()

void ripple::SecretKey_test::run ( )
override

Definition at line 367 of file SecretKey_test.cpp.