NLWeavePasscodeEncryptionSupport
#include <src/device-manager/cocoa/NLWeavePasscodeEncryptionSupport.h>
Wrapper pour l'implémentation C ++ de la fonctionnalité de cryptage / décryptage de code PIN.
Sommaire
Héritage
Hérite de: NSObjectFonctions statiques publiques | |
---|---|
decryptPasscode:config:encKey:authKey:fingerprintKey:error: (NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut) | virtual nullable NSData * Déchiffrez un code qui a été chiffré à l’aide du schéma 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 * Cryptez un code secret à l’aide du schéma Nest Passcode Encryption. |
getEncryptedPasscodeConfig:config:error: (NSData *encPasscode, UInt8 *configOut, NSError **errOut) | virtual BOOL Extrayez le type de configuration d'un code secret chiffré. |
getEncryptedPasscodeFingerprint:error: (NSData *encPasscode, NSError **errOut) | virtual nullable NSData * Extrayez l'empreinte digitale d'un mot de passe crypté. |
getEncryptedPasscodeKeyId:keyId:error: (NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut) | virtual BOOL Extrayez l'ID de clé d'un code d'accès chiffré. |
getEncryptedPasscodeNonce:nonce:error: (NSData *encPasscode, UInt32 *nonceOut, NSError **errOut) | virtual BOOL Extrayez la valeur nonce d'un code d'accès chiffré. |
isSupportedPasscodeEncryptionConfig: (UInt8 config) | virtual BOOL Détermine si la configuration de chiffrement du code d'accès spécifiée est prise en charge. |
Fonctions statiques publiques
decryptPasscode: config: encKey: authKey: fingerprintKey: erreur:
virtual nullable NSData * decryptPasscode:config:encKey:authKey:fingerprintKey:error:( NSData *encPasscode, UInt8 config, NSData *encKey, NSData *authKey, NSData *fingerprintKey, NSError **errOut )
Déchiffrez un code qui a été chiffré à l’aide du schéma Nest Passcode Encryption.
encryptPasscode: keyId: nonce: passcode: encKey: authKey: fingerprintKey: erreur:
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 )
Cryptez un mot de passe à l’aide du schéma Nest Passcode Encryption.
getEncryptedPasscodeConfig: config: erreur:
virtual BOOL getEncryptedPasscodeConfig:config:error:( NSData *encPasscode, UInt8 *configOut, NSError **errOut )
Extrayez le type de configuration d'un code secret chiffré.
getEncryptedPasscodeFingerprint: erreur:
virtual nullable NSData * getEncryptedPasscodeFingerprint:error:( NSData *encPasscode, NSError **errOut )
Extrayez l'empreinte digitale d'un mot de passe crypté.
getEncryptedPasscodeKeyId: keyId: erreur:
virtual BOOL getEncryptedPasscodeKeyId:keyId:error:( NSData *encPasscode, UInt32 *keyIdOut, NSError **errOut )
Extrayez l'ID de clé d'un code d'accès chiffré.
getEncryptedPasscodeNonce: nonce: erreur:
virtual BOOL getEncryptedPasscodeNonce:nonce:error:( NSData *encPasscode, UInt32 *nonceOut, NSError **errOut )
Extrayez la valeur nonce d'un code secret chiffré.
isSupportedPasscodeEncryptionConfig:
virtual BOOL isSupportedPasscodeEncryptionConfig:( UInt8 config )
Détermine si la configuration de chiffrement du code d'accès spécifiée est prise en charge.