NLWeavePasscodeEncryptionSupport

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

Wrapper สำหรับการติดตั้งใช้งานฟังก์ชันการเข้ารหัส/ถอดรหัสด้วย PIN สำหรับ 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
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

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

getEncryptedPasscodeConfig:config:error:

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

แยกประเภทการกำหนดค่าจากรหัสผ่านที่เข้ารหัส

getEncryptedPasscodeFingerprint:ข้อผิดพลาด:

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
)

ตรวจสอบว่าระบบรองรับการกำหนดค่าการเข้ารหัสด้วยรหัสผ่านที่ระบุหรือไม่