NLWeavePasscodeEncryptionSupport

#include <src/device-manager/cocoa/NLWeavePasscodeEncryptionSupport.h>

רכיב wrapper של הטמעת C++ של פונקציונליות של הצפנה/פענוח של קוד אימות.

סיכום

ירושה

עובר בירושה מ: NSObject

פונקציות סטטיות ציבוריות

decryptPasscode:config:encKey:authKey:fingerprintKey:error:(NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut)
virtual nullable NSData *
פענוח של קוד סיסמה שהוצפן באמצעות סכימת ההצפנה של Nest Passcode.
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
המדיניות קובעת אם יש תמיכה בהגדרת ההצפנה שצוינה בקוד הגישה.

פונקציות סטטיות ציבוריות

decryptPasscode:config:encKey:authKey:fingerprintKey:error:

virtual nullable NSData * decryptPasscode:config:encKey:authKey:fingerprintKey:error:(
  NSData *encPasscode,
  UInt8 config,
  NSData *encKey,
  NSData *authKey,
  NSData *fingerprintKey,
  NSError **errOut
)

פענוח של קוד סיסמה שהוצפן באמצעות סכימת ההצפנה של Nest Passcode.

encryptPasscode:keyId:nonce:passcode:encKey:authKey:fingerprintKey:error:

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:error:

virtual BOOL getEncryptedPasscodeConfig:config:error:(
  NSData *encPasscode,
  UInt8 *configOut,
  NSError **errOut
)

חלץ את סוג ההגדרה מקוד סיסמה מוצפן.

getEncryptedPasscodeFingerprint:error:

virtual nullable NSData * getEncryptedPasscodeFingerprint:error:(
  NSData *encPasscode,
  NSError **errOut
)

מחלצים את טביעת האצבע מקוד סיסמה מוצפן.

getEncryptedPasscodeKeyId:keyId:error:

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
)

המדיניות קובעת אם יש תמיכה בהגדרת ההצפנה שצוינה בקוד הגישה.