![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <bls_wrapper.h>
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) |
| CBLSWrapper & | operator= (const CBLSWrapper &ref)=default |
| CBLSWrapper & | operator= (CBLSWrapper &&ref) |
| bool | operator== (const C &r) const |
| bool | operator!= (const C &r) const |
| CBLSWrapper () | |
| CBLSWrapper (const std::vector< unsigned char > &vecBytes) | |
| CBLSWrapper (const CBLSWrapper &ref)=default | |
| CBLSWrapper (CBLSWrapper &&ref) | |
Public Member Functions inherited from CBLSWrapper< bls::G1Element, BLS_CURVE_PUBKEY_SIZE, CBLSPublicKey > | |
| CBLSWrapper () | |
| CBLSWrapper (const std::vector< unsigned char > &vecBytes) | |
| CBLSWrapper (const CBLSWrapper &ref)=default | |
| CBLSWrapper (CBLSWrapper &&ref) | |
| CBLSWrapper & | operator= (const CBLSWrapper &ref)=default |
| CBLSWrapper & | operator= (CBLSWrapper &&ref) |
| bool | operator== (const CBLSPublicKey &r) const |
| bool | operator!= (const CBLSPublicKey &r) const |
| bool | IsValid () const |
| void | Reset () |
| void | SetByteVector (const std::vector< uint8_t > &vecBytes) |
| std::vector< uint8_t > | ToByteVector () const |
| const uint256 & | GetHash () const |
| void | Serialize (Stream &s) const |
| void | Unserialize (Stream &s, bool checkMalleable=true) |
| bool | CheckMalleable (const std::vector< uint8_t > &vecBytes) const |
| std::string | ToString () const |
Static Public Member Functions | |
| static CBLSPublicKey | AggregateInsecure (const std::vector< CBLSPublicKey > &pks) |
Friends | |
| class | CBLSSecretKey |
| class | CBLSSignature |
Additional Inherited Members | |
Static Public Attributes inherited from CBLSWrapper< bls::G1Element, BLS_CURVE_PUBKEY_SIZE, CBLSPublicKey > | |
| static const size_t | SerSize |
Protected Member Functions inherited from CBLSWrapper< bls::G1Element, BLS_CURVE_PUBKEY_SIZE, CBLSPublicKey > | |
| constexpr size_t | GetSerSize () const |
Protected Attributes inherited from CBLSWrapper< bls::G1Element, BLS_CURVE_PUBKEY_SIZE, CBLSPublicKey > | |
| bls::G1Element | impl |
| bool | fValid |
| uint256 | cachedHash |
Definition at line 221 of file bls_wrapper.h.
|
inline |
| void CBLSPublicKey::AggregateInsecure | ( | const CBLSPublicKey & | o | ) |
Definition at line 160 of file bls_wrapper.cpp.
|
static |
|
inline |
Definition at line 54 of file bls_wrapper.h.
|
inline |
Definition at line 64 of file bls_wrapper.h.
|
default |
|
inline |
Definition at line 57 of file bls_wrapper.h.
| bool CBLSPublicKey::DHKeyExchange | ( | const CBLSSecretKey & | sk, |
| const CBLSPublicKey & | pk | ||
| ) |
Definition at line 215 of file bls_wrapper.cpp.
|
inline |
Definition at line 82 of file bls_wrapper.h.
|
inline |
Definition at line 70 of file bls_wrapper.h.
|
default |
|
inline |
Definition at line 78 of file bls_wrapper.h.
| bool CBLSPublicKey::PublicKeyShare | ( | const std::vector< CBLSPublicKey > & | mpk, |
| const CBLSId & | id | ||
| ) |
Definition at line 186 of file bls_wrapper.cpp.
|
friend |
Definition at line 223 of file bls_wrapper.h.
|
friend |
Definition at line 224 of file bls_wrapper.h.