Bitcoin
Classes | Typedefs | Functions
key.h File Reference
#include <pubkey.h>
#include <serialize.h>
#include <support/allocators/secure.h>
#include <uint256.h>
#include <stdexcept>
#include <vector>

Go to the source code of this file.

Classes

class  CKey
 
struct  CExtKey
 

Typedefs

typedef std::vector< unsigned char, secure_allocator< unsigned char > > CPrivKey
 

Functions

void ECC_Start ()
 
void ECC_Stop ()
 
bool ECC_InitSanityCheck ()
 

Typedef Documentation

◆ CPrivKey

typedef std::vector<unsigned char, secure_allocator<unsigned char> > CPrivKey

secure_allocator is defined in allocators.h CPrivKey is a serialized private key, with all parameters included (PRIVATE_KEY_SIZE bytes)

Function Documentation

◆ ECC_InitSanityCheck()

bool ECC_InitSanityCheck ( )

Check that required EC support is available at runtime.

◆ ECC_Start()

void ECC_Start ( )

Initialize the elliptic curve support. May not be called twice without calling ECC_Stop first.

◆ ECC_Stop()

void ECC_Stop ( )

Deinitialize the elliptic curve support. No-op if ECC_Start wasn't called first.