Python Bluetooth Reference DeviceCertificate

Device Certificate is used to recognise a valid device.

Initialising

Initialise the access certificate.

Declaration

__init__(self, hmkit)

Initialise the device certificate with all its attributes except Certificate Authority signature.

Declaration

def update_devcertf(self, devcert):

Attributes

The certificate issuer's identifier.

Declaration

public Issuer getIssuer();

Returns

byte array (The 4 bytes making up the issuers identifier)

The certificate's app identifier.

Declaration

get_app_identifier(self):

Returns

byte array (The 12 bytes making up the application identifier)

The serial number of the device.

Declaration

get_devSerialNum(self):

Returns

byte array (The 9 bytes making up the serial number of a device)

The public key of the device.

Declaration

get_issuer_pubkey(self):

Returns

byte array (The 64 bytes making up the public key of a device.)