/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Bytes, EcdsaSignature } from "@matter/general"; import { Certificate } from "./Certificate.js"; import { Unsigned } from "./common.js"; import { MatterCertificate } from "./definitions/base.js"; /** * Base class for all operational certificates (RCAC, ICAC, NOC) */ export declare abstract class OperationalBase extends Certificate { /** §6.1.3 caps a Matter operational certificate (NOC chain + VVSC) at 400 bytes in TLV form. */ static readonly MAX_TLV_BYTES = 400; protected static assertTlvSize(tlv: Bytes): void; constructor(cert: CT | Unsigned); /** Operational certificates are always signed with ecdsa-with-SHA256. */ get signature(): EcdsaSignature; set signature(signature: EcdsaSignature); /** Validates all basic certificate fields on construction. */ protected abstract validateFields(): void; /** Encodes the signed certificate into the Matter TLV format. */ abstract asSignedTlv(): Bytes; /** * Verifies general requirements a Matter certificate fields must fulfill. * Rules for this are listed in @see {@link MatterSpecification.v161.Core} §6.5.x */ generalVerify(): void; } //# sourceMappingURL=OperationalBase.d.ts.map