NLWeavePasscodeEncryptionSupport

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

PIN コードの暗号化/復号機能の C++ 実装用のラッパー。

概要

継承

継承元: NSObject

静的パブリック関数

decryptPasscode:config:encKey:authKey:fingerprintKey:error:(NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut)
virtual nullable NSData *
Google 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 *
Google 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
暗号化されたパスコードから鍵 ID を抽出します。
getEncryptedPasscodeNonce:nonce:error:(NSData *encPasscode, UInt32 *nonceOut, NSError **errOut)
virtual BOOL
暗号化されたパスコードからノンスの値を抽出します。
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
)

Google 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
)

Google Nest パスコード暗号化スキームを使用してパスコードを暗号化します。

getEncryptedPasscodeConfig:config:error:

virtual BOOL getEncryptedPasscodeConfig:config:error:(
  NSData *encPasscode,
  UInt8 *configOut,
  NSError **errOut
)

暗号化されたパスコードから構成タイプを抽出します。

getEncryptedPasscode フィンガープリント:error:

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

暗号化されたパスコードから指紋を抽出します。

getEncryptedPasscodeKeyId:keyId:error:

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
)

指定したパスコード暗号化構成をサポートするかどうかを指定します。