NLWeavePasscodeEncryptionSupport
#include <src/device-manager/cocoa/NLWeavePasscodeEncryptionSupport.h>
包裝用於C ++的Pincode加密/解密功能。
概要
遺產
繼承自: NSObject公共靜態功能 | |
---|---|
decryptPasscode:config:encKey:authKey:fingerprintKey:error: (NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut) | virtual nullable NSData * 解密使用Nest Passcode Encryption方案加密的密碼。 |
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 Encryption方案對密碼進行加密。 |
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 從加密的密碼中提取密鑰ID。 |
getEncryptedPasscodeNonce:nonce:error: (NSData *encPasscode, UInt32 *nonceOut, NSError **errOut) | virtual BOOL 從加密的密碼中提取現時值。 |
isSupportedPasscodeEncryptionConfig: (UInt8 config) | virtual BOOL 確定是否支持指定的密碼加密配置。 |
公共靜態功能
deletePasscode:config:encKey:authKey:fingerprintKey:錯誤:
virtual nullable NSData * decryptPasscode:config:encKey:authKey:fingerprintKey:error:( NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut )
解密使用Nest Passcode Encryption方案加密的密碼。
cryptoPasscode:keyId:nonce:passcode:encKey:authKey:fingerprintKey:錯誤:
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 Encryption方案對密碼進行加密。
getEncryptedPasscodeConfig:config:錯誤:
virtual BOOL getEncryptedPasscodeConfig:config:error:( NSData *encPasscode, UInt8 *configOut, NSError **errOut )
從加密的密碼中提取配置類型。
getEncryptedPasscodeFingerprint:錯誤:
virtual nullable NSData * getEncryptedPasscodeFingerprint:error:( NSData *encPasscode, NSError **errOut )
從加密的密碼中提取指紋。
getEncryptedPasscodeKeyId:keyId:錯誤:
virtual BOOL getEncryptedPasscodeKeyId:keyId:error:( NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut )
從加密的密碼中提取密鑰ID。
getEncryptedPasscodeNonce:nonce:error:
virtual BOOL getEncryptedPasscodeNonce:nonce:error:( NSData *encPasscode, UInt32 *nonceOut, NSError **errOut )
從加密的密碼中提取現時值。
isSupportedPasscodeEncryptionConfig:
virtual BOOL isSupportedPasscodeEncryptionConfig:( UInt8 config )
確定是否支持指定的密碼加密配置。