Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## [6.0.0]

**Note:** Backward incompatible ABI change:
The struct TEEHANDLE struct is packed(1) now
Added field to store V2 logger callback.

### Changed
- Linux: pull libmei 1.7.0
- CMake: consume four-part version
- Windows: fix copyright format

### Added
- Windows: C# OOP wrapper
- TeeInitFull2 API

## [5.0.0]

**Note:** Backward incompatible API change:
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ endif(UNIX)

include(CPack)

add_subdirectory(bindings)
if(BUILD_TEST)
add_subdirectory(tests)
endif(BUILD_TEST)
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@ Every thread should either initialize and use its own handle
or a locking mechanism should be implemented by the caller to ensure
that only one thread uses the handle at any time.
The only exception is ability to call Disconnect to exit from read
blocked on another thread.
blocked on another thread.

## Artificial Intelligence

These contents may have been developed with support from one or more Intel-operated generative artificial intelligence solutions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
6.0.0
6 changes: 6 additions & 0 deletions bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2025 Intel Corporation

if(BUILD_SHARED_LIBS AND WIN32)
add_subdirectory(csharp)
endif(BUILD_SHARED_LIBS AND WIN32)
36 changes: 36 additions & 0 deletions bindings/csharp/AssemblyInfo.cs.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright (C) 2025 Intel Corporation
*/
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Intel.Security.Metee")]
[assembly: AssemblyDescription("Metee C# bindings")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Intel Corporation")]
[assembly: AssemblyProduct("Intel.Security.Metee")]
[assembly: AssemblyCopyright("Copyright (C) 2025 Intel Corporation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("62336647-651e-4c5a-a92a-fbda141e6c4e")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("${TEE_VERSION_STRING}")]
[assembly: AssemblyFileVersion("${TEE_VERSION_STRING}")]
28 changes: 28 additions & 0 deletions bindings/csharp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2025 Intel Corporation
cmake_minimum_required(VERSION 3.8)

project(Intel.Security.Metee VERSION 0.1.0 LANGUAGES CSharp)

include(CSharpUtilities)

configure_file(AssemblyInfo.cs.in ${CMAKE_CURRENT_SOURCE_DIR}/Properties/AssemblyInfo.cs)

add_library(Intel.Security.Metee
Metee.cs
Properties/AssemblyInfo.cs
)

add_dependencies(Intel.Security.Metee metee)

set_property(TARGET Intel.Security.Metee PROPERTY VS_DOTNET_TARGET_FRAMEWORK_VERSION "v4.6.1")

set_property(TARGET Intel.Security.Metee PROPERTY VS_DOTNET_REFERENCES
"System"
"System.Core"
"System.Data.DataSetExtensions"
"Microsoft.CSharp"
"System.Data"
)

install(TARGETS Intel.Security.Metee RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
Loading