PIVX Core  5.6.99
P2P Digital Currency
Public Types | Public Member Functions | List of all members
CBLSIESMultiRecipientObjects< Object > Class Template Reference

#include <bls_ies.h>

Inheritance diagram for CBLSIESMultiRecipientObjects< Object >:
[legend]
Collaboration diagram for CBLSIESMultiRecipientObjects< Object >:
[legend]

Public Types

typedef std::vector< Object > ObjectVector
 
- Public Types inherited from CBLSIESMultiRecipientBlobs
typedef std::vector< unsigned char > Blob
 
typedef std::vector< BlobBlobVector
 

Public Member Functions

bool Encrypt (const std::vector< CBLSPublicKey > &recipients, const ObjectVector &_objects, int nVersion)
 
bool Encrypt (size_t idx, const CBLSPublicKey &recipient, const Object &obj, int nVersion)
 
bool Decrypt (size_t idx, const CBLSSecretKey &sk, Object &objectRet, int nVersion) const
 
- Public Member Functions inherited from CBLSIESMultiRecipientBlobs
bool Encrypt (const std::vector< CBLSPublicKey > &recipients, const BlobVector &_blobs)
 
void InitEncrypt (size_t count)
 
bool Encrypt (size_t idx, const CBLSPublicKey &recipient, const Blob &blob)
 
bool Decrypt (size_t idx, const CBLSSecretKey &sk, Blob &blobRet) const
 
 SERIALIZE_METHODS (CBLSIESMultiRecipientBlobs, obj)
 

Additional Inherited Members

- Public Attributes inherited from CBLSIESMultiRecipientBlobs
CBLSPublicKey ephemeralPubKey
 
uint256 ivSeed
 
BlobVector blobs
 
CBLSSecretKey ephemeralSecretKey
 
std::vector< uint256ivVector
 

Detailed Description

template<typename Object>
class CBLSIESMultiRecipientObjects< Object >

Definition at line 108 of file bls_ies.h.

Member Typedef Documentation

◆ ObjectVector

template<typename Object >
typedef std::vector<Object> CBLSIESMultiRecipientObjects< Object >::ObjectVector

Definition at line 111 of file bls_ies.h.

Member Function Documentation

◆ Decrypt()

template<typename Object >
bool CBLSIESMultiRecipientObjects< Object >::Decrypt ( size_t  idx,
const CBLSSecretKey sk,
Object &  objectRet,
int  nVersion 
) const
inline

Definition at line 142 of file bls_ies.h.

Here is the call graph for this function:

◆ Encrypt() [1/2]

template<typename Object >
bool CBLSIESMultiRecipientObjects< Object >::Encrypt ( const std::vector< CBLSPublicKey > &  recipients,
const ObjectVector _objects,
int  nVersion 
)
inline

Definition at line 114 of file bls_ies.h.

Here is the call graph for this function:

◆ Encrypt() [2/2]

template<typename Object >
bool CBLSIESMultiRecipientObjects< Object >::Encrypt ( size_t  idx,
const CBLSPublicKey recipient,
const Object &  obj,
int  nVersion 
)
inline

Definition at line 134 of file bls_ies.h.

Here is the call graph for this function:

The documentation for this class was generated from the following file: