class Matter::Certificate::AttestationCertificateManager

Overview

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

Creates a complete attestation certificate chain for testing:

Defined in:

matter/certificate/attestation_certificate_manager.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(vendor_id : UInt16, product_id : UInt16 | Nil = nil) #

[View source]

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


[View source]
def get_pai_cert : Bytes #

Get PAI certificate


[View source]
def paa_cert : Bytes #

PAA certificate (DER encoded)


[View source]
def paa_key_pair : Crypto::Key #

PAA key pair (persisted across instances for same vendor)


[View source]
def pai_cert : Bytes #

PAI certificate (DER encoded)


[View source]
def pai_key_pair : Crypto::Key #

PAI key pair (persisted across instances)


[View source]
def product_id : UInt16 | Nil #

Product ID (optional, for PAI scoping)


[View source]
def vendor_id : UInt16 #

Vendor ID for this certificate chain


[View source]