NLWeavePasscodeEncryptionSupport

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

برنامج التفاف لتنفيذ وظيفة تشفير أو فك التشفير باستخدام 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: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
)

يحدِّد هذا الإعداد ما إذا كان الإعداد المحدَّد لتشفير رمز المرور متاحًا.