/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { TlvByteString, TlvField, TlvObject, TlvOptionalField, TlvUInt32 } from "@matter/types";
const TlvAttestation = TlvObject({
  declaration: TlvField(1, TlvByteString),
  attestationNonce: TlvField(2, TlvByteString.bound({ length: 32 })),
  timestamp: TlvField(3, TlvUInt32),
  // TODO: check actual max length in specs
  firmwareInfo: TlvOptionalField(4, TlvByteString)
});
const TlvCertSigningRequest = TlvObject({
  certSigningRequest: TlvField(1, TlvByteString),
  csrNonce: TlvField(2, TlvByteString.bound({ length: 32 })),
  vendorReserved1: TlvOptionalField(3, TlvByteString),
  vendorReserved2: TlvOptionalField(4, TlvByteString),
  vendorReserved3: TlvOptionalField(5, TlvByteString)
});
export {
  TlvAttestation,
  TlvCertSigningRequest
};
//# sourceMappingURL=OperationalCredentialsTypes.js.map
