NLWeavePasscodeEncryptionSupport

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

Element służący do implementacji funkcji szyfrowania/odszyfrowywania kodu PIN w języku C++.

Podsumowanie

Dziedziczenie

Dziedziczy z: NSObject

Publiczne funkcje statyczne

decryptPasscode:config:encKey:authKey:fingerprintKey:error:(NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut)
virtual nullable NSData *
Odszyfruj hasło zaszyfrowane za pomocą schematu szyfrowania 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 *
Zaszyfruj kod dostępu, korzystając ze schematu szyfrowania Nest Passcode Encryption.
getEncryptedPasscodeConfig:config:error:(NSData *encPasscode, UInt8 *configOut, NSError **errOut)
virtual BOOL
Wyodrębnij typ konfiguracji z zaszyfrowanego hasła.
getEncryptedPasscodeFingerprint:error:(NSData *encPasscode, NSError **errOut)
virtual nullable NSData *
Wyodrębnij odcisk cyfrowy z zaszyfrowanego hasła.
getEncryptedPasscodeKeyId:keyId:error:(NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut)
virtual BOOL
Wyodrębnij identyfikator klucza z zaszyfrowanego hasła.
getEncryptedPasscodeNonce:nonce:error:(NSData *encPasscode, UInt32 *nonceOut, NSError **errOut)
virtual BOOL
Wyodrębnij wartość jednorazową z zaszyfrowanego hasła.
isSupportedPasscodeEncryptionConfig:(UInt8 config)
virtual BOOL
Określa, czy określona konfiguracja szyfrowania kodu dostępu jest obsługiwana.

Publiczne funkcje statyczne

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
)

Odszyfruj hasło zaszyfrowane za pomocą schematu szyfrowania 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
)

Zaszyfruj kod dostępu, korzystając ze schematu szyfrowania Nest Passcode Encryption.

getEncryptedPasscodeConfig:config:error:

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

Wyodrębnij typ konfiguracji z zaszyfrowanego hasła.

getEncryptedPasscodeFingerprint:error:

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

Wyodrębnij odcisk cyfrowy z zaszyfrowanego hasła.

getEncryptedPasscodeKeyId:keyId:error:

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

Wyodrębnij identyfikator klucza z zaszyfrowanego hasła.

getEncryptedPasscodeNonce:nonce:error:

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

Wyodrębnij wartość jednorazową z zaszyfrowanego hasła.

isSupportedPasscodeEncryptionConfig:

virtual BOOL isSupportedPasscodeEncryptionConfig:(
  UInt8 config
)

Określa, czy określona konfiguracja szyfrowania kodu dostępu jest obsługiwana.