#include <bip324.hpp>
|
| | Bip324Session (bool initiator) noexcept |
| |
| | Bip324Session (bool initiator, const std::uint8_t *privkey) noexcept |
| |
| | ~Bip324Session () noexcept |
| |
| const std::array< std::uint8_t, 64 > & | our_ellswift_encoding () const noexcept |
| |
| bool | complete_handshake (const std::uint8_t *peer_encoding) noexcept |
| |
| std::vector< std::uint8_t > | encrypt (const std::uint8_t *plaintext, std::size_t plaintext_len) noexcept |
| |
| bool | decrypt (const std::uint8_t *header, const std::uint8_t *payload_and_tag, std::size_t len, std::vector< std::uint8_t > &plaintext_out) noexcept |
| |
| bool | is_established () const noexcept |
| |
| const std::array< std::uint8_t, 32 > & | session_id () const noexcept |
| |
Definition at line 78 of file bip324.hpp.
◆ Bip324Session() [1/2]
| secp256k1::Bip324Session::Bip324Session |
( |
bool |
initiator | ) |
|
|
explicitnoexcept |
◆ Bip324Session() [2/2]
| secp256k1::Bip324Session::Bip324Session |
( |
bool |
initiator, |
|
|
const std::uint8_t * |
privkey |
|
) |
| |
|
noexcept |
◆ ~Bip324Session()
| secp256k1::Bip324Session::~Bip324Session |
( |
| ) |
|
|
inlinenoexcept |
◆ complete_handshake()
| bool secp256k1::Bip324Session::complete_handshake |
( |
const std::uint8_t * |
peer_encoding | ) |
|
|
noexcept |
◆ decrypt()
| bool secp256k1::Bip324Session::decrypt |
( |
const std::uint8_t * |
header, |
|
|
const std::uint8_t * |
payload_and_tag, |
|
|
std::size_t |
len, |
|
|
std::vector< std::uint8_t > & |
plaintext_out |
|
) |
| |
|
noexcept |
◆ encrypt()
| std::vector< std::uint8_t > secp256k1::Bip324Session::encrypt |
( |
const std::uint8_t * |
plaintext, |
|
|
std::size_t |
plaintext_len |
|
) |
| |
|
noexcept |
◆ is_established()
| bool secp256k1::Bip324Session::is_established |
( |
| ) |
const |
|
inlinenoexcept |
◆ our_ellswift_encoding()
| const std::array< std::uint8_t, 64 > & secp256k1::Bip324Session::our_ellswift_encoding |
( |
| ) |
const |
|
inlinenoexcept |
◆ session_id()
| const std::array< std::uint8_t, 32 > & secp256k1::Bip324Session::session_id |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: