ChipAuthenticateHandler

public interface ChipAuthenticateHandler

Methods

extractPublicKey

byte[] extractPublicKey(byte[] fileData)

Callback for extracting public key from the file read by the first step of the CHIP AUTHENTICATE command. This file is supposed to contain the public key for chip authenticate process.

Parameters:
  • fileData – the file data.

Throws:
Returns:

a byte array containing the authenticated public key as a PKCS#8 format allowing to perform a CHIP AUTHENTICATE command.