![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <bls_wrapper.h>
Public Member Functions | |
| CBLSSignature () | |
| CBLSSignature (const CBLSSignature &)=default | |
| CBLSSignature & | operator= (const CBLSSignature &)=default |
| void | AggregateInsecure (const CBLSSignature &o) |
| void | SubInsecure (const CBLSSignature &o) |
| bool | VerifyInsecure (const CBLSPublicKey &pubKey, const uint256 &hash) const |
| bool | VerifyInsecureAggregated (const std::vector< CBLSPublicKey > &pubKeys, const std::vector< uint256 > &hashes) const |
| bool | VerifySecureAggregated (const std::vector< CBLSPublicKey > &pks, const uint256 &hash) const |
| bool | Recover (const std::vector< CBLSSignature > &sigs, const std::vector< CBLSId > &ids) |
| 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::G2Element, BLS_CURVE_SIG_SIZE, CBLSSignature > | |
| 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 CBLSSignature &r) const |
| bool | operator!= (const CBLSSignature &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 CBLSSignature | AggregateInsecure (const std::vector< CBLSSignature > &sigs) |
| static CBLSSignature | AggregateSecure (const std::vector< CBLSSignature > &sigs, const std::vector< CBLSPublicKey > &pks, const uint256 &hash) |
Friends | |
| class | CBLSSecretKey |
Additional Inherited Members | |
Static Public Attributes inherited from CBLSWrapper< bls::G2Element, BLS_CURVE_SIG_SIZE, CBLSSignature > | |
| static const size_t | SerSize |
Protected Member Functions inherited from CBLSWrapper< bls::G2Element, BLS_CURVE_SIG_SIZE, CBLSSignature > | |
| constexpr size_t | GetSerSize () const |
Protected Attributes inherited from CBLSWrapper< bls::G2Element, BLS_CURVE_SIG_SIZE, CBLSSignature > | |
| bls::G2Element | impl |
| bool | fValid |
| uint256 | cachedHash |
Definition at line 242 of file bls_wrapper.h.
|
inline |
|
default |
| void CBLSSignature::AggregateInsecure | ( | const CBLSSignature & | o | ) |
Definition at line 229 of file bls_wrapper.cpp.
|
static |
|
static |
Definition at line 255 of file bls_wrapper.cpp.
|
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.
|
inline |
Definition at line 82 of file bls_wrapper.h.
|
default |
|
inline |
Definition at line 78 of file bls_wrapper.h.
| bool CBLSSignature::Recover | ( | const std::vector< CBLSSignature > & | sigs, |
| const std::vector< CBLSId > & | ids | ||
| ) |
Definition at line 344 of file bls_wrapper.cpp.
| void CBLSSignature::SubInsecure | ( | const CBLSSignature & | o | ) |
| bool CBLSSignature::VerifyInsecure | ( | const CBLSPublicKey & | pubKey, |
| const uint256 & | hash | ||
| ) | const |
Definition at line 289 of file bls_wrapper.cpp.
| bool CBLSSignature::VerifyInsecureAggregated | ( | const std::vector< CBLSPublicKey > & | pubKeys, |
| const std::vector< uint256 > & | hashes | ||
| ) | const |
Definition at line 302 of file bls_wrapper.cpp.
| bool CBLSSignature::VerifySecureAggregated | ( | const std::vector< CBLSPublicKey > & | pks, |
| const uint256 & | hash | ||
| ) | const |
|
friend |
Definition at line 244 of file bls_wrapper.h.