#pragma once

#include <softbus_core/models/ObjectModel.h>

#include <string>

namespace softbus::core {

class DeviceIdentity {
public:
    static std::string generateRuntimeDeviceId();
    static std::string generateTraceId();
    static bool isValidRuntimeDeviceId(const std::string& id);
    static bool isValidStableDeviceKey(const std::string& key);
    static ObjectRef buildObjectRef(const ObjectModelTree& tree, const std::string& stableDeviceKey,
                                    const std::string& pointName);
};

} // namespace softbus::core
