NLWeavePasscodeEncryptionSupport
#include <src/device-manager/cocoa/NLWeavePasscodeEncryptionSupport.h>
Wrapper برای اجرای C++ از عملکرد رمزگذاری/رمزگشایی کد پین.
خلاصه
ارث
از: NSObject به ارث می بردتوابع استاتیک عمومی | |
---|---|
decryptPasscode:config:encKey:authKey:fingerprintKey:error: (NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut) | virtual nullable NSData * رمز عبوری را که با استفاده از طرح رمزگذاری Nest Passcode رمزگذاری شده است، رمزگشایی کنید. |
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 Passcode رمزگذاری کنید. |
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 Passcode رمزگذاری شده است، رمزگشایی کنید.
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 Passcode رمزگذاری کنید.
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 )
تعیین می کند که آیا پیکربندی رمزگذاری رمز عبور مشخص شده پشتیبانی می شود یا خیر.