Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <bls.h>

+ Inheritance diagram for CBLSPublicKey:
+ Collaboration diagram for CBLSPublicKey:

Public Member Functions

 CBLSPublicKey ()
 
void AggregateInsecure (const CBLSPublicKey &o)
 
bool PublicKeyShare (const std::vector< CBLSPublicKey > &mpk, const CBLSId &id)
 
bool DHKeyExchange (const CBLSSecretKey &sk, const CBLSPublicKey &pk)
 
CBLSWrapperoperator= (const CBLSWrapper &ref)=default
 
CBLSWrapperoperator= (CBLSWrapper &&ref)
 
bool operator== (const C &r) const
 
bool operator!= (const C &r) const
 
- Public Member Functions inherited from CBLSWrapper< bls::PublicKey, BLS_CURVE_PUBKEY_SIZE, CBLSPublicKey >
 CBLSWrapper ()
 
 CBLSWrapper (const CBLSWrapper &ref)=default
 
 CBLSWrapper (CBLSWrapper &&ref)
 
CBLSWrapperoperator= (const CBLSWrapper &ref)=default
 
CBLSWrapperoperator= (CBLSWrapper &&ref)
 
bool operator== (const CBLSPublicKey &r) const
 
bool operator!= (const CBLSPublicKey &r) const
 
bool IsValid () const
 
void SetBuf (const void *buf, size_t size)
 
void SetBuf (const T &buf)
 
void Reset ()
 
void GetBuf (void *buf, size_t size) const
 
void GetBuf (T &buf) const
 
const uint256GetHash () const
 
void UpdateHash () const
 
bool SetHexStr (const std::string &str)
 
void Serialize (CSizeComputer &s) const
 
void Serialize (Stream &s) const
 
void Unserialize (Stream &s, bool checkMalleable=true)
 
bool CheckMalleable (void *buf, size_t size) const
 
std::string ToString () const
 

Static Public Member Functions

static CBLSPublicKey AggregateInsecure (const std::vector< CBLSPublicKey > &pks)
 

Protected Member Functions

bool InternalSetBuf (const void *buf)
 
bool InternalGetBuf (void *buf) const
 
- Protected Member Functions inherited from CBLSWrapper< bls::PublicKey, BLS_CURVE_PUBKEY_SIZE, CBLSPublicKey >
constexpr size_t GetSerSize () const
 

Friends

class CBLSSecretKey
 
class CBLSSignature
 

Additional Inherited Members

- Static Public Attributes inherited from CBLSWrapper< bls::PublicKey, BLS_CURVE_PUBKEY_SIZE, CBLSPublicKey >
static const size_t SerSize
 
- Protected Attributes inherited from CBLSWrapper< bls::PublicKey, BLS_CURVE_PUBKEY_SIZE, CBLSPublicKey >
bls::PublicKey impl
 
bool fValid
 
uint256 cachedHash
 

Detailed Description

Definition at line 263 of file bls.h.

Constructor & Destructor Documentation

◆ CBLSPublicKey()

CBLSPublicKey::CBLSPublicKey ( )
inline

Definition at line 273 of file bls.h.

Referenced by AggregateInsecure().

Member Function Documentation

◆ AggregateInsecure() [1/2]

◆ AggregateInsecure() [2/2]

CBLSPublicKey CBLSPublicKey::AggregateInsecure ( const std::vector< CBLSPublicKey > &  pks)
static

◆ DHKeyExchange()

◆ InternalGetBuf()

bool CBLSPublicKey::InternalGetBuf ( void *  buf) const
protectedvirtual

◆ InternalSetBuf()

bool CBLSPublicKey::InternalSetBuf ( const void *  buf)
protectedvirtual

◆ operator!=()

bool CBLSWrapper< ImplType, _SerSize, C >::operator!=
inline

Definition at line 89 of file bls.h.

◆ operator=() [1/2]

CBLSWrapper& CBLSWrapper< ImplType, _SerSize, C >::operator=
default

◆ operator=() [2/2]

CBLSWrapper& CBLSWrapper< ImplType, _SerSize, C >::operator=
inline

Definition at line 77 of file bls.h.

◆ operator==()

bool CBLSWrapper< ImplType, _SerSize, C >::operator==
inline

Definition at line 85 of file bls.h.

◆ PublicKeyShare()

Friends And Related Function Documentation

◆ CBLSSecretKey

friend class CBLSSecretKey
friend

Definition at line 265 of file bls.h.

◆ CBLSSignature

friend class CBLSSignature
friend

Definition at line 266 of file bls.h.


The documentation for this class was generated from the following files:
Released under the MIT license