NLWeavePasscodeEncryptionSupport

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

Trình bao bọc để triển khai chức năng mã hoá/giải mã mã PIN cho C++.

Tóm tắt

Tính kế thừa

Kế thừa từ: NSObject

Hàm 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ã đã mã hoá bằng lược đồ Mã hoá 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ã hoá mật mã bằng lược đồ Mã hoá 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ã đã mã hoá.
getEncryptedPasscodeFingerprint:error:(NSData *encPasscode, NSError **errOut)
virtual nullable NSData *
Trích xuất vân tay số từ Mật mã đã mã hoá.
getEncryptedPasscodeKeyId:keyId:error:(NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut)
virtual BOOL
Trích xuất mã khoá từ một Mật mã đã mã hoá.
getEncryptedPasscodeNonce:nonce:error:(NSData *encPasscode, UInt32 *nonceOut, NSError **errOut)
virtual BOOL
Trích xuất giá trị số chỉ dùng một lần từ Mật mã đã mã hoá.
isSupportedPasscodeEncryptionConfig:(UInt8 config)
virtual BOOL
Xác định xem cấu hình mã hoá bằng Mật mã đã chỉ định có được hỗ trợ hay không.

Hàm tĩnh công khai

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
)

Giải mã mật mã đã mã hoá bằng lược đồ Mã hoá mật mã 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
)

Mã hoá mật mã bằng lược đồ Mã hoá 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ã đã mã hoá.

getEncryptedPasscodeDấu vân tay:lỗi:

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

Trích xuất vân tay số từ Mật mã đã mã hoá.

getEncryptedPasscodeKeyId:keyId:error:

virtual BOOL getEncryptedPasscodeKeyId:keyId:error:(
  NSData *encPasscode,
  UInt32 *keyIdOut,
  NSError **errOut
)

Trích xuất mã khoá từ một Mật mã đã mã hoá.

getEncryptedPasscodeNonce:nonce:error:

virtual BOOL getEncryptedPasscodeNonce:nonce:error:(
  NSData *encPasscode,
  UInt32 *nonceOut,
  NSError **errOut
)

Trích xuất giá trị số chỉ dùng một lần từ Mật mã đã mã hoá.

isSupportedPasscodeCodeConfig:

virtual BOOL isSupportedPasscodeEncryptionConfig:(
  UInt8 config
)

Xác định xem cấu hình mã hoá bằng Mật mã đã chỉ định có được hỗ trợ hay không.