/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Bytes, CertificateError, Crypto } from "@matter/general"; import { OperationalCertificate } from "./definitions/operational.js"; import { Icac } from "./Icac.js"; import { OperationalBase } from "./OperationalBase.js"; import { Rcac } from "./Rcac.js"; /** * Thrown when the matter-node-id of a NOC is outside the Operational Node ID range. * * @see {@link MatterSpecification.v161.Core} § 11.18.6.7.1 */ export declare class OperationalNodeIdError extends CertificateError { } export declare class Noc extends OperationalBase { /** Construct the class from a Tlv version of the certificate */ static fromTlv(tlv: Bytes): Noc; /** Construct the class from an ASN.1/DER encoded certificate */ static fromAsn1(asn1: Bytes): Noc; /** Validates all basic certificate fields on construction. */ protected validateFields(): void; /** * Encodes the certificate with the signature as Matter Tlv. * If the certificate is not signed, it throws a CertificateError. */ asSignedTlv(): AllowSharedBufferSource; /** * Verify requirements a Matter Node Operational certificate must fulfill. * Rules for this are listed in @see {@link MatterSpecification.v161.Core} §6.5.x */ verify(crypto: Crypto, root: Rcac, ica?: Icac): Promise; } //# sourceMappingURL=Noc.d.ts.map