NLWeavePasscodeEncryptionSupport
#include <src/device-manager/cocoa/NLWeavePasscodeEncryptionSupport.h>
Wrapper cho C ++ triển khai chức năng mã hóa / giải mã pincode.
Tóm lược
Di sản
Kế thừa từ: NSObjectChức năng tĩnh công khai | |
---|---|
decryptPasscode:config:encKey:authKey:fingerprintKey:error: (NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut) | virtual nullable NSData * Giải mã mật mã đã được mã hóa bằng lược đồ Mã hóa mật mã 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 * Mã hóa mật mã bằng cách sử dụng lược đồ Mã hóa mật mã Nest. |
getEncryptedPasscodeConfig:config:error: (NSData *encPasscode, UInt8 *configOut, NSError **errOut) | virtual BOOL Trích xuất loại cấu hình từ Mật mã được mã hóa. |
getEncryptedPasscodeFingerprint:error: (NSData *encPasscode, NSError **errOut) | virtual nullable NSData * Trích xuất dấu vân tay từ Mật mã được mã hóa. |
getEncryptedPasscodeKeyId:keyId:error: (NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut) | virtual BOOL Trích xuất mã khóa từ Mật mã được mã hóa. |
getEncryptedPasscodeNonce:nonce:error: (NSData *encPasscode, UInt32 *nonceOut, NSError **errOut) | virtual BOOL Trích xuất giá trị nonce từ một Mật mã được mã hóa. |
isSupportedPasscodeEncryptionConfig: (UInt8 config) | virtual BOOL Xác định xem cấu hình mã hóa Mật mã được chỉ định có được hỗ trợ hay không. |
Chức năng tĩnh công khai
decryptPasscode: config: encKey: authKey :printKey: error:
virtual nullable NSData * decryptPasscode:config:encKey:authKey:fingerprintKey:error:( NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut )
Giải mã mật mã đã được mã hóa bằng lược đồ Mã hóa mật mã Nest.
mã hóa mã hóa: keyId: nonce: mật mã: encKey: authKey: vân tayKey: lỗi:
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 )
Mã hóa mật mã bằng lược đồ Mã hóa mật mã Nest.
getEncryptedPasscodeConfig: config: error:
virtual BOOL getEncryptedPasscodeConfig:config:error:( NSData *encPasscode, UInt8 *configOut, NSError **errOut )
Trích xuất loại cấu hình từ Mật mã được mã hóa.
getEncryptedPasscodeFingerprint: error:
virtual nullable NSData * getEncryptedPasscodeFingerprint:error:( NSData *encPasscode, NSError **errOut )
Trích xuất dấu vân tay từ Mật mã được mã hóa.
getEncryptedPasscodeKeyId: keyId: error:
virtual BOOL getEncryptedPasscodeKeyId:keyId:error:( NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut )
Trích xuất mã khóa từ Mật mã được mã hóa.
getEncryptedPasscodeNonce: nonce: error:
virtual BOOL getEncryptedPasscodeNonce:nonce:error:( NSData *encPasscode, UInt32 *nonceOut, NSError **errOut )
Trích xuất giá trị nonce từ một Mật mã được mã hóa.
isSupportedPasscodeEncryptionConfig:
virtual BOOL isSupportedPasscodeEncryptionConfig:( UInt8 config )
Xác định xem cấu hình mã hóa Mật mã được chỉ định có được hỗ trợ hay không.