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 AUTHENTICATEcommand. This file is supposed to contain the public key for chip authenticate process.- Parameters:
fileData – the file data.
- Throws:
- Returns:
a
byte arraycontaining the authenticated public key as a PKCS#8 format allowing to perform aCHIP AUTHENTICATEcommand.