|
|
| CPubKey () |
| | Construct an invalid public key.
|
| |
|
template<typename T > |
| void | Set (const T pbegin, const T pend) |
| | Initialize a public key using begin/end iterators to byte data.
|
| |
|
template<typename T > |
| | CPubKey (const T pbegin, const T pend) |
| | Construct a public key using begin/end iterators to byte data.
|
| |
|
| CPubKey (const std::vector< unsigned char > &vch) |
| | Construct a public key from a byte vector.
|
| |
|
unsigned int | size () const |
| | Simple read-only vector-like interface to the pubkey data.
|
| |
|
const unsigned char * | begin () const |
| |
|
const unsigned char * | end () const |
| |
|
const unsigned char & | operator[] (unsigned int pos) const |
| |
|
unsigned int | GetSerializeSize (int nType, int nVersion) const |
| | Implement serialization, as if this was a byte vector.
|
| |
|
template<typename Stream > |
| void | Serialize (Stream &s, int nType, int nVersion) const |
| |
|
template<typename Stream > |
| void | Unserialize (Stream &s, int nType, int nVersion) |
| |
|
CKeyID | GetID () const |
| | Get the KeyID of this public key (hash of its serialization)
|
| |
|
uint256 | GetHash () const |
| | Get the 256-bit hash of this public key.
|
| |
|
bool | IsValid () const |
| |
|
bool | IsFullyValid () const |
| | fully validate whether this is a valid public key (more expensive than IsValid())
|
| |
|
bool | IsCompressed () const |
| | Check whether this is a compressed public key.
|
| |
| bool | Verify (const uint256 &hash, const std::vector< unsigned char > &vchSig) const |
| |
|
bool | RecoverCompact (const uint256 &hash, const std::vector< unsigned char > &vchSig) |
| | Recover a public key from a compact signature.
|
| |
|
bool | Decompress () |
| | Turn this public key into an uncompressed public key.
|
| |
|
bool | Derive (CPubKey &pubkeyChild, ChainCode &ccChild, unsigned int nChild, const ChainCode &cc) const |
| | Derive BIP32 child pubkey.
|
| |
An encapsulated public key.