/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Bytes, MlDsa } from "@matter/general"; import { BitFlag, TypeFromPartialBitSchema } from "@matter/types"; export declare const ExtensionKeyUsageBitmap: { digitalSignature: BitFlag; nonRepudiation: BitFlag; keyEncipherment: BitFlag; dataEncipherment: BitFlag; keyAgreement: BitFlag; keyCertSign: BitFlag; cRLSign: BitFlag; encipherOnly: BitFlag; decipherOnly: BitFlag; }; export declare const ExtensionKeyUsageSchema: import("@matter/types").BitmapSchemaInternal<{ digitalSignature: BitFlag; nonRepudiation: BitFlag; keyEncipherment: BitFlag; dataEncipherment: BitFlag; keyAgreement: BitFlag; keyCertSign: BitFlag; cRLSign: BitFlag; encipherOnly: BitFlag; decipherOnly: BitFlag; }>; export interface MatterCertificate { serialNumber: Bytes; signatureAlgorithm: number; issuer: {}; /** Raw DER bytes of the issuer Name, preserved for exact-match comparisons (e.g. CRL revocation lookup). Only present on parsed certificates. */ issuerDer?: Bytes; /** Raw DER bytes of the subject Name, preserved for exact-match comparisons. Only present on parsed certificates. */ subjectDer?: Bytes; /** Raw DER bytes of the TBSCertificate, preserved so signature verification matches the bytes that were actually signed. Only present on parsed certificates. */ tbsDer?: Bytes; notBefore: number; notAfter: number; subject: {}; publicKeyAlgorithm: number; ellipticCurveIdentifier: number; ellipticCurvePublicKey: Bytes; extensions: { basicConstraints: { isCa: boolean; pathLen?: number; }; keyUsage: TypeFromPartialBitSchema; extendedKeyUsage?: number[]; subjectKeyIdentifier: Bytes; authorityKeyIdentifier: Bytes; futureExtension?: Bytes[]; }; signature: Bytes; /** * The ML-DSA parameter set the issuer signed with, where it did not use ecdsa-with-SHA256. Only attestation * certificates may carry one (PQC Phase 1). */ mlDsaSignature?: MlDsa.ParameterSet; /** * The certificate's own ML-DSA public key, where it has one instead of an EC P-256 key; `ellipticCurvePublicKey` * is then empty. Only PAA and PAI certificates may carry one (PQC Phase 1). */ mlDsaPublicKey?: { parameterSet: MlDsa.ParameterSet; key: Bytes; }; } //# sourceMappingURL=base.d.ts.map