class

Matter::Certificate::AttestationCertificateManager

Inherits Reference < Object

Manages generation of attestation certificates (PAA, PAI, DAC) Based on matter.js AttestationCertificateManager

Creates a complete attestation certificate chain for testing:

  • PAA (Product Attestation Authority) - self-signed root CA
  • PAI (Product Attestation Intermediate) - intermediate CA
  • DAC (Device Attestation Certificate) - device certificate

Constructors

new(vendor_id : UInt16, product_id : UInt16 | Nil = nil)
Source

Instance methods

get_dac_cert(product_id : UInt16) : Tuple(Bytes, Crypto::Key)

Generate DAC for a specific product Returns both the certificate and the key pair

Source
paa_cert

PAA certificate (DER encoded)

Source
paa_key_pair

PAA key pair (persisted across instances for same vendor)

Source
pai_cert

Get PAI certificate

Source
pai_key_pair

PAI key pair (persisted across instances)

Source
product_id

Product ID (optional, for PAI scoping)

Source
vendor_id

Vendor ID for this certificate chain

Source