purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::puresign_plusplus::CertificateNonceRecursiveResponseView Class Reference

#include <certificate_nonce_parent_accumulation.hpp>

Public Member Functions

template<std::ranges::contiguous_range Hosts, std::ranges::contiguous_range Body, std::ranges::contiguous_range Leaves>
requires std::ranges::sized_range<Hosts> && std::ranges::sized_range<Body> && std::ranges::sized_range<Leaves> && std::same_as< std::ranges::range_value_t<Hosts>, PublicKey> && std::same_as< std::ranges::range_value_t<Body>, unsigned char> && std::same_as< std::ranges::range_value_t<Leaves>, CertificateNoncePublicLeafDescriptor> && (std::is_lvalue_reference_v<Hosts> || std::ranges::borrowed_range<Hosts>) && (std::is_lvalue_reference_v<Body> || std::ranges::borrowed_range<Body>) && (std::is_lvalue_reference_v<Leaves> || std::ranges::borrowed_range<Leaves>)
 CertificateNonceRecursiveResponseView (const CertificateNonceResponseAuthorization &authorization, const accountable::ConflictContext &context, Hosts &&ordered_hosts, Body &&canonical_body, const accountable::ScalarSignature &response, Leaves &&ordered_leaves)
template<typename Hosts, typename Body, typename Leaves>
 CertificateNonceRecursiveResponseView (const CertificateNonceResponseAuthorization &&, const accountable::ConflictContext &, Hosts &&, Body &&, const accountable::ScalarSignature &, Leaves &&)=delete
template<typename Hosts, typename Body, typename Leaves>
 CertificateNonceRecursiveResponseView (const CertificateNonceResponseAuthorization &, const accountable::ConflictContext &&, Hosts &&, Body &&, const accountable::ScalarSignature &, Leaves &&)=delete
template<typename Hosts, typename Body, typename Leaves>
 CertificateNonceRecursiveResponseView (const CertificateNonceResponseAuthorization &, const accountable::ConflictContext &, Hosts &&, Body &&, const accountable::ScalarSignature &&, Leaves &&)=delete
const CertificateNonceResponseAuthorization & authorization () const noexcept
const accountable::ConflictContext & context () const noexcept
std::span< const PublicKey > ordered_hosts () const noexcept
std::span< const unsigned char > canonical_body () const noexcept
const accountable::ScalarSignature & response () const noexcept
std::span< const CertificateNoncePublicLeafDescriptor > ordered_leaves () const noexcept

Detailed Description

Borrowed proof-free inputs for one ordered certificate response.

Owning input ranges must be lvalues. Rvalue ranges are admitted only when the standard marks them as borrowed, as it does for std::span.

Definition at line 165 of file certificate_nonce_parent_accumulation.hpp.

Constructor & Destructor Documentation

◆ CertificateNonceRecursiveResponseView() [1/4]

template<std::ranges::contiguous_range Hosts, std::ranges::contiguous_range Body, std::ranges::contiguous_range Leaves>
requires std::ranges::sized_range<Hosts> && std::ranges::sized_range<Body> && std::ranges::sized_range<Leaves> && std::same_as< std::ranges::range_value_t<Hosts>, PublicKey> && std::same_as< std::ranges::range_value_t<Body>, unsigned char> && std::same_as< std::ranges::range_value_t<Leaves>, CertificateNoncePublicLeafDescriptor> && (std::is_lvalue_reference_v<Hosts> || std::ranges::borrowed_range<Hosts>) && (std::is_lvalue_reference_v<Body> || std::ranges::borrowed_range<Body>) && (std::is_lvalue_reference_v<Leaves> || std::ranges::borrowed_range<Leaves>)
purify::puresign_plusplus::CertificateNonceRecursiveResponseView::CertificateNonceRecursiveResponseView ( const CertificateNonceResponseAuthorization & authorization,
const accountable::ConflictContext & context,
Hosts && ordered_hosts,
Body && canonical_body,
const accountable::ScalarSignature & response,
Leaves && ordered_leaves )
inline

◆ CertificateNonceRecursiveResponseView() [2/4]

template<typename Hosts, typename Body, typename Leaves>
purify::puresign_plusplus::CertificateNonceRecursiveResponseView::CertificateNonceRecursiveResponseView ( const CertificateNonceResponseAuthorization && ,
const accountable::ConflictContext & ,
Hosts && ,
Body && ,
const accountable::ScalarSignature & ,
Leaves &&  )
delete

◆ CertificateNonceRecursiveResponseView() [3/4]

template<typename Hosts, typename Body, typename Leaves>
purify::puresign_plusplus::CertificateNonceRecursiveResponseView::CertificateNonceRecursiveResponseView ( const CertificateNonceResponseAuthorization & ,
const accountable::ConflictContext && ,
Hosts && ,
Body && ,
const accountable::ScalarSignature & ,
Leaves &&  )
delete

◆ CertificateNonceRecursiveResponseView() [4/4]

template<typename Hosts, typename Body, typename Leaves>
purify::puresign_plusplus::CertificateNonceRecursiveResponseView::CertificateNonceRecursiveResponseView ( const CertificateNonceResponseAuthorization & ,
const accountable::ConflictContext & ,
Hosts && ,
Body && ,
const accountable::ScalarSignature && ,
Leaves &&  )
delete

Member Function Documentation

◆ authorization()

const CertificateNonceResponseAuthorization & purify::puresign_plusplus::CertificateNonceRecursiveResponseView::authorization ( ) const
inlinenodiscardnoexcept

◆ canonical_body()

std::span< const unsigned char > purify::puresign_plusplus::CertificateNonceRecursiveResponseView::canonical_body ( ) const
inlinenodiscardnoexcept

◆ context()

const accountable::ConflictContext & purify::puresign_plusplus::CertificateNonceRecursiveResponseView::context ( ) const
inlinenodiscardnoexcept

◆ ordered_hosts()

std::span< const PublicKey > purify::puresign_plusplus::CertificateNonceRecursiveResponseView::ordered_hosts ( ) const
inlinenodiscardnoexcept

◆ ordered_leaves()

std::span< const CertificateNoncePublicLeafDescriptor > purify::puresign_plusplus::CertificateNonceRecursiveResponseView::ordered_leaves ( ) const
inlinenodiscardnoexcept

◆ response()

const accountable::ScalarSignature & purify::puresign_plusplus::CertificateNonceRecursiveResponseView::response ( ) const
inlinenodiscardnoexcept

The documentation for this class was generated from the following file: