![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <bls_wrapper.h>
Public Member Functions | |
| void | AggregateInsecure (const CBLSSecretKey &o) |
| void | MakeNewKey () |
| bool | SecretKeyShare (const std::vector< CBLSSecretKey > &msk, const CBLSId &id) |
| CBLSPublicKey | GetPublicKey () const |
| CBLSSignature | Sign (const uint256 &hash) const |
| bool | Recover (const std::vector< CBLSSecretKey > &keys, const std::vector< CBLSId > &ids) |
| CBLSWrapper & | operator= (const CBLSWrapper &ref)=default |
| CBLSWrapper & | operator= (CBLSWrapper &&ref) |
| bool | operator== (const C &r) const |
| bool | operator!= (const C &r) const |
Public Member Functions inherited from CBLSWrapper< bls::PrivateKey, BLS_CURVE_SECKEY_SIZE, CBLSSecretKey > | |
| 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 CBLSSecretKey &r) const |
| bool | operator!= (const CBLSSecretKey &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 CBLSSecretKey | AggregateInsecure (const std::vector< CBLSSecretKey > &sks) |
Additional Inherited Members | |
Static Public Attributes inherited from CBLSWrapper< bls::PrivateKey, BLS_CURVE_SECKEY_SIZE, CBLSSecretKey > | |
| static const size_t | SerSize |
Protected Member Functions inherited from CBLSWrapper< bls::PrivateKey, BLS_CURVE_SECKEY_SIZE, CBLSSecretKey > | |
| constexpr size_t | GetSerSize () const |
Protected Attributes inherited from CBLSWrapper< bls::PrivateKey, BLS_CURVE_SECKEY_SIZE, CBLSSecretKey > | |
| bls::PrivateKey | impl |
| bool | fValid |
| uint256 | cachedHash |
Definition at line 201 of file bls_wrapper.h.
| void CBLSSecretKey::AggregateInsecure | ( | const CBLSSecretKey & | o | ) |
|
static |
| CBLSPublicKey CBLSSecretKey::GetPublicKey | ( | ) | const |
Definition at line 99 of file bls_wrapper.cpp.
| void CBLSSecretKey::MakeNewKey | ( | ) |
Definition at line 54 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 CBLSSecretKey::Recover | ( | const std::vector< CBLSSecretKey > & | keys, |
| const std::vector< CBLSId > & | ids | ||
| ) |
| bool CBLSSecretKey::SecretKeyShare | ( | const std::vector< CBLSSecretKey > & | msk, |
| const CBLSId & | id | ||
| ) |
| CBLSSignature CBLSSecretKey::Sign | ( | const uint256 & | hash | ) | const |
Definition at line 112 of file bls_wrapper.cpp.