|
| | SignedPreKey (const X< typename Algo::EC, lime::Xtype::publicKey > &SPk_EC_Public, const X< typename Algo::EC, lime::Xtype::privateKey > &SPk_EC_Private, const K< typename Algo::KEM, lime::Ktype::publicKey > &SPk_KEM_Public, const K< typename Algo::KEM, lime::Ktype::privateKey > &SPk_KEM_Private) |
| |
| | SignedPreKey () |
| |
| | SignedPreKey (const serializedBuffer &SPk, uint32_t Id) |
| | Unserializing constructor: from data read in DB. More...
|
| |
| | SignedPreKey (const std::vector< uint8_t >::const_iterator s) |
| | Unserializing constructor: from data read in received bundle: EC public key || KEM public key || Id || signature. More...
|
| |
| const X< typename Algo::EC, lime::Xtype::privateKey > & | cECprivateKey (void) const |
| | accessors More...
|
| |
| const X< typename Algo::EC, lime::Xtype::publicKey > & | cECpublicKey (void) const |
| |
| const K< typename Algo::KEM, lime::Ktype::privateKey > & | cKEMprivateKey (void) const |
| |
| const K< typename Algo::KEM, lime::Ktype::publicKey > & | cKEMpublicKey (void) const |
| |
| const DSA< typename Algo::EC, lime::DSAtype::signature > & | csignature (void) const |
| |
| DSA< typename Algo::EC, lime::DSAtype::signature > & | signature (void) |
| |
| const Xpair< typename Algo::EC > & | cECKeypair (void) const |
| |
| const Kpair< typename Algo::KEM > & | cKEMKeypair (void) const |
| |
| uint32_t | get_Id (void) const |
| |
| void | set_Id (uint32_t Id) |
| |
| serializedBuffer | serialize (void) const |
| | Serialize the key pair (to store in DB): EC public || EC private || KEM public || KEM private. More...
|
| |
| std::vector< uint8_t > | serializePublic (bool signedMessage=false) const |
| |
| void | dump (std::ostringstream &os, std::string indent=" ") const |
| | Dump the public key, signature and Id. More...
|
| |