NLWeavePasscodeEncryptionSupport
#include <src/device-manager/cocoa/NLWeavePasscodeEncryptionSupport.h>
Wrapper สำหรับการใช้ C++ ในฟังก์ชันการเข้ารหัส/ถอดรหัสด้วยรหัส PIN
สรุป
การสืบทอด
รับค่าจาก: 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: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 )
ตรวจสอบว่าระบบรองรับการกำหนดค่าการเข้ารหัสด้วยรหัสผ่านที่ระบุหรือไม่