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
)

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