class
Matter::Certificate::AttestationCertificateManager
- Matter::Certificate::AttestationCertificateManager
- Reference
- Object
Overview
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
Defined in:
matter/certificate/attestation_certificate_manager.crConstructors
Instance Method Summary
-
#get_dac_cert(product_id : UInt16) : Tuple(Bytes, Crypto::Key)
Generate DAC for a specific product Returns both the certificate and the key pair
-
#get_pai_cert : Bytes
Get PAI certificate
-
#paa_cert : Bytes
PAA certificate (DER encoded)
-
#paa_key_pair : Crypto::Key
PAA key pair (persisted across instances for same vendor)
-
#pai_cert : Bytes
PAI certificate (DER encoded)
-
#pai_key_pair : Crypto::Key
PAI key pair (persisted across instances)
-
#product_id : UInt16 | Nil
Product ID (optional, for PAI scoping)
-
#vendor_id : UInt16
Vendor ID for this certificate chain
Constructor Detail
Instance Method Detail
def get_dac_cert(product_id : UInt16) : Tuple(Bytes, Crypto::Key)
#
Generate DAC for a specific product Returns both the certificate and the key pair