|
| | ARsKey (const Xpair< typename Algo::EC > &ecDHs, const Kpair< typename Algo::KEM > &kemDHs, const K< typename Algo::KEM, lime::Ktype::cipherText > &kemCTs) |
| |
| | ARsKey (const SignedPreKey< Algo > &SPk) |
| |
| | ARsKey (const Xpair< typename Algo::EC > &ecDHs, const Kpair< typename Algo::KEM > &kemDHs) |
| |
| | ARsKey (const X< typename Algo::EC, lime::Xtype::publicKey > &ECPublic, const X< typename Algo::EC, lime::Xtype::privateKey > &ECPrivate, const K< typename Algo::KEM, lime::Ktype::publicKey > &KEMPublic, const K< typename Algo::KEM, lime::Ktype::privateKey > &KEMPrivate, const K< typename Algo::KEM, lime::Ktype::cipherText > &KEMCT) |
| |
| | ARsKey () |
| |
| | ARsKey (const serializedBuffer &DHs) |
| |
| void | setEC (const X< typename Algo::EC, lime::Xtype::publicKey > &ECPublic, const X< typename Algo::EC, lime::Xtype::privateKey > &ECPrivate) |
| | Set Ec key pair only: used to update this part without touching the KEM one. More...
|
| |
| X< typename Algo::EC, lime::Xtype::privateKey > & | ECPrivateKey (void) |
| |
| const X< typename Algo::EC, lime::Xtype::publicKey > & | ECPublicKey (void) const |
| |
| K< typename Algo::KEM, lime::Ktype::privateKey > & | KEMPrivateKey (void) |
| |
| const K< typename Algo::KEM, lime::Ktype::publicKey > & | KEMPublicKey (void) const |
| |
| K< typename Algo::KEM, lime::Ktype::cipherText > & | KEMCipherText (void) |
| |
| serializedBuffer | serialize (void) const |
| | Serialize the key pair (to store in DB): First the public value, then the private one, then the cipherText. More...
|
| |
| std::vector< uint8_t > | serializePublic (void) const |
| | Serialize the public part only to insert in the DR message header: EC public || KEM public || KEM ciphertext. More...
|
| |
| std::vector< uint8_t > | serializeECPublic (void) const |
| | Serialize the EC public part only to insert in the DR message header when we avoid sending the KEM part. More...
|
| |
| std::vector< uint8_t > | getKEMIndex (void) const |
| | Index is a hash of KEM public key/Cipher Text to identify it without sending/storing it all. More...
|
| |