Class HAPEncryption

Simple struct to hold vars needed to support HAP encryption.

Constructors

  • Parameters

    • clientPublicKey: Buffer
    • secretKey: Buffer
    • publicKey: Buffer
    • sharedSecret: Buffer
    • hkdfPairEncryptionKey: Buffer

    Returns HAPEncryption

Properties

accessoryToControllerCount: number = 0
accessoryToControllerKey: Buffer
clientPublicKey: Buffer
controllerToAccessoryCount: number = 0
controllerToAccessoryKey: Buffer
hkdfPairEncryptionKey: Buffer
incompleteFrame?: Buffer
publicKey: Buffer
secretKey: Buffer
sharedSecret: Buffer