The QXmppOmemoStorage class stores data used by XEP-0384: OMEMO Encryption.  
 More...
The QXmppOmemoStorage class stores data used by XEP-0384: OMEMO Encryption. 
- Warning
 - THIS API IS NOT FINALIZED YET!
 
- Since
 - QXmpp 1.5 
 
 
◆ addDevice()
  
  
      
        
          | QXmppOmemoStorage::addDevice  | 
          ( | 
          const QString &  | 
          jid,  | 
         
        
           | 
           | 
          uint32_t  | 
          deviceId,  | 
         
        
           | 
           | 
          const Device &  | 
          device  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
Adds other devices (i.e., all devices but the own one).
- Parameters
 - 
  
    | jid | JID of the device owner  | 
    | deviceId | ID of the device  | 
    | device | device being added  | 
  
   
 
 
◆ addPreKeyPairs()
  
  
      
        
          | QXmppOmemoStorage::addPreKeyPairs  | 
          ( | 
          const QHash< uint32_t, QByteArray > &  | 
          keyPairs | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Adds pre key pairs.
- Parameters
 - 
  
    | keyPairs | key IDs mapped to the pre key pairs  | 
  
   
 
 
◆ addSignedPreKeyPair()
  
  
      
        
          | QXmppOmemoStorage::addSignedPreKeyPair  | 
          ( | 
          uint32_t  | 
          keyId,  | 
         
        
           | 
           | 
          const SignedPreKeyPair &  | 
          keyPair  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
Adds a signed pre key pair.
- Parameters
 - 
  
    | keyId | ID of the signed pre key pair  | 
    | keyPair | signed pre key pair  | 
  
   
 
 
◆ allData()
  
  
      
        
          | QXmppOmemoStorage::allData  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Returns all data used by OMEMO.
- Returns
 - the OMEMO data 
 
 
 
◆ removeDevice()
  
  
      
        
          | QXmppOmemoStorage::removeDevice  | 
          ( | 
          const QString &  | 
          jid,  | 
         
        
           | 
           | 
          uint32_t  | 
          deviceId  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
Removes a device of the other devices (i.e., all devices but the own one).
- Parameters
 - 
  
    | jid | JID of the device owner  | 
    | deviceId | ID of the device being removed  | 
  
   
 
 
◆ removeDevices()
  
  
      
        
          | QXmppOmemoStorage::removeDevices  | 
          ( | 
          const QString &  | 
          jid | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Removes all devices of a passed JID from the other devices (i.e., all devices but the own one).
- Parameters
 - 
  
    | jid | JID of the device owner  | 
  
   
 
 
◆ removePreKeyPair()
  
  
      
        
          | QXmppOmemoStorage::removePreKeyPair  | 
          ( | 
          uint32_t  | 
          keyId | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Removes a pre key pair.
- Parameters
 - 
  
    | keyId | ID of the pre key pair  | 
  
   
 
 
◆ removeSignedPreKeyPair()
  
  
      
        
          | QXmppOmemoStorage::removeSignedPreKeyPair  | 
          ( | 
          uint32_t  | 
          keyId | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Removes a signed pre key pair.
- Parameters
 - 
  
    | keyId | ID of the signed pre key pair  | 
  
   
 
 
◆ resetAll()
  
  
      
        
          | QXmppOmemoStorage::resetAll  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ setOwnDevice()
  
  
      
        
          | QXmppOmemoStorage::setOwnDevice  | 
          ( | 
          const std::optional< OwnDevice > &  | 
          device | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Sets the own device (i.e., the device used by this client instance).
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following files: