QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCKeychain Namespace Reference

Functions

bool writeBinary (const QString &key, const QByteArray &data)
 
QByteArray readBinary (const QString &key)
 
bool remove (const QString &key)
 

Detailed Description

Platform-abstracted secure credential storage. Uses the OS keychain (macOS Keychain, Windows Credential Manager, Linux libsecret) with automatic insecure fallback for headless environments. All methods are synchronous (blocking via nested QEventLoop).

Function Documentation

◆ readBinary()

QByteArray QGCKeychain::readBinary ( const QString &  key)

Definition at line 128 of file QGCKeychain.cc.

◆ remove()

bool QGCKeychain::remove ( const QString &  key)

Definition at line 153 of file QGCKeychain.cc.

◆ writeBinary()

bool QGCKeychain::writeBinary ( const QString &  key,
const QByteArray &  data 
)

Definition at line 105 of file QGCKeychain.cc.