NLWeavePasscodeEncryptionSupport
#include <src/device-manager/cocoa/NLWeavePasscodeEncryptionSupport.h>
עוטף ליישום C ++ של פונקציונליות הצפנה / פענוח קוד.
סיכום
יְרוּשָׁה
ירושות מ: NSObjectפונקציות סטטיות ציבוריות | |
---|---|
decryptPasscode:config:encKey:authKey:fingerprintKey:error: (NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut) | virtual nullable NSData * פענח קוד סיסמה שהוצפן באמצעות תוכנית הצפנת הסיסמה של Nest. |
encryptPasscode:keyId:nonce:passcode:encKey:authKey:fingerprintKey:error: (UInt8 config, UInt32 keyId, UInt32 nonce, NSData *passcode, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut) | virtual nullable NSData * הצפן קוד גישה באמצעות ערכת ההצפנה של Nest Passcode. |
getEncryptedPasscodeConfig:config:error: (NSData *encPasscode, UInt8 *configOut, NSError **errOut) | virtual BOOL חלץ את סוג התצורה מקוד סיסמה מוצפן. |
getEncryptedPasscodeFingerprint:error: (NSData *encPasscode, NSError **errOut) | virtual nullable NSData * חלץ את טביעת האצבע מקוד סיסמה מוצפן. |
getEncryptedPasscodeKeyId:keyId:error: (NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut) | virtual BOOL חלץ את מזהה המפתח מקוד סיסמה מוצפן. |
getEncryptedPasscodeNonce:nonce:error: (NSData *encPasscode, UInt32 *nonceOut, NSError **errOut) | virtual BOOL חלץ את ערך ה- nonce מקוד סיסמה מוצפן. |
isSupportedPasscodeEncryptionConfig: (UInt8 config) | virtual BOOL קובע אם נתמכת בתצורת הצפנת קוד הגישה שצוינה. |
פונקציות סטטיות ציבוריות
decrypt קוד קוד: config: encKey: authKey: טביעת אצבע מפתח: שגיאה:
virtual nullable NSData * decryptPasscode:config:encKey:authKey:fingerprintKey:error:( NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut )
פענח קוד סיסמה שהוצפן באמצעות תוכנית הצפנת הסיסמה של Nest.
encrypt סיסמה: keyId: nonce: סיסמה: encKey: authKey: טביעת אצבע מפתח: שגיאה:
virtual nullable NSData * encryptPasscode:keyId:nonce:passcode:encKey:authKey:fingerprintKey:error:( UInt8 config, UInt32 keyId, UInt32 nonce, NSData *passcode, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut )
הצפן קוד גישה באמצעות ערכת ההצפנה של Nest Passcode.
getEncryptedPasscodeConfig: config: שגיאה:
virtual BOOL getEncryptedPasscodeConfig:config:error:( NSData *encPasscode, UInt8 *configOut, NSError **errOut )
חילץ את סוג התצורה מקוד סיסמה מוצפן.
getEncryptedPasscodeFingerprint: שגיאה:
virtual nullable NSData * getEncryptedPasscodeFingerprint:error:( NSData *encPasscode, NSError **errOut )
חלץ את טביעת האצבע מקוד סיסמה מוצפן.
getEncryptedPasscodeKeyId: keyId: שגיאה:
virtual BOOL getEncryptedPasscodeKeyId:keyId:error:( NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut )
חלץ את מזהה המפתח מקוד סיסמה מוצפן.
getEncryptedPasscodeNonce: nonce: error:
virtual BOOL getEncryptedPasscodeNonce:nonce:error:( NSData *encPasscode, UInt32 *nonceOut, NSError **errOut )
חלץ את ערך ה- nonce מקוד סיסמה מוצפן.
isSupportedPasscodeEncryptionConfig:
virtual BOOL isSupportedPasscodeEncryptionConfig:( UInt8 config )
קובע אם נתמכת בתצורת הצפנת קוד הגישה שצוינה.