/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Bytes, CertificateError } from "@matter/general"; import { Certificate } from "./Certificate.js"; import { Unsigned } from "./common.js"; import { AttestationCertificate } from "./definitions/attestation.js"; import { MatterCertificate } from "./definitions/base.js"; /** * Base class for Attestation Certificates (PAA, PAI, DAC). * * PAA and PAI certificates may use ML-DSA keys and any of them may carry an ML-DSA signature (PQC Phase 1). Parsing * admits ML-DSA only while {@link Specification.isForwardFeatureEnabled} reports "pqc-phase-1". */ export declare abstract class AttestationBaseCertificate extends Certificate { } /** * Thrown when an attestation certificate uses ML-DSA while the "pqc-phase-1" forward feature is not enabled. * * The certificate may be valid; this build is configured not to accept it. */ export declare class MlDsaAttestationDisabledError extends CertificateError { } /** PAA (Product Attestation Authority) Certificate. */ export declare class Paa extends AttestationBaseCertificate { /** Construct the class from an ASN.1/DER encoded certificate */ static fromAsn1(asn1: Bytes): Paa; } /** PAI (Product Attestation Intermediate) Certificate. */ export declare class Pai extends AttestationBaseCertificate { /** Construct the class from an ASN.1/DER encoded certificate */ static fromAsn1(asn1: Bytes): Pai; } /** DAC (Device Attestation Certificate) Certificate. */ export declare class Dac extends AttestationBaseCertificate { /** Construct the class from an ASN.1/DER encoded certificate */ static fromAsn1(asn1: Bytes): Dac; /** * PQC Phase 1 keeps the DAC key on ECDSA P-256. * * @throws CertificateError if the key is not EC P-256 * @throws KeyInputError if the EC key is malformed */ constructor(cert: AttestationCertificate.Dac | Unsigned); } //# sourceMappingURL=AttestationCertificates.d.ts.map