Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created May 28, 2024 09:04
Show Gist options
  • Save vs-mobiletools-engineering-service2/3dfab8722ca7d1af1d6a128770d41a4b to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/3dfab8722ca7d1af1d6a128770d41a4b to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file has been truncated, but you can view the full file.
diff --git a/old/Constants.ios.generated.cs b/new/Constants.ios.generated.cs
index 0430054..275d796 100644
--- a/old/Constants.ios.generated.cs
+++ b/new/Constants.ios.generated.cs
@@ -134,6 +134,7 @@ namespace ObjCRuntime {
// iOS 13.0
public const string BackgroundTasksLibrary = "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks";
public const string CoreHapticsLibrary = "/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string LinkPresentationLibrary = "/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation";
public const string MetricKitLibrary = "/System/Library/Frameworks/MetricKit.framework/MetricKit";
public const string PencilKitLibrary = "/System/Library/Frameworks/PencilKit.framework/PencilKit";
diff --git a/old/Constants.tvos.generated.cs b/new/Constants.tvos.generated.cs
index be0cc8f..61d87ce 100644
--- a/old/Constants.tvos.generated.cs
+++ b/new/Constants.tvos.generated.cs
@@ -78,6 +78,7 @@ namespace ObjCRuntime {
// TVOS 13.0
public const string AuthenticationServicesLibrary = "/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices";
public const string BackgroundTasksLibrary = "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string SoundAnalysisLibrary = "/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis";
// TVOS 14.0
diff --git a/old/Constants.watchos.generated.cs b/new/Constants.watchos.generated.cs
index 7d8b99b..901bb49 100644
--- a/old/Constants.watchos.generated.cs
+++ b/new/Constants.watchos.generated.cs
@@ -64,6 +64,7 @@ namespace ObjCRuntime {
// WatchOS 8.0
public const string ChipLibrary = "/System/Library/Frameworks/CHIP.framework/CHIP";
public const string CoreMidiLibrary = "/System/Library/Frameworks/CoreMIDI.framework/CoreMIDI";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string NearbyInteractionLibrary = "/System/Library/Frameworks/NearbyInteraction.framework/NearbyInteraction";
public const string OSLogLibrary = "/System/Library/Frameworks/OSLog.framework/OSLog";
public const string ShazamKitLibrary = "/System/Library/Frameworks/ShazamKit.framework/ShazamKit";
diff --git a/old/dotnet/Constants.ios.generated.cs b/new/dotnet/Constants.ios.generated.cs
index c0cdc4f..925a0d7 100644
--- a/old/dotnet/Constants.ios.generated.cs
+++ b/new/dotnet/Constants.ios.generated.cs
@@ -133,6 +133,7 @@ namespace ObjCRuntime {
// iOS 13.0
public const string BackgroundTasksLibrary = "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks";
public const string CoreHapticsLibrary = "/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string LinkPresentationLibrary = "/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation";
public const string MetricKitLibrary = "/System/Library/Frameworks/MetricKit.framework/MetricKit";
public const string PencilKitLibrary = "/System/Library/Frameworks/PencilKit.framework/PencilKit";
diff --git a/old/dotnet/Constants.maccatalyst.generated.cs b/new/dotnet/Constants.maccatalyst.generated.cs
index aaf774b..8ce71d2 100644
--- a/old/dotnet/Constants.maccatalyst.generated.cs
+++ b/new/dotnet/Constants.maccatalyst.generated.cs
@@ -40,6 +40,7 @@ namespace ObjCRuntime {
public const string CoreSpotlightLibrary = "/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlight";
public const string CoreTextLibrary = "/System/Library/Frameworks/CoreText.framework/CoreText";
public const string CoreVideoLibrary = "/System/Library/Frameworks/CoreVideo.framework/CoreVideo";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string DeviceCheckLibrary = "/System/Library/Frameworks/DeviceCheck.framework/DeviceCheck";
public const string EventKitLibrary = "/System/Library/Frameworks/EventKit.framework/EventKit";
public const string EventKitUILibrary = "/System/Library/Frameworks/EventKitUI.framework/EventKitUI";
diff --git a/old/dotnet/Constants.tvos.generated.cs b/new/dotnet/Constants.tvos.generated.cs
index 6ff6f00..d8726f7 100644
--- a/old/dotnet/Constants.tvos.generated.cs
+++ b/new/dotnet/Constants.tvos.generated.cs
@@ -78,6 +78,7 @@ namespace ObjCRuntime {
// TVOS 13.0
public const string AuthenticationServicesLibrary = "/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices";
public const string BackgroundTasksLibrary = "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string SoundAnalysisLibrary = "/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis";
// TVOS 14.0
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
index 4a9efd5..3ac07a1 100644
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6d764a8bc65495b43e253ec39283c9ca4c850b0f")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+69c2a41664be833f07868a0fd3d88d86fa04fab1")]
[assembly: System.Reflection.AssemblyProductAttribute("bgen")]
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
index 63175c0..b04f132 100644
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
@@ -1 +1 @@
-{"documents":{"/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/6d764a8bc65495b43e253ec39283c9ca4c850b0f/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}}
\ No newline at end of file
+{"documents":{"/Users/builder/azdo/_work/1/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/69c2a41664be833f07868a0fd3d88d86fa04fab1/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}}
\ No newline at end of file
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json
index fe40217..b8b73c4 100644
--- a/old/dotnet/ios/SourceLink.json
+++ b/new/dotnet/ios/SourceLink.json
@@ -1,5 +1,5 @@
{
"documents": {
- "/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/6d764a8bc65495b43e253ec39283c9ca4c850b0f/src*"
+ "/Users/builder/azdo/_work/1/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/69c2a41664be833f07868a0fd3d88d86fa04fab1/src*"
}
}
diff --git a/old/dotnet/ios/doc/Microsoft.iOS.xml b/new/dotnet/ios/doc/Microsoft.iOS.xml
index 3b647ed..fe236cd 100644
--- a/old/dotnet/ios/doc/Microsoft.iOS.xml
+++ b/new/dotnet/ios/doc/Microsoft.iOS.xml
@@ -303040,6 +303040,2495 @@
</para>
</remarks>
</member>
+ <member name="P:CryptoTokenKit.TKBerTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKBerTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKCompactTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKCompactTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKErrorCodeExtensions">
+ <summary>Extension methods for the <see cref="T:CryptoTokenKit.TKErrorCode" /> enumeration.</summary>
+ <remarks>
+ <para>The extension method for the <see cref="T:CryptoTokenKit.TKErrorCode" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKErrorCodeExtensions.GetDomain(CryptoTokenKit.TKErrorCode)">
+ <summary>Returns the error domain associated with the CryptoTokenKit.TKErrorCode value</summary>
+ <param name="self">The enumeration value</param>
+ <remarks>
+ <para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSimpleTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSimpleTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCard" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardAtrInterfaceGroup" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardPinFormat" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardSlot" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlotManager.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardToken.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardToken" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardTokenDriver.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardTokenDriver" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardTokenSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardTokenSession" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteraction" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKSmartCardUserInteractionDelegate" /> interface to support all the methods from the TKSmartCardUserInteractionDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKSmartCardUserInteractionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKSmartCardUserInteractionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKToken.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKToken.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenAuthOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenAuthOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKTokenDelegate" /> interface to support all the methods from the TKTokenDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKTokenDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriver.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDriver" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDriverDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKTokenDriverDelegate" /> interface to support all the methods from the TKTokenDriverDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKTokenDriverDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDriverDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDriverDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyAlgorithm.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainCertificate.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenKeychainCertificate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainContents.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainItem.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainItem.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenKeychainKey" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyExchangeParameters.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyExchangeParameters.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenKeyExchangeParameters" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyExchangeParameters.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyExchangeParameters.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenPasswordAuthOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenPasswordAuthOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenPasswordAuthOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenPasswordAuthOperation.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenPasswordAuthOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenPasswordAuthOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenSessionDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKTokenSessionDelegate" /> interface to support all the methods from the TKTokenSessionDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKTokenSessionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenSessionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSessionDelegate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenSessionDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSessionDelegate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSessionDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenSmartCardPinAuthOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcher.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenWatcher" /> with default values.</summary>
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/1641147-init</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcherTokenInfo.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcherTokenInfo.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcherTokenInfo.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
<member name="P:DeviceCheck.DCAppAttestService.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -332492,6 +334981,492 @@
<member name="P:CoreLocationUI.CLLocationButton.Label">
<appledoc>https://developer.apple.com/documentation/corelocationui/cllocationbutton/3751992-label</appledoc>
</member>
+ <member name="T:CryptoTokenKit.TKBerTlvRecord">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkbertlvrecord</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(System.UInt64,Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkbertlvrecord/1791959-initwithtag</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(System.UInt64,CryptoTokenKit.TKTlvRecord[])">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkbertlvrecord/1791980-initwithtag</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.GetData(System.UInt64)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkbertlvrecord/1791996-datafortag</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKCompactTlvRecord">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkcompacttlvrecord</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor(System.Byte,Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkcompacttlvrecord/1791994-initwithtag</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSimpleTlvRecord">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksimpletlvrecord</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor(System.Byte,Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksimpletlvrecord/1791974-initwithtag</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCard">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.BeginSession(System.Action{System.Boolean,Foundation.NSError})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390168-beginsessionwithreply</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.CreateUserInteractionForSecurePinChange(CryptoTokenKit.TKSmartCardPinFormat,Foundation.NSData,System.IntPtr,System.IntPtr)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390312-userinteractionforsecurepinchang</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.CreateUserInteractionForSecurePinVerification(CryptoTokenKit.TKSmartCardPinFormat,Foundation.NSData,System.IntPtr)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390289-userinteractionforsecurepinverif</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.EndSession">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390271-endsession</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.ExecuteBlock(Foundation.NSError@,CryptoTokenKit.TKSmartCardExecuteCallback)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1773461-insessionwitherror</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.Send(System.Byte,System.Byte,System.Byte,Foundation.NSData,Foundation.NSNumber,CryptoTokenKit.TKSmartCardSendCallback)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390283-sendins</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.Send(System.Byte,System.Byte,System.Byte,Foundation.NSData,Foundation.NSNumber,System.UInt16@,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1778266-sendins</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.TransmitRequest(Foundation.NSData,System.Action{Foundation.NSData,Foundation.NSError})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390161-transmitrequest</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.AllowedProtocols">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390253-allowedprotocols</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Cla">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390158-cla</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Context">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390243-context</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.CurrentProtocol">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390172-currentprotocol</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Sensitive">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390216-sensitive</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Slot">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390281-slot</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.UseCommandChaining">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1773460-usecommandchaining</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.UseExtendedLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390239-useextendedlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Valid">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390194-valid</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardAtr">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403560-initwithbytes</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(System.Func{System.Int32})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403516-initwithsource</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.GetInterfaceGroup(System.IntPtr)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403537-interfacegroupatindex</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.GetInterfaceGroup(CryptoTokenKit.TKSmartCardProtocol)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403483-interfacegroupforprotocol</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.Bytes">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403518-bytes</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.HistoricalBytes">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403513-historicalbytes</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.HistoricalRecords">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1791962-historicalrecords</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.Protocols">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403472-protocols</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardAtrInterfaceGroup">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.Protocol">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup/1403429-protocol</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.TA">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup/1403499-ta</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.TB">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup/1403452-tb</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.TC">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup/1403438-tc</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardPinFormat">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.Charset">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390176-charset</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.Encoding">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390241-encoding</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.MaxPinLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390182-maxpinlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.MinPinLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390188-minpinlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinBitOffset">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390269-pinbitoffset</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinBlockByteLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390198-pinblockbytelength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinJustification">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390190-pinjustification</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinLengthBitOffset">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390291-pinlengthbitoffset</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinLengthBitSize">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390314-pinlengthbitsize</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardSlot">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.MakeSmartCard">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390225-makesmartcard</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.Atr">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390285-atr</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.MaxInputLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390302-maxinputlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.MaxOutputLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390170-maxoutputlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.Name">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390186-name</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.State">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390293-state</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardSlotManager">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.GetSlot(System.String,CryptoTokenKit.TKGetSlotCallback)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager/1390265-getslotwithname</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.GetSlot(System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager/2876162-slotnamed</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlotManager.DefaultManager">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager/1390245-defaultmanager</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlotManager.SlotNames">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager/1390156-slotnames</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardToken">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtoken</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor(CryptoTokenKit.TKSmartCard,Foundation.NSData,System.String,CryptoTokenKit.TKSmartCardTokenDriver)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtoken/1778164-initwithsmartcard</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardToken.Aid">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtoken/1773457-aid</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardTokenDriver">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtokendriver</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardTokenSession">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtokensession</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardTokenSession.SmartCard">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtokensession/1773453-smartcard</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteraction">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.Cancel">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390231-cancel</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.Run(System.Action{System.Boolean,Foundation.NSError})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390212-runwithreply</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.InitialTimeout">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390178-initialtimeout</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.InteractionTimeout">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390206-interactiontimeout</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390166-delegate</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.Locale">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390202-locale</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.PinCompletion">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390184-pincompletion</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.PinMessageIndices">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390192-pinmessageindices</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.ResultData">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390308-resultdata</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.ResultSW">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390200-resultsw</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforsecurepinchange</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.PinConfirmation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforsecurepinchange/1390310-pinconfirmation</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforsecurepinverification</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTlvRecord">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.CreateRecord(Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1773444-recordfromdata</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.CreateSequenceOfRecords(Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1773446-sequenceofrecordsfromdata</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.Data">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1791946-data</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.Tag">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1791953-tag</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.Value">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1791968-value</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKToken">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKToken.#ctor(CryptoTokenKit.TKTokenDriver,System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/1791958-initwithtokendriver</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.Configuration">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/3180433-configuration</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.KeychainContents">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/1773447-keychaincontents</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.TokenDriver">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/1773445-tokendriver</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/1791954-delegate</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenAuthOperation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenauthoperation</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.Finish(Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenauthoperation/1773440-finishwitherror</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenConfiguration">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.GetCertificate(Foundation.NSObject,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3180435-certificateforobjectid</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.GetKey(Foundation.NSObject,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3180437-keyforobjectid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.ConfigurationData">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3191934-configurationdata</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.InstanceId">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3142277-instanceid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.KeychainItems">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3180438-keychainitems</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDriver">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriver</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriver.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriver/1773437-delegate</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDriverConfiguration">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.AddTokenConfiguration(System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3191935-addtokenconfigurationfortokenins</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.RemoveTokenConfiguration(System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3191937-removetokenconfigurationfortoken</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.ClassId">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3180441-classid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.DriverConfigurations">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3191936-driverconfigurations</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.TokenConfigurations">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3180444-tokenconfigurations</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeyAlgorithm">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyalgorithm</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.IsAlgorithm(Security.SecKeyAlgorithm)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyalgorithm/1773432-isalgorithm</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.SupportsAlgorithm(Security.SecKeyAlgorithm)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyalgorithm/1773433-supportsalgorithm</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeychainCertificate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincertificate</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor(Security.SecKeyAlgorithm,Foundation.NSObject)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincertificate/1641929-initwithcertificate</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainCertificate.Data">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincertificate/1773426-data</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeychainContents">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.Fill(CryptoTokenKit.TKTokenKeychainItem[])">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents/1773427-fillwithitems</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.GetCertificate(Foundation.NSObject,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents/1773431-certificateforobjectid</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.GetKey(Foundation.NSObject,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents/1773429-keyforobjectid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainContents.Items">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents/1773428-items</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeychainItem">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainItem.#ctor(Foundation.NSObject)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem/1773423-initwithobjectid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.Constraints">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem/1773425-constraints</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.Label">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem/1641926-label</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.ObjectId">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem/1641927-objectid</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeychainKey">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor(System.IntPtr,Foundation.NSObject)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641930-initwithcertificate</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.ApplicationTag">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641921-applicationtag</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.CanDecrypt">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641923-candecrypt</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.CanPerformKeyExchange">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641924-canperformkeyexchange</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.CanSign">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641925-cansign</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.KeySizeInBits">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641934-keysizeinbits</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.KeyType">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641935-keytype</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.PublicKeyData">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1773421-publickeydata</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.PublicKeyHash">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1791971-publickeyhash</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeyExchangeParameters">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyexchangeparameters</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyExchangeParameters.RequestedSize">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyexchangeparameters/1642158-requestedsize</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyExchangeParameters.SharedInfo">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyexchangeparameters/1642150-sharedinfo</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenPasswordAuthOperation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenpasswordauthoperation</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenPasswordAuthOperation.Password">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenpasswordauthoperation/1642168-password</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenSession">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensession</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSession.#ctor(CryptoTokenKit.TKToken)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensession/1791976-initwithtoken</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSession.Token">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensession/1791949-token</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSession.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensession/1773413-delegate</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenSmartCardPinAuthOperation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.ApduTemplate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642174-apdutemplate</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.Pin">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642146-pin</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.PinByteOffset">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642178-pinbyteoffset</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.PinFormat">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642153-pinformat</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.SmartCard">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642172-smartcard</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenWatcher">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.#ctor(System.Action{Foundation.NSString})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/1641143-initwithinsertionhandler</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.AddRemovalHandler(System.Action{Foundation.NSString},System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/1641144-addremovalhandler</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.GetTokenInfo(System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/3750394-tokeninfofortokenid</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.SetInsertionHandler(System.Action{Foundation.NSString})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/2869603-setinsertionhandler</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcher.TokenIds">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/1641142-tokenids</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenWatcherTokenInfo">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatchertokeninfo</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcherTokenInfo.DriverName">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatchertokeninfo/3750396-drivername</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcherTokenInfo.SlotName">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatchertokeninfo/3750397-slotname</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcherTokenInfo.TokenId">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatchertokeninfo/3750398-tokenid</appledoc>
+ </member>
<member name="T:DeviceCheck.DCAppAttestService">
<appledoc>https://developer.apple.com/documentation/devicecheck/dcappattestservice</appledoc>
</member>
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKBerTlvRecord.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKBerTlvRecord.g.cs
new file mode 100644
index 0000000..28c07b0
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKBerTlvRecord.g.cs
@@ -0,0 +1,181 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKBERTLVRecord", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKBerTlvRecord : TKTlvRecord {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKBERTLVRecord");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKBerTlvRecord" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKBerTlvRecord () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKBerTlvRecord (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKBerTlvRecord (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithTag:value:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKBerTlvRecord (ulong tag, NSData value)
+ : base (NSObjectFlag.Empty)
+ {
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UInt64_NativeHandle (this.Handle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UInt64_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ }
+ }
+ [Export ("initWithTag:records:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKBerTlvRecord (ulong tag, TKTlvRecord[] records)
+ : base (NSObjectFlag.Empty)
+ {
+ if (records is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (records));
+ var nsa_records = NSArray.FromNSObjects (records);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UInt64_NativeHandle (this.Handle, Selector.GetHandle ("initWithTag:records:"), tag, nsa_records.Handle), "initWithTag:records:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UInt64_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTag:records:"), tag, nsa_records.Handle), "initWithTag:records:");
+ }
+ nsa_records.Dispose ();
+ }
+ [Export ("dataForTag:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSData GetData (ulong tag)
+ {
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UInt64 (class_ptr, Selector.GetHandle ("dataForTag:"), tag))!;
+ }
+ } /* class TKBerTlvRecord */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKCompactTlvRecord.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKCompactTlvRecord.g.cs
new file mode 100644
index 0000000..54d45f0
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKCompactTlvRecord.g.cs
@@ -0,0 +1,160 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKCompactTLVRecord", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKCompactTlvRecord : TKTlvRecord {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKCompactTLVRecord");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKCompactTlvRecord" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKCompactTlvRecord () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKCompactTlvRecord (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKCompactTlvRecord (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithTag:value:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKCompactTlvRecord (byte tag, NSData value)
+ : base (NSObjectFlag.Empty)
+ {
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_byte_NativeHandle (this.Handle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_byte_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ }
+ }
+ } /* class TKCompactTlvRecord */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKErrorCode.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKErrorCode.g.cs
new file mode 100644
index 0000000..554a307
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKErrorCode.g.cs
@@ -0,0 +1,94 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Native]
+ public enum TKErrorCode : long {
+ NotImplemented = -1,
+ CommunicationError = -2,
+ CorruptedData = -3,
+ CanceledByUser = -4,
+ AuthenticationFailed = -5,
+ ObjectNotFound = -6,
+ TokenNotFound = -7,
+ BadParameter = -8,
+ AuthenticationNeeded = -9,
+ }
+ /// <summary>Extension methods for the <see cref="global::CryptoTokenKit.TKErrorCode" /> enumeration.</summary>
+ /// <remarks>
+ /// <para>The extension method for the <see cref="global::CryptoTokenKit.TKErrorCode" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
+ /// </remarks>
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static public partial class TKErrorCodeExtensions {
+ [Field ("TKErrorDomain", "CryptoTokenKit")]
+ static NSString? _domain;
+ /// <summary>Returns the error domain associated with the CryptoTokenKit.TKErrorCode value</summary>
+ /// <param name="self">The enumeration value</param>
+ /// <remarks>
+ /// <para>See the <see cref="global::Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
+ /// </remarks>
+ public static NSString? GetDomain (this TKErrorCode self)
+ {
+ if (_domain is null)
+ _domain = Dlfcn.GetStringConstant (Libraries.CryptoTokenKit.Handle, "TKErrorDomain");
+ return _domain;
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSimpleTlvRecord.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSimpleTlvRecord.g.cs
new file mode 100644
index 0000000..c8e3566
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSimpleTlvRecord.g.cs
@@ -0,0 +1,160 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSimpleTLVRecord", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSimpleTlvRecord : TKTlvRecord {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSimpleTLVRecord");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSimpleTlvRecord" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSimpleTlvRecord () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSimpleTlvRecord (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSimpleTlvRecord (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithTag:value:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSimpleTlvRecord (byte tag, NSData value)
+ : base (NSObjectFlag.Empty)
+ {
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_byte_NativeHandle (this.Handle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_byte_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ }
+ }
+ } /* class TKSimpleTlvRecord */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCard.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCard.g.cs
new file mode 100644
index 0000000..fa0afe1
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCard.g.cs
@@ -0,0 +1,587 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCard", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCard : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCard");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCard" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCard () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCard (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCard (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("beginSessionWithReply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void BeginSession ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ using var block_reply = Trampolines.SDActionArity2V0.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("beginSessionWithReply:"), (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("beginSessionWithReply:"), (IntPtr) block_ptr_reply);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> BeginSessionAsync ()
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ BeginSession((arg1_, arg2_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (arg1_, arg2_));
+ });
+ return tcs.Task;
+ }
+ [Export ("userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardUserInteractionForSecurePinChange? CreateUserInteractionForSecurePinChange (TKSmartCardPinFormat pinFormat, NSData apdu, nint currentPinByteOffset, nint newPinByteOffset)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var pinFormat__handle__ = pinFormat!.GetNonNullHandle (nameof (pinFormat));
+ var apdu__handle__ = apdu!.GetNonNullHandle (nameof (apdu));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCardUserInteractionForSecurePinChange> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr_IntPtr (this.Handle, Selector.GetHandle ("userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset:"), pinFormat__handle__, apdu__handle__, currentPinByteOffset, newPinByteOffset))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCardUserInteractionForSecurePinChange> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_IntPtr_IntPtr (this.SuperHandle, Selector.GetHandle ("userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset:"), pinFormat__handle__, apdu__handle__, currentPinByteOffset, newPinByteOffset))!;
+ }
+ #endif
+ }
+ [Export ("userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardUserInteractionForSecurePinVerification? CreateUserInteractionForSecurePinVerification (TKSmartCardPinFormat pinFormat, NSData apdu, nint pinByteOffset)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var pinFormat__handle__ = pinFormat!.GetNonNullHandle (nameof (pinFormat));
+ var apdu__handle__ = apdu!.GetNonNullHandle (nameof (apdu));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCardUserInteractionForSecurePinVerification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (this.Handle, Selector.GetHandle ("userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset:"), pinFormat__handle__, apdu__handle__, pinByteOffset))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCardUserInteractionForSecurePinVerification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_IntPtr (this.SuperHandle, Selector.GetHandle ("userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset:"), pinFormat__handle__, apdu__handle__, pinByteOffset))!;
+ }
+ #endif
+ }
+ [Export ("endSession")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EndSession ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("endSession"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("endSession"));
+ }
+ #endif
+ }
+ [Export ("inSessionWithError:executeBlock:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual bool ExecuteBlock (out NSError? error, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDTKSmartCardExecuteCallback))]TKSmartCardExecuteCallback block)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (block is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (block));
+ NativeHandle errorValue = IntPtr.Zero;
+ using var block_block = Trampolines.SDTKSmartCardExecuteCallback.CreateBlock (block);
+ BlockLiteral *block_ptr_block = &block_block;
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_ref_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("inSessionWithError:executeBlock:"), &errorValue, (IntPtr) block_ptr_block);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_ref_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("inSessionWithError:executeBlock:"), &errorValue, (IntPtr) block_ptr_block);
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret != 0;
+ #endif
+ }
+ [Export ("sendIns:p1:p2:data:le:reply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void Send (byte ins, byte p1, byte p2, NSData? requestData, NSNumber? le, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDTKSmartCardSendCallback))]TKSmartCardSendCallback reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var requestData__handle__ = requestData.GetHandle ();
+ var le__handle__ = le.GetHandle ();
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ using var block_reply = Trampolines.SDTKSmartCardSendCallback.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_byte_byte_byte_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("sendIns:p1:p2:data:le:reply:"), ins, p1, p2, requestData__handle__, le__handle__, (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_byte_byte_byte_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("sendIns:p1:p2:data:le:reply:"), ins, p1, p2, requestData__handle__, le__handle__, (IntPtr) block_ptr_reply);
+ }
+ #endif
+ }
+ [Export ("sendIns:p1:p2:data:le:sw:error:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? Send (byte ins, byte p1, byte p2, NSData? requestData, NSNumber? le, out ushort sw, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var requestData__handle__ = requestData.GetHandle ();
+ var le__handle__ = le.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ sw = default (ushort);
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_byte_byte_byte_NativeHandle_NativeHandle_out_UInt16_ref_NativeHandle (this.Handle, Selector.GetHandle ("sendIns:p1:p2:data:le:sw:error:"), ins, p1, p2, requestData__handle__, le__handle__, (ushort*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<ushort> (ref sw), &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_byte_byte_byte_NativeHandle_NativeHandle_out_UInt16_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("sendIns:p1:p2:data:le:sw:error:"), ins, p1, p2, requestData__handle__, le__handle__, (ushort*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<ushort> (ref sw), &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [Export ("transmitRequest:reply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void TransmitRequest (NSData request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V19))]global::System.Action<NSData, NSError> reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var request__handle__ = request!.GetNonNullHandle (nameof (request));
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ using var block_reply = Trampolines.SDActionArity2V19.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("transmitRequest:reply:"), request__handle__, (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("transmitRequest:reply:"), request__handle__, (IntPtr) block_ptr_reply);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<NSData> TransmitRequestAsync (NSData request)
+ {
+ var tcs = new TaskCompletionSource<NSData> ();
+ TransmitRequest(request, (arg1_, arg2_) => {
+ if (arg2_ is not null)
+ tcs.SetException (new NSErrorException(arg2_));
+ else
+ tcs.SetResult (arg1_!);
+ });
+ return tcs.Task;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardProtocol AllowedProtocols {
+ [Export ("allowedProtocols", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardProtocol ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardProtocol) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("allowedProtocols"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardProtocol) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowedProtocols"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setAllowedProtocols:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAllowedProtocols:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setAllowedProtocols:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ public virtual byte Cla {
+ [Export ("cla")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.byte_objc_msgSend (this.Handle, Selector.GetHandle ("cla"));
+ } else {
+ return global::ObjCRuntime.Messaging.byte_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("cla"));
+ }
+ #endif
+ }
+ [Export ("setCla:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_byte (this.Handle, Selector.GetHandle ("setCla:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_byte (this.SuperHandle, Selector.GetHandle ("setCla:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_Context_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? Context {
+ [Export ("context", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("context")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("context")))!;
+ }
+ MarkDirty ();
+ __mt_Context_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setContext:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setContext:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setContext:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_Context_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardProtocol CurrentProtocol {
+ [Export ("currentProtocol")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardProtocol ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardProtocol) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("currentProtocol"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardProtocol) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("currentProtocol"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool Sensitive {
+ [Export ("sensitive")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("sensitive"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sensitive"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setSensitive:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setSensitive:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setSensitive:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardSlot Slot {
+ [Export ("slot")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardSlot? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCardSlot> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("slot")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCardSlot> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("slot")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ public virtual bool UseCommandChaining {
+ [Export ("useCommandChaining")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("useCommandChaining"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("useCommandChaining"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setUseCommandChaining:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setUseCommandChaining:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setUseCommandChaining:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool UseExtendedLength {
+ [Export ("useExtendedLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("useExtendedLength"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("useExtendedLength"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setUseExtendedLength:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setUseExtendedLength:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setUseExtendedLength:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool Valid {
+ [Export ("valid")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("valid"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("valid"));
+ }
+ return ret != 0;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_Context_var = null;
+ }
+ }
+ } /* class TKSmartCard */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtr.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtr.g.cs
new file mode 100644
index 0000000..e46dbdf
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtr.g.cs
@@ -0,0 +1,287 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardATR", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardAtr : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardATR");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardAtr (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardAtr (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithBytes:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSmartCardAtr (NSData bytes)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var bytes__handle__ = bytes!.GetNonNullHandle (nameof (bytes));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithBytes:"), bytes__handle__), "initWithBytes:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithBytes:"), bytes__handle__), "initWithBytes:");
+ }
+ #endif
+ }
+ [Export ("initWithSource:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe TKSmartCardAtr ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V2))]global::System.Func<int> source)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (source is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (source));
+ using var block_source = Trampolines.SDFuncArity1V2.CreateBlock (source);
+ BlockLiteral *block_ptr_source = &block_source;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithSource:"), (IntPtr) block_ptr_source), "initWithSource:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithSource:"), (IntPtr) block_ptr_source), "initWithSource:");
+ }
+ #endif
+ }
+ [Export ("interfaceGroupAtIndex:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardAtrInterfaceGroup? GetInterfaceGroup (nint index)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCardAtrInterfaceGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("interfaceGroupAtIndex:"), index))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCardAtrInterfaceGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("interfaceGroupAtIndex:"), index))!;
+ }
+ #endif
+ }
+ [Export ("interfaceGroupForProtocol:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardAtrInterfaceGroup? GetInterfaceGroup (TKSmartCardProtocol protocol)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCardAtrInterfaceGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("interfaceGroupForProtocol:"), (UIntPtr) (ulong) protocol))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCardAtrInterfaceGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("interfaceGroupForProtocol:"), (UIntPtr) (ulong) protocol))!;
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData Bytes {
+ [Export ("bytes")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("bytes")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("bytes")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData HistoricalBytes {
+ [Export ("historicalBytes")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("historicalBytes")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("historicalBytes")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ public virtual TKCompactTlvRecord[]? HistoricalRecords {
+ [Export ("historicalRecords")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKCompactTlvRecord[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<TKCompactTlvRecord>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("historicalRecords")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<TKCompactTlvRecord>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("historicalRecords")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [BindAs (typeof (TKSmartCardProtocol[]), OriginalType = typeof (NSNumber[]))]
+ public virtual global::CryptoTokenKit.TKSmartCardProtocol[] Protocols {
+ [Export ("protocols")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::CryptoTokenKit.TKSmartCardProtocol[] ret;
+ if (IsDirectBinding) {
+ NativeHandle retvalarrtmp;
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("protocols"))) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CryptoTokenKit.TKSmartCardProtocol> (retvalarrtmp, ptr => {
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) {
+ return (global::CryptoTokenKit.TKSmartCardProtocol) num.Int32Value;
+ }
+ })));
+ } else {
+ NativeHandle retvalarrtmp;
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("protocols"))) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CryptoTokenKit.TKSmartCardProtocol> (retvalarrtmp, ptr => {
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) {
+ return (global::CryptoTokenKit.TKSmartCardProtocol) num.Int32Value;
+ }
+ })));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class TKSmartCardAtr */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtrInterfaceGroup.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtrInterfaceGroup.g.cs
new file mode 100644
index 0000000..4bea4b2
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtrInterfaceGroup.g.cs
@@ -0,0 +1,226 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardATRInterfaceGroup", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardAtrInterfaceGroup : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardATRInterfaceGroup");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardAtrInterfaceGroup" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardAtrInterfaceGroup () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardAtrInterfaceGroup (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardAtrInterfaceGroup (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? Protocol {
+ [Export ("protocol")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("protocol")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("protocol")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? TA {
+ [Export ("TA")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("TA")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("TA")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? TB {
+ [Export ("TB")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("TB")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("TB")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? TC {
+ [Export ("TC")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("TC")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("TC")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class TKSmartCardAtrInterfaceGroup */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCharset.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCharset.g.cs
new file mode 100644
index 0000000..d38b271
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCharset.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Native ("TKSmartCardPINCharset")]
+ public enum TKSmartCardPinCharset : long {
+ Numeric = 0,
+ Alphanumeric = 1,
+ UpperAlphanumeric = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCompletion.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCompletion.g.cs
new file mode 100644
index 0000000..5cdc37e
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCompletion.g.cs
@@ -0,0 +1,64 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Flags]
+ [Native ("TKSmartCardPINCompletion")]
+ public enum TKSmartCardPinCompletion : ulong {
+ MaxLength = 1,
+ Key = 2,
+ Timeout = 4,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinConfirmation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinConfirmation.g.cs
new file mode 100644
index 0000000..03dcd36
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinConfirmation.g.cs
@@ -0,0 +1,64 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Flags]
+ [Native ("TKSmartCardPINConfirmation")]
+ public enum TKSmartCardPinConfirmation : ulong {
+ None = 0,
+ New = 1,
+ Current = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinEncoding.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinEncoding.g.cs
new file mode 100644
index 0000000..d2615a6
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinEncoding.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Native ("TKSmartCardPINEncoding")]
+ public enum TKSmartCardPinEncoding : long {
+ Binary = 0,
+ Ascii = 1,
+ Bcd = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinFormat.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinFormat.g.cs
new file mode 100644
index 0000000..655b4a9
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinFormat.g.cs
@@ -0,0 +1,407 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardPINFormat", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardPinFormat : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardPINFormat");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardPinFormat" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardPinFormat () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardPinFormat (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardPinFormat (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinCharset Charset {
+ [Export ("charset", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinCharset ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinCharset) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("charset"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinCharset) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("charset"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setCharset:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setCharset:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setCharset:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinEncoding Encoding {
+ [Export ("encoding", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinEncoding ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinEncoding) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("encoding"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinEncoding) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("encoding"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setEncoding:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setEncoding:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setEncoding:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint MaxPinLength {
+ [Export ("maxPINLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("maxPINLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("maxPINLength"));
+ }
+ #endif
+ }
+ [Export ("setMaxPINLength:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setMaxPINLength:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setMaxPINLength:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint MinPinLength {
+ [Export ("minPINLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("minPINLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("minPINLength"));
+ }
+ #endif
+ }
+ [Export ("setMinPINLength:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setMinPINLength:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setMinPINLength:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinBitOffset {
+ [Export ("PINBitOffset")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINBitOffset"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINBitOffset"));
+ }
+ #endif
+ }
+ [Export ("setPINBitOffset:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINBitOffset:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINBitOffset:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinBlockByteLength {
+ [Export ("PINBlockByteLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINBlockByteLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINBlockByteLength"));
+ }
+ #endif
+ }
+ [Export ("setPINBlockByteLength:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINBlockByteLength:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINBlockByteLength:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinJustification PinJustification {
+ [Export ("PINJustification", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinJustification ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinJustification) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINJustification"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinJustification) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINJustification"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPINJustification:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINJustification:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINJustification:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinLengthBitOffset {
+ [Export ("PINLengthBitOffset")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINLengthBitOffset"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINLengthBitOffset"));
+ }
+ #endif
+ }
+ [Export ("setPINLengthBitOffset:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINLengthBitOffset:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINLengthBitOffset:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinLengthBitSize {
+ [Export ("PINLengthBitSize")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINLengthBitSize"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINLengthBitSize"));
+ }
+ #endif
+ }
+ [Export ("setPINLengthBitSize:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINLengthBitSize:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINLengthBitSize:"), value);
+ }
+ #endif
+ }
+ }
+ } /* class TKSmartCardPinFormat */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinJustification.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinJustification.g.cs
new file mode 100644
index 0000000..ecf7f45
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinJustification.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Native ("TKSmartCardPINJustification")]
+ public enum TKSmartCardPinJustification : long {
+ Left = 0,
+ Right = 1,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardProtocol.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardProtocol.g.cs
new file mode 100644
index 0000000..5b04052
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardProtocol.g.cs
@@ -0,0 +1,66 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Flags]
+ [Native]
+ public enum TKSmartCardProtocol : ulong {
+ None = 0,
+ T0 = 1,
+ T1 = 2,
+ T15 = 32768,
+ Any = 65535,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlot.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlot.g.cs
new file mode 100644
index 0000000..c474664
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlot.g.cs
@@ -0,0 +1,251 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardSlot", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardSlot : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardSlot");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardSlot" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardSlot () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardSlot (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardSlot (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("makeSmartCard")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCard? MakeSmartCard ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("makeSmartCard")))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("makeSmartCard")))!;
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardAtr? Atr {
+ [Export ("ATR")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardAtr? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCardAtr> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("ATR")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCardAtr> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("ATR")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint MaxInputLength {
+ [Export ("maxInputLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("maxInputLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("maxInputLength"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint MaxOutputLength {
+ [Export ("maxOutputLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("maxOutputLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("maxOutputLength"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string Name {
+ [Export ("name")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("name")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("name")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardSlotState State {
+ [Export ("state")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardSlotState ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardSlotState) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("state"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardSlotState) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("state"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class TKSmartCardSlot */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotManager.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotManager.g.cs
new file mode 100644
index 0000000..0a90e0a
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotManager.g.cs
@@ -0,0 +1,224 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardSlotManager", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardSlotManager : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardSlotManager");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardSlotManager (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardSlotManager (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("getSlotWithName:reply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void GetSlot (string name, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDTKGetSlotCallback))]TKGetSlotCallback reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (name is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ var nsname = CFString.CreateNative (name);
+ using var block_reply = Trampolines.SDTKGetSlotCallback.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("getSlotWithName:reply:"), nsname, (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("getSlotWithName:reply:"), nsname, (IntPtr) block_ptr_reply);
+ }
+ CFString.ReleaseNative (nsname);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<TKSmartCardSlot> GetSlotAsync (string name)
+ {
+ var tcs = new TaskCompletionSource<TKSmartCardSlot> ();
+ GetSlot(name, (slot_) => {
+ tcs.SetResult (slot_!);
+ });
+ return tcs.Task;
+ }
+ [Export ("slotNamed:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardSlot? GetSlot (string name)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (name is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
+ var nsname = CFString.CreateNative (name);
+ TKSmartCardSlot? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCardSlot> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("slotNamed:"), nsname))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCardSlot> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("slotNamed:"), nsname))!;
+ }
+ CFString.ReleaseNative (nsname);
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static TKSmartCardSlotManager? DefaultManager {
+ [Export ("defaultManager")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardSlotManager? ret;
+ ret = Runtime.GetNSObject<TKSmartCardSlotManager> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("defaultManager")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string[] SlotNames {
+ [Export ("slotNames")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("slotNames")))!;
+ } else {
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("slotNames")))!;
+ }
+ #endif
+ }
+ }
+ } /* class TKSmartCardSlotManager */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotState.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotState.g.cs
new file mode 100644
index 0000000..8efad62
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotState.g.cs
@@ -0,0 +1,65 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Native]
+ public enum TKSmartCardSlotState : long {
+ Missing = 0,
+ Empty = 1,
+ Probing = 2,
+ MuteCard = 3,
+ ValidCard = 4,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardToken.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardToken.g.cs
new file mode 100644
index 0000000..2d77383
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardToken.g.cs
@@ -0,0 +1,180 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardToken", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardToken : TKToken {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardToken");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardToken" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardToken () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardToken (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardToken (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithSmartCard:AID:instanceID:tokenDriver:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSmartCardToken (TKSmartCard smartCard, NSData? aid, string instanceId, TKSmartCardTokenDriver tokenDriver)
+ : base (NSObjectFlag.Empty)
+ {
+ var smartCard__handle__ = smartCard!.GetNonNullHandle (nameof (smartCard));
+ var aid__handle__ = aid.GetHandle ();
+ if (instanceId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (instanceId));
+ var tokenDriver__handle__ = tokenDriver!.GetNonNullHandle (nameof (tokenDriver));
+ var nsinstanceId = CFString.CreateNative (instanceId);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithSmartCard:AID:instanceID:tokenDriver:"), smartCard__handle__, aid__handle__, nsinstanceId, tokenDriver__handle__), "initWithSmartCard:AID:instanceID:tokenDriver:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithSmartCard:AID:instanceID:tokenDriver:"), smartCard__handle__, aid__handle__, nsinstanceId, tokenDriver__handle__), "initWithSmartCard:AID:instanceID:tokenDriver:");
+ }
+ CFString.ReleaseNative (nsinstanceId);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? Aid {
+ [Export ("AID")]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("AID")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("AID")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKSmartCardToken */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriver.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriver.g.cs
new file mode 100644
index 0000000..8b2e151
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriver.g.cs
@@ -0,0 +1,148 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardTokenDriver", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardTokenDriver : TKTokenDriver {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardTokenDriver");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardTokenDriver" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardTokenDriver () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardTokenDriver (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardTokenDriver (NativeHandle handle) : base (handle)
+ {
+ }
+
+ } /* class TKSmartCardTokenDriver */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriverDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriverDelegate.g.cs
new file mode 100644
index 0000000..f556b42
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriverDelegate.g.cs
@@ -0,0 +1,93 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKSmartCardTokenDriverDelegate", WrapperType = typeof (TKSmartCardTokenDriverDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateToken", Selector = "tokenDriver:createTokenForSmartCard:AID:error:", ReturnType = typeof (CryptoTokenKit.TKSmartCardToken), ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardTokenDriver), typeof (CryptoTokenKit.TKSmartCard), typeof (NSData), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, true })]
+ public partial interface ITKSmartCardTokenDriverDelegate : INativeObject, IDisposable,
+ CryptoTokenKit.ITKTokenDriverDelegate
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("tokenDriver:createTokenForSmartCard:AID:error:")]
+ [Preserve (Conditional = true)]
+ TKSmartCardToken? CreateToken (TKSmartCardTokenDriver driver, TKSmartCard smartCard, NSData? aid, out NSError? error);
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKSmartCardTokenDriverDelegateWrapper : BaseWrapper, ITKSmartCardTokenDriverDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKSmartCardTokenDriverDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("tokenDriver:createTokenForSmartCard:AID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSmartCardToken? CreateToken (TKSmartCardTokenDriver driver, TKSmartCard smartCard, NSData? aid, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var driver__handle__ = driver!.GetNonNullHandle (nameof (driver));
+ var smartCard__handle__ = smartCard!.GetNonNullHandle (nameof (smartCard));
+ var aid__handle__ = aid.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ TKSmartCardToken? ret;
+ ret = Runtime.GetNSObject<TKSmartCardToken> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("tokenDriver:createTokenForSmartCard:AID:error:"), driver__handle__, smartCard__handle__, aid__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenSession.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenSession.g.cs
new file mode 100644
index 0000000..f4d2274
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenSession.g.cs
@@ -0,0 +1,174 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardTokenSession", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardTokenSession : TKTokenSession {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardTokenSession");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardTokenSession" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardTokenSession () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardTokenSession (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardTokenSession (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithToken:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSmartCardTokenSession (TKToken token)
+ : base (NSObjectFlag.Empty)
+ {
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithToken:"), token__handle__), "initWithToken:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithToken:"), token__handle__), "initWithToken:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCard SmartCard {
+ [Export ("smartCard")]
+ get {
+ TKSmartCard? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("smartCard")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("smartCard")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKSmartCardTokenSession */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteraction.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteraction.g.cs
new file mode 100644
index 0000000..a5fd3df
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteraction.g.cs
@@ -0,0 +1,311 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardUserInteraction", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardUserInteraction : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardUserInteraction");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardUserInteraction" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardUserInteraction () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardUserInteraction (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardUserInteraction (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("cancel")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool Cancel ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("cancel"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("cancel"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("runWithReply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void Run ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ using var block_reply = Trampolines.SDActionArity2V0.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("runWithReply:"), (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("runWithReply:"), (IntPtr) block_ptr_reply);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> RunAsync ()
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ Run((arg1_, arg2_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (arg1_, arg2_));
+ });
+ return tcs.Task;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public ITKSmartCardUserInteractionDelegate? Delegate {
+ get {
+ return (WeakDelegate as ITKSmartCardUserInteractionDelegate)!;
+ }
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double InitialTimeout {
+ [Export ("initialTimeout")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("initialTimeout"));
+ } else {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("initialTimeout"));
+ }
+ #endif
+ }
+ [Export ("setInitialTimeout:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (this.Handle, Selector.GetHandle ("setInitialTimeout:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_Double (this.SuperHandle, Selector.GetHandle ("setInitialTimeout:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double InteractionTimeout {
+ [Export ("interactionTimeout")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("interactionTimeout"));
+ } else {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("interactionTimeout"));
+ }
+ #endif
+ }
+ [Export ("setInteractionTimeout:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (this.Handle, Selector.GetHandle ("setInteractionTimeout:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_Double (this.SuperHandle, Selector.GetHandle ("setInteractionTimeout:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class TKSmartCardUserInteraction */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionDelegate.g.cs
new file mode 100644
index 0000000..f7ae0ab
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionDelegate.g.cs
@@ -0,0 +1,154 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKSmartCardUserInteractionDelegate", WrapperType = typeof (TKSmartCardUserInteractionDelegateWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CharacterEntered", Selector = "characterEnteredInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CorrectionKeyPressed", Selector = "correctionKeyPressedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ValidationKeyPressed", Selector = "validationKeyPressedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "InvalidCharacterEntered", Selector = "invalidCharacterEnteredInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "OldPinRequested", Selector = "oldPINRequestedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "NewPinRequested", Selector = "newPINRequestedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "NewPinConfirmationRequested", Selector = "newPINConfirmationRequestedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ public partial interface ITKSmartCardUserInteractionDelegate : INativeObject, IDisposable
+ {
+ }
+ /// <summary>Extension methods to the <see cref="ITKSmartCardUserInteractionDelegate" /> interface to support all the methods from the TKSmartCardUserInteractionDelegate protocol.</summary>
+ /// <remarks>
+ /// <para>The extension methods for <see cref="ITKSmartCardUserInteractionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKSmartCardUserInteractionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ /// </remarks>
+ [Experimental ("APL0001")]
+ public unsafe static partial class TKSmartCardUserInteractionDelegate_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void CharacterEntered (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("characterEnteredInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void CorrectionKeyPressed (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("correctionKeyPressedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void ValidationKeyPressed (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("validationKeyPressedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void InvalidCharacterEntered (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("invalidCharacterEnteredInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void OldPinRequested (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("oldPINRequestedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void NewPinRequested (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("newPINRequestedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void NewPinConfirmationRequested (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("newPINConfirmationRequestedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKSmartCardUserInteractionDelegateWrapper : BaseWrapper, ITKSmartCardUserInteractionDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKSmartCardUserInteractionDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForPinOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForPinOperation.g.cs
new file mode 100644
index 0000000..2a938cc
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForPinOperation.g.cs
@@ -0,0 +1,334 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardUserInteractionForPINOperation", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardUserInteractionForPinOperation : TKSmartCardUserInteraction {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardUserInteractionForPINOperation");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardUserInteractionForPinOperation" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardUserInteractionForPinOperation () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardUserInteractionForPinOperation (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardUserInteractionForPinOperation (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_Locale_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSLocale? Locale {
+ [Export ("locale", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSLocale? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("locale")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("locale")))!;
+ }
+ MarkDirty ();
+ __mt_Locale_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setLocale:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLocale:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLocale:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_Locale_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinCompletion PinCompletion {
+ [Export ("PINCompletion", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinCompletion ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinCompletion) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINCompletion"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinCompletion) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINCompletion"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPINCompletion:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPINCompletion:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setPINCompletion:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_PinMessageIndices_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber[]? PinMessageIndices {
+ [Export ("PINMessageIndices", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSNumber>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("PINMessageIndices")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSNumber>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINMessageIndices")))!;
+ }
+ MarkDirty ();
+ __mt_PinMessageIndices_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setPINMessageIndices:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsa_value = value is null ? null : NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPINMessageIndices:"), nsa_value.GetHandle ());
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPINMessageIndices:"), nsa_value.GetHandle ());
+ }
+ if (nsa_value is not null)
+ nsa_value.Dispose ();
+ MarkDirty ();
+ __mt_PinMessageIndices_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_ResultData_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? ResultData {
+ [Export ("resultData", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("resultData")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("resultData")))!;
+ }
+ MarkDirty ();
+ __mt_ResultData_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setResultData:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setResultData:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setResultData:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_ResultData_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual ushort ResultSW {
+ [Export ("resultSW")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UInt16_objc_msgSend (this.Handle, Selector.GetHandle ("resultSW"));
+ } else {
+ return global::ObjCRuntime.Messaging.UInt16_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("resultSW"));
+ }
+ #endif
+ }
+ [Export ("setResultSW:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UInt16 (this.Handle, Selector.GetHandle ("setResultSW:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UInt16 (this.SuperHandle, Selector.GetHandle ("setResultSW:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_Locale_var = null;
+ __mt_PinMessageIndices_var = null;
+ __mt_ResultData_var = null;
+ }
+ }
+ } /* class TKSmartCardUserInteractionForPinOperation */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinChange.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinChange.g.cs
new file mode 100644
index 0000000..c38c193
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinChange.g.cs
@@ -0,0 +1,187 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardUserInteractionForSecurePINChange", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardUserInteractionForSecurePinChange : TKSmartCardUserInteractionForPinOperation {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardUserInteractionForSecurePINChange");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardUserInteractionForSecurePinChange" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardUserInteractionForSecurePinChange () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardUserInteractionForSecurePinChange (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardUserInteractionForSecurePinChange (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinConfirmation PinConfirmation {
+ [Export ("PINConfirmation", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinConfirmation ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinConfirmation) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINConfirmation"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinConfirmation) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINConfirmation"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPINConfirmation:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPINConfirmation:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setPINConfirmation:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ } /* class TKSmartCardUserInteractionForSecurePinChange */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinVerification.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinVerification.g.cs
new file mode 100644
index 0000000..81b30c7
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinVerification.g.cs
@@ -0,0 +1,158 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardUserInteractionForSecurePINVerification", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardUserInteractionForSecurePinVerification : TKSmartCardUserInteractionForPinOperation {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardUserInteractionForSecurePINVerification");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardUserInteractionForSecurePinVerification" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardUserInteractionForSecurePinVerification () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardUserInteractionForSecurePinVerification (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardUserInteractionForSecurePinVerification (NativeHandle handle) : base (handle)
+ {
+ }
+
+ } /* class TKSmartCardUserInteractionForSecurePinVerification */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTlvRecord.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTlvRecord.g.cs
new file mode 100644
index 0000000..37bad42
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTlvRecord.g.cs
@@ -0,0 +1,186 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTLVRecord", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTlvRecord : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTLVRecord");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTlvRecord (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTlvRecord (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("recordFromData:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static TKTlvRecord? CreateRecord (NSData data)
+ {
+ var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ return Runtime.GetNSObject<TKTlvRecord> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("recordFromData:"), data__handle__))!;
+ }
+ [Export ("sequenceOfRecordsFromData:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static TKTlvRecord[]? CreateSequenceOfRecords (NSData data)
+ {
+ var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ return CFArray.ArrayFromHandle<TKTlvRecord>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("sequenceOfRecordsFromData:"), data__handle__))!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData Data {
+ [Export ("data")]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("data")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("data")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual ulong Tag {
+ [Export ("tag")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UInt64_objc_msgSend (this.Handle, Selector.GetHandle ("tag"));
+ } else {
+ return global::ObjCRuntime.Messaging.UInt64_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tag"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData Value {
+ [Export ("value")]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("value")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("value")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTlvRecord */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKToken.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKToken.g.cs
new file mode 100644
index 0000000..fba1fac
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKToken.g.cs
@@ -0,0 +1,247 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKToken", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKToken : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKToken");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKToken (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKToken (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithTokenDriver:instanceID:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKToken (TKTokenDriver tokenDriver, string instanceId)
+ : base (NSObjectFlag.Empty)
+ {
+ var tokenDriver__handle__ = tokenDriver!.GetNonNullHandle (nameof (tokenDriver));
+ if (instanceId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (instanceId));
+ var nsinstanceId = CFString.CreateNative (instanceId);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithTokenDriver:instanceID:"), tokenDriver__handle__, nsinstanceId), "initWithTokenDriver:instanceID:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTokenDriver:instanceID:"), tokenDriver__handle__, nsinstanceId), "initWithTokenDriver:instanceID:");
+ }
+ CFString.ReleaseNative (nsinstanceId);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("tvos14.0")]
+ public virtual TKTokenConfiguration Configuration {
+ [Export ("configuration")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKTokenConfiguration? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("configuration")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("configuration")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public ITKTokenDelegate? Delegate {
+ get {
+ return (WeakDelegate as ITKTokenDelegate)!;
+ }
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainContents? KeychainContents {
+ [Export ("keychainContents")]
+ get {
+ TKTokenKeychainContents? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainContents> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("keychainContents")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainContents> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("keychainContents")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenDriver TokenDriver {
+ [Export ("tokenDriver")]
+ get {
+ TKTokenDriver? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenDriver> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("tokenDriver")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenDriver> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tokenDriver")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class TKToken */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenAuthOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenAuthOperation.g.cs
new file mode 100644
index 0000000..c97155d
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenAuthOperation.g.cs
@@ -0,0 +1,197 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenAuthOperation", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenAuthOperation : NSObject, INSCoding, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenAuthOperation");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenAuthOperation" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenAuthOperation () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public TKTokenAuthOperation (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenAuthOperation (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenAuthOperation (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("finishWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool Finish (out NSError? error)
+ {
+ NativeHandle errorValue = IntPtr.Zero;
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_ref_NativeHandle (this.Handle, Selector.GetHandle ("finishWithError:"), &errorValue);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("finishWithError:"), &errorValue);
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret != 0;
+ }
+ } /* class TKTokenAuthOperation */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenConfiguration.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenConfiguration.g.cs
new file mode 100644
index 0000000..0cdebd7
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenConfiguration.g.cs
@@ -0,0 +1,257 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenConfiguration", true)]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenConfiguration : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenConfiguration");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenConfiguration (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenConfiguration (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("certificateForObjectID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainCertificate? GetCertificate (NSObject objectId, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenKeychainCertificate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainCertificate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("certificateForObjectID:error:"), objectId__handle__, &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainCertificate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("certificateForObjectID:error:"), objectId__handle__, &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [Export ("keyForObjectID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainKey? GetKey (NSObject objectId, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenKeychainKey? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainKey> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("keyForObjectID:error:"), objectId__handle__, &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainKey> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("keyForObjectID:error:"), objectId__handle__, &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? ConfigurationData {
+ [Export ("configurationData", ArgumentSemantic.Copy)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("configurationData")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("configurationData")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setConfigurationData:", ArgumentSemantic.Copy)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setConfigurationData:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setConfigurationData:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string InstanceId {
+ [Export ("instanceID")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("instanceID")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("instanceID")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainItem[] KeychainItems {
+ [Export ("keychainItems", ArgumentSemantic.Copy)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKTokenKeychainItem[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<TKTokenKeychainItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("keychainItems")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<TKTokenKeychainItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("keychainItems")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setKeychainItems:", ArgumentSemantic.Copy)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setKeychainItems:"), nsa_value.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setKeychainItems:"), nsa_value.Handle);
+ }
+ nsa_value.Dispose ();
+ #endif
+ }
+ }
+ } /* class TKTokenConfiguration */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDelegate.g.cs
new file mode 100644
index 0000000..8c5c7e4
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDelegate.g.cs
@@ -0,0 +1,202 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKTokenDelegate", WrapperType = typeof (TKTokenDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateSession", Selector = "token:createSessionWithError:", ReturnType = typeof (CryptoTokenKit.TKTokenSession), ParameterType = new Type [] { typeof (CryptoTokenKit.TKToken), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "TerminateSession", Selector = "token:terminateSession:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKToken), typeof (CryptoTokenKit.TKTokenSession) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface ITKTokenDelegate : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("token:createSessionWithError:")]
+ [Preserve (Conditional = true)]
+ TKTokenSession? CreateSession (TKToken token, out NSError? error);
+ }
+ /// <summary>Extension methods to the <see cref="ITKTokenDelegate" /> interface to support all the methods from the TKTokenDelegate protocol.</summary>
+ /// <remarks>
+ /// <para>The extension methods for <see cref="ITKTokenDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ /// </remarks>
+ [Experimental ("APL0001")]
+ public unsafe static partial class TKTokenDelegate_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void TerminateSession (this ITKTokenDelegate This, TKToken token, TKTokenSession session)
+ {
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("token:terminateSession:"), token__handle__, session__handle__);
+ }
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKTokenDelegateWrapper : BaseWrapper, ITKTokenDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKTokenDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("token:createSessionWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenSession? CreateSession (TKToken token, out NSError? error)
+ {
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenSession? ret;
+ ret = Runtime.GetNSObject<TKTokenSession> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("token:createSessionWithError:"), token__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ }
+}
+namespace CryptoTokenKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__CryptoTokenKit_TKTokenDelegate", false)]
+ [Model]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe abstract partial class TKTokenDelegate : NSObject, ITKTokenDelegate {
+ /// <summary>Creates a new <see cref="TKTokenDelegate" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ protected TKTokenDelegate () : base (NSObjectFlag.Empty)
+ {
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("token:createSessionWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenSession? CreateSession (TKToken token, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("token:terminateSession:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TerminateSession (TKToken token, TKTokenSession session)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ } /* class TKTokenDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriver.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriver.g.cs
new file mode 100644
index 0000000..e1e7d78
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriver.g.cs
@@ -0,0 +1,196 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenDriver", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenDriver : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenDriver");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenDriver" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenDriver () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenDriver (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenDriver (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public ITKTokenDriverDelegate? Delegate {
+ get {
+ return (WeakDelegate as ITKTokenDriverDelegate)!;
+ }
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class TKTokenDriver */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverConfiguration.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverConfiguration.g.cs
new file mode 100644
index 0000000..be6028f
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverConfiguration.g.cs
@@ -0,0 +1,224 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenDriverConfiguration", true)]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenDriverConfiguration : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenDriverConfiguration");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenDriverConfiguration (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenDriverConfiguration (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("addTokenConfigurationForTokenInstanceID:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenConfiguration AddTokenConfiguration (string instanceId)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (instanceId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (instanceId));
+ var nsinstanceId = CFString.CreateNative (instanceId);
+ TKTokenConfiguration? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("addTokenConfigurationForTokenInstanceID:"), nsinstanceId))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("addTokenConfigurationForTokenInstanceID:"), nsinstanceId))!;
+ }
+ CFString.ReleaseNative (nsinstanceId);
+ return ret!;
+ #endif
+ }
+ [Export ("removeTokenConfigurationForTokenInstanceID:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RemoveTokenConfiguration (string instanceId)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (instanceId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (instanceId));
+ var nsinstanceId = CFString.CreateNative (instanceId);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("removeTokenConfigurationForTokenInstanceID:"), nsinstanceId);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("removeTokenConfigurationForTokenInstanceID:"), nsinstanceId);
+ }
+ CFString.ReleaseNative (nsinstanceId);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string ClassId {
+ [Export ("classID")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("classID")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("classID")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSDictionary<NSString, TKTokenDriverConfiguration> DriverConfigurations {
+ [Export ("driverConfigurations")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<NSString, TKTokenDriverConfiguration>? ret;
+ ret = Runtime.GetNSObject<NSDictionary<NSString, TKTokenDriverConfiguration>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("driverConfigurations")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDictionary<NSString, TKTokenConfiguration> TokenConfigurations {
+ [Export ("tokenConfigurations", ArgumentSemantic.Copy)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<NSString, TKTokenConfiguration>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, TKTokenConfiguration>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("tokenConfigurations")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, TKTokenConfiguration>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tokenConfigurations")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class TKTokenDriverConfiguration */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverDelegate.g.cs
new file mode 100644
index 0000000..d4ad8ee
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverDelegate.g.cs
@@ -0,0 +1,214 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKTokenDriverDelegate", WrapperType = typeof (TKTokenDriverDelegateWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetToken", Selector = "tokenDriver:tokenForConfiguration:error:", ReturnType = typeof (CryptoTokenKit.TKToken), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenDriver), typeof (CryptoTokenKit.TKTokenConfiguration), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "TerminateToken", Selector = "tokenDriver:terminateToken:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenDriver), typeof (CryptoTokenKit.TKToken) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface ITKTokenDriverDelegate : INativeObject, IDisposable
+ {
+ }
+ /// <summary>Extension methods to the <see cref="ITKTokenDriverDelegate" /> interface to support all the methods from the TKTokenDriverDelegate protocol.</summary>
+ /// <remarks>
+ /// <para>The extension methods for <see cref="ITKTokenDriverDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDriverDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ /// </remarks>
+ [Experimental ("APL0001")]
+ public unsafe static partial class TKTokenDriverDelegate_Extensions {
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static TKToken? GetToken (this ITKTokenDriverDelegate This, TKTokenDriver driver, TKTokenConfiguration configuration, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var driver__handle__ = driver!.GetNonNullHandle (nameof (driver));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKToken? ret;
+ ret = Runtime.GetNSObject<TKToken> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenDriver:tokenForConfiguration:error:"), driver__handle__, configuration__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void TerminateToken (this ITKTokenDriverDelegate This, TKTokenDriver driver, TKToken token)
+ {
+ var driver__handle__ = driver!.GetNonNullHandle (nameof (driver));
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("tokenDriver:terminateToken:"), driver__handle__, token__handle__);
+ }
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKTokenDriverDelegateWrapper : BaseWrapper, ITKTokenDriverDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKTokenDriverDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ }
+}
+namespace CryptoTokenKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__CryptoTokenKit_TKTokenDriverDelegate", false)]
+ [Model]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenDriverDelegate : NSObject, ITKTokenDriverDelegate {
+ /// <summary>Creates a new <see cref="TKTokenDriverDelegate" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenDriverDelegate () : base (NSObjectFlag.Empty)
+ {
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenDriverDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenDriverDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("tokenDriver:tokenForConfiguration:error:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKToken? GetToken (TKTokenDriver driver, TKTokenConfiguration configuration, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("tokenDriver:terminateToken:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TerminateToken (TKTokenDriver driver, TKToken token)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ } /* class TKTokenDriverDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyAlgorithm.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyAlgorithm.g.cs
new file mode 100644
index 0000000..55f2e68
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyAlgorithm.g.cs
@@ -0,0 +1,161 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeyAlgorithm", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeyAlgorithm : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeyAlgorithm");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeyAlgorithm (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeyAlgorithm (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("isAlgorithm:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsAlgorithm ([BindAs (typeof (global::Security.SecKeyAlgorithm), OriginalType = typeof (NSString))] global::Security.SecKeyAlgorithm algorithm)
+ {
+ var nsb_algorithm = global::Security.SecKeyAlgorithmExtensions.GetConstant (algorithm);
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("isAlgorithm:"), nsb_algorithm.GetHandle ());
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("isAlgorithm:"), nsb_algorithm.GetHandle ());
+ }
+ return ret != 0;
+ }
+ [Export ("supportsAlgorithm:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SupportsAlgorithm ([BindAs (typeof (global::Security.SecKeyAlgorithm), OriginalType = typeof (NSString))] global::Security.SecKeyAlgorithm algorithm)
+ {
+ var nsb_algorithm = global::Security.SecKeyAlgorithmExtensions.GetConstant (algorithm);
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("supportsAlgorithm:"), nsb_algorithm.GetHandle ());
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("supportsAlgorithm:"), nsb_algorithm.GetHandle ());
+ }
+ return ret != 0;
+ }
+ } /* class TKTokenKeyAlgorithm */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyExchangeParameters.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyExchangeParameters.g.cs
new file mode 100644
index 0000000..85de20c
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyExchangeParameters.g.cs
@@ -0,0 +1,172 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeyExchangeParameters", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeyExchangeParameters : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeyExchangeParameters");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenKeyExchangeParameters" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenKeyExchangeParameters () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeyExchangeParameters (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeyExchangeParameters (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint RequestedSize {
+ [Export ("requestedSize")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("requestedSize"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("requestedSize"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? SharedInfo {
+ [Export ("sharedInfo", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("sharedInfo")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sharedInfo")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTokenKeyExchangeParameters */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainCertificate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainCertificate.g.cs
new file mode 100644
index 0000000..23f267b
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainCertificate.g.cs
@@ -0,0 +1,175 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeychainCertificate", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeychainCertificate : TKTokenKeychainItem {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeychainCertificate");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenKeychainCertificate" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenKeychainCertificate () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeychainCertificate (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeychainCertificate (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithCertificate:objectID:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenKeychainCertificate ([BindAs (typeof (global::Security.SecKeyAlgorithm), OriginalType = typeof (NSString))] global::Security.SecKeyAlgorithm certificateRef, NSObject objectId)
+ : base (NSObjectFlag.Empty)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ var nsb_certificateRef = global::Security.SecKeyAlgorithmExtensions.GetConstant (certificateRef);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithCertificate:objectID:"), nsb_certificateRef.GetHandle (), objectId__handle__), "initWithCertificate:objectID:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithCertificate:objectID:"), nsb_certificateRef.GetHandle (), objectId__handle__), "initWithCertificate:objectID:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData Data {
+ [Export ("data", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("data")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("data")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTokenKeychainCertificate */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainContents.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainContents.g.cs
new file mode 100644
index 0000000..402a128
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainContents.g.cs
@@ -0,0 +1,192 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeychainContents", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeychainContents : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeychainContents");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeychainContents (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeychainContents (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("fillWithItems:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Fill (TKTokenKeychainItem[] items)
+ {
+ if (items is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (items));
+ var nsa_items = NSArray.FromNSObjects (items);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("fillWithItems:"), nsa_items.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("fillWithItems:"), nsa_items.Handle);
+ }
+ nsa_items.Dispose ();
+ }
+ [Export ("certificateForObjectID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainCertificate? GetCertificate (NSObject objectId, out NSError? error)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenKeychainCertificate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainCertificate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("certificateForObjectID:error:"), objectId__handle__, &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainCertificate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("certificateForObjectID:error:"), objectId__handle__, &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [Export ("keyForObjectID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainKey? GetKey (NSObject objectId, out NSError? error)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenKeychainKey? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainKey> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("keyForObjectID:error:"), objectId__handle__, &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainKey> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("keyForObjectID:error:"), objectId__handle__, &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainItem[] Items {
+ [Export ("items", ArgumentSemantic.Copy)]
+ get {
+ TKTokenKeychainItem[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<TKTokenKeychainItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("items")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<TKTokenKeychainItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("items")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTokenKeychainContents */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainItem.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainItem.g.cs
new file mode 100644
index 0000000..85b311b
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainItem.g.cs
@@ -0,0 +1,204 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeychainItem", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeychainItem : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeychainItem");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeychainItem (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeychainItem (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithObjectID:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenKeychainItem (NSObject objectId)
+ : base (NSObjectFlag.Empty)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithObjectID:"), objectId__handle__), "initWithObjectID:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithObjectID:"), objectId__handle__), "initWithObjectID:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDictionary<NSNumber, NSObject>? Constraints {
+ [Export ("constraints", ArgumentSemantic.Copy)]
+ get {
+ NSDictionary<NSNumber, NSObject>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<NSNumber, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("constraints")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<NSNumber, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("constraints")))!;
+ }
+ return ret!;
+ }
+ [Export ("setConstraints:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setConstraints:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setConstraints:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? Label {
+ [Export ("label")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("label")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("label")))!;
+ }
+ }
+ [Export ("setLabel:")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLabel:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLabel:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject ObjectId {
+ [Export ("objectID", ArgumentSemantic.Copy)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("objectID")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("objectID")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTokenKeychainItem */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainKey.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainKey.g.cs
new file mode 100644
index 0000000..7b0e8ae
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainKey.g.cs
@@ -0,0 +1,358 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeychainKey", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeychainKey : TKTokenKeychainItem {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeychainKey");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenKeychainKey" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenKeychainKey () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeychainKey (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeychainKey (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithCertificate:objectID:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenKeychainKey (nint certificate, NSObject objectId)
+ : base (NSObjectFlag.Empty)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (this.Handle, Selector.GetHandle ("initWithCertificate:objectID:"), certificate, objectId__handle__), "initWithCertificate:objectID:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithCertificate:objectID:"), certificate, objectId__handle__), "initWithCertificate:objectID:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenKeychainKey (global::Security.SecCertificate? certificate, NSObject objectId)
+ : this (certificate.GetHandle (), objectId)
+ {
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? ApplicationTag {
+ [Export ("applicationTag", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("applicationTag")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("applicationTag")))!;
+ }
+ return ret!;
+ }
+ [Export ("setApplicationTag:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setApplicationTag:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setApplicationTag:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanDecrypt {
+ [Export ("canDecrypt")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("canDecrypt"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("canDecrypt"));
+ }
+ return ret != 0;
+ }
+ [Export ("setCanDecrypt:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setCanDecrypt:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setCanDecrypt:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanPerformKeyExchange {
+ [Export ("canPerformKeyExchange")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("canPerformKeyExchange"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("canPerformKeyExchange"));
+ }
+ return ret != 0;
+ }
+ [Export ("setCanPerformKeyExchange:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setCanPerformKeyExchange:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setCanPerformKeyExchange:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanSign {
+ [Export ("canSign")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("canSign"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("canSign"));
+ }
+ return ret != 0;
+ }
+ [Export ("setCanSign:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setCanSign:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setCanSign:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint KeySizeInBits {
+ [Export ("keySizeInBits")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("keySizeInBits"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("keySizeInBits"));
+ }
+ }
+ [Export ("setKeySizeInBits:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setKeySizeInBits:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setKeySizeInBits:"), value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string KeyType {
+ [Export ("keyType")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("keyType")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("keyType")))!;
+ }
+ }
+ [Export ("setKeyType:")]
+ set {
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setKeyType:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setKeyType:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? PublicKeyData {
+ [Export ("publicKeyData", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("publicKeyData")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("publicKeyData")))!;
+ }
+ return ret!;
+ }
+ [Export ("setPublicKeyData:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPublicKeyData:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPublicKeyData:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? PublicKeyHash {
+ [Export ("publicKeyHash", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("publicKeyHash")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("publicKeyHash")))!;
+ }
+ return ret!;
+ }
+ [Export ("setPublicKeyHash:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPublicKeyHash:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPublicKeyHash:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SuitableForLogin {
+ [Export ("isSuitableForLogin")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isSuitableForLogin"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isSuitableForLogin"));
+ }
+ return ret != 0;
+ }
+ [Export ("setSuitableForLogin:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setSuitableForLogin:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setSuitableForLogin:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ } /* class TKTokenKeychainKey */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenOperation.g.cs
new file mode 100644
index 0000000..d50bb39
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenOperation.g.cs
@@ -0,0 +1,65 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Native]
+ public enum TKTokenOperation : long {
+ None = 0,
+ ReadData = 1,
+ SignData = 2,
+ DecryptData = 3,
+ PerformKeyExchange = 4,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenPasswordAuthOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenPasswordAuthOperation.g.cs
new file mode 100644
index 0000000..1453bf9
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenPasswordAuthOperation.g.cs
@@ -0,0 +1,189 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenPasswordAuthOperation", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenPasswordAuthOperation : TKTokenAuthOperation {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenPasswordAuthOperation");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenPasswordAuthOperation" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenPasswordAuthOperation () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public TKTokenPasswordAuthOperation (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenPasswordAuthOperation (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenPasswordAuthOperation (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? Password {
+ [Export ("password")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("password")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("password")))!;
+ }
+ }
+ [Export ("setPassword:")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPassword:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPassword:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ } /* class TKTokenPasswordAuthOperation */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSession.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSession.g.cs
new file mode 100644
index 0000000..5e4134d
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSession.g.cs
@@ -0,0 +1,209 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenSession", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenSession : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenSession");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenSession (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenSession (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithToken:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenSession (TKToken token)
+ : base (NSObjectFlag.Empty)
+ {
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithToken:"), token__handle__), "initWithToken:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithToken:"), token__handle__), "initWithToken:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public ITKTokenSessionDelegate? Delegate {
+ get {
+ return (WeakDelegate as ITKTokenSessionDelegate)!;
+ }
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKToken Token {
+ [Export ("token")]
+ get {
+ TKToken? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKToken> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("token")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKToken> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("token")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class TKTokenSession */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSessionDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSessionDelegate.g.cs
new file mode 100644
index 0000000..fec6c25
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSessionDelegate.g.cs
@@ -0,0 +1,262 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKTokenSessionDelegate", WrapperType = typeof (TKTokenSessionDelegateWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "BeginAuthentication", Selector = "tokenSession:beginAuthForOperation:constraint:error:", ReturnType = typeof (CryptoTokenKit.TKTokenAuthOperation), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (CryptoTokenKit.TKTokenOperation), typeof (NSObject), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SupportsOperation", Selector = "tokenSession:supportsOperation:usingKey:algorithm:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (CryptoTokenKit.TKTokenOperation), typeof (NSObject), typeof (CryptoTokenKit.TKTokenKeyAlgorithm) }, ParameterByRef = new bool [] { false, false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SignData", Selector = "tokenSession:signData:usingKey:algorithm:error:", ReturnType = typeof (NSData), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (NSData), typeof (NSObject), typeof (CryptoTokenKit.TKTokenKeyAlgorithm), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DecryptData", Selector = "tokenSession:decryptData:usingKey:algorithm:error:", ReturnType = typeof (NSData), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (NSData), typeof (NSObject), typeof (CryptoTokenKit.TKTokenKeyAlgorithm), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "PerformKeyExchange", Selector = "tokenSession:performKeyExchangeWithPublicKey:usingKey:algorithm:parameters:error:", ReturnType = typeof (NSData), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (NSData), typeof (NSObject), typeof (CryptoTokenKit.TKTokenKeyAlgorithm), typeof (CryptoTokenKit.TKTokenKeyExchangeParameters), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, false, false, true })]
+ public partial interface ITKTokenSessionDelegate : INativeObject, IDisposable
+ {
+ }
+ /// <summary>Extension methods to the <see cref="ITKTokenSessionDelegate" /> interface to support all the methods from the TKTokenSessionDelegate protocol.</summary>
+ /// <remarks>
+ /// <para>The extension methods for <see cref="ITKTokenSessionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenSessionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ /// </remarks>
+ [Experimental ("APL0001")]
+ public unsafe static partial class TKTokenSessionDelegate_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static TKTokenAuthOperation? BeginAuthentication (this ITKTokenSessionDelegate This, TKTokenSession session, TKTokenOperation operation, NSObject constraint, out NSError? error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var constraint__handle__ = constraint!.GetNonNullHandle (nameof (constraint));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenAuthOperation? ret;
+ ret = Runtime.GetNSObject<TKTokenAuthOperation> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_IntPtr_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:beginAuthForOperation:constraint:error:"), session__handle__, (IntPtr) (long) operation, constraint__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsOperation (this ITKTokenSessionDelegate This, TKTokenSession session, TKTokenOperation operation, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var keyObjectId__handle__ = keyObjectId!.GetNonNullHandle (nameof (keyObjectId));
+ var algorithm__handle__ = algorithm!.GetNonNullHandle (nameof (algorithm));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_IntPtr_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:supportsOperation:usingKey:algorithm:"), session__handle__, (IntPtr) (long) operation, keyObjectId__handle__, algorithm__handle__);
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSData? SignData (this ITKTokenSessionDelegate This, TKTokenSession session, NSData dataToSign, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm, out NSError? error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var dataToSign__handle__ = dataToSign!.GetNonNullHandle (nameof (dataToSign));
+ var keyObjectId__handle__ = keyObjectId!.GetNonNullHandle (nameof (keyObjectId));
+ var algorithm__handle__ = algorithm!.GetNonNullHandle (nameof (algorithm));
+ NativeHandle errorValue = IntPtr.Zero;
+ NSData? ret;
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:signData:usingKey:algorithm:error:"), session__handle__, dataToSign__handle__, keyObjectId__handle__, algorithm__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSData? DecryptData (this ITKTokenSessionDelegate This, TKTokenSession session, NSData ciphertext, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm, out NSError? error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var ciphertext__handle__ = ciphertext!.GetNonNullHandle (nameof (ciphertext));
+ var keyObjectId__handle__ = keyObjectId!.GetNonNullHandle (nameof (keyObjectId));
+ var algorithm__handle__ = algorithm!.GetNonNullHandle (nameof (algorithm));
+ NativeHandle errorValue = IntPtr.Zero;
+ NSData? ret;
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:decryptData:usingKey:algorithm:error:"), session__handle__, ciphertext__handle__, keyObjectId__handle__, algorithm__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSData? PerformKeyExchange (this ITKTokenSessionDelegate This, TKTokenSession session, NSData otherPartyPublicKeyData, NSObject objectId, TKTokenKeyAlgorithm algorithm, TKTokenKeyExchangeParameters parameters, out NSError? error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var otherPartyPublicKeyData__handle__ = otherPartyPublicKeyData!.GetNonNullHandle (nameof (otherPartyPublicKeyData));
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ var algorithm__handle__ = algorithm!.GetNonNullHandle (nameof (algorithm));
+ var parameters__handle__ = parameters!.GetNonNullHandle (nameof (parameters));
+ NativeHandle errorValue = IntPtr.Zero;
+ NSData? ret;
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:performKeyExchangeWithPublicKey:usingKey:algorithm:parameters:error:"), session__handle__, otherPartyPublicKeyData__handle__, objectId__handle__, algorithm__handle__, parameters__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKTokenSessionDelegateWrapper : BaseWrapper, ITKTokenSessionDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKTokenSessionDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ }
+}
+namespace CryptoTokenKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__CryptoTokenKit_TKTokenSessionDelegate", false)]
+ [Model]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenSessionDelegate : NSObject, ITKTokenSessionDelegate {
+ /// <summary>Creates a new <see cref="TKTokenSessionDelegate" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenSessionDelegate () : base (NSObjectFlag.Empty)
+ {
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenSessionDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenSessionDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("tokenSession:beginAuthForOperation:constraint:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenAuthOperation? BeginAuthentication (TKTokenSession session, TKTokenOperation operation, NSObject constraint, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("tokenSession:decryptData:usingKey:algorithm:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? DecryptData (TKTokenSession session, NSData ciphertext, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("tokenSession:performKeyExchangeWithPublicKey:usingKey:algorithm:parameters:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? PerformKeyExchange (TKTokenSession session, NSData otherPartyPublicKeyData, NSObject objectId, TKTokenKeyAlgorithm algorithm, TKTokenKeyExchangeParameters parameters, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("tokenSession:signData:usingKey:algorithm:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? SignData (TKTokenSession session, NSData dataToSign, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("tokenSession:supportsOperation:usingKey:algorithm:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SupportsOperation (TKTokenSession session, TKTokenOperation operation, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ } /* class TKTokenSessionDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSmartCardPinAuthOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSmartCardPinAuthOperation.g.cs
new file mode 100644
index 0000000..d15fdb9
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSmartCardPinAuthOperation.g.cs
@@ -0,0 +1,295 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenSmartCardPINAuthOperation", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenSmartCardPinAuthOperation : TKTokenAuthOperation {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenSmartCardPINAuthOperation");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenSmartCardPinAuthOperation" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenSmartCardPinAuthOperation () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public TKTokenSmartCardPinAuthOperation (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenSmartCardPinAuthOperation (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenSmartCardPinAuthOperation (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? ApduTemplate {
+ [Export ("APDUTemplate", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("APDUTemplate")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("APDUTemplate")))!;
+ }
+ return ret!;
+ }
+ [Export ("setAPDUTemplate:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setAPDUTemplate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setAPDUTemplate:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? Pin {
+ [Export ("PIN")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("PIN")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PIN")))!;
+ }
+ }
+ [Export ("setPIN:")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPIN:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPIN:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinByteOffset {
+ [Export ("PINByteOffset")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINByteOffset"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINByteOffset"));
+ }
+ }
+ [Export ("setPINByteOffset:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINByteOffset:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINByteOffset:"), value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_PinFormat_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinFormat PinFormat {
+ [Export ("PINFormat", ArgumentSemantic.Assign)]
+ get {
+ TKSmartCardPinFormat? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCardPinFormat> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("PINFormat")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCardPinFormat> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINFormat")))!;
+ }
+ MarkDirty ();
+ __mt_PinFormat_var = ret;
+ return ret!;
+ }
+ [Export ("setPINFormat:", ArgumentSemantic.Assign)]
+ set {
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPINFormat:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPINFormat:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_PinFormat_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_SmartCard_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCard? SmartCard {
+ [Export ("smartCard", ArgumentSemantic.Assign)]
+ get {
+ TKSmartCard? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("smartCard")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("smartCard")))!;
+ }
+ MarkDirty ();
+ __mt_SmartCard_var = ret;
+ return ret!;
+ }
+ [Export ("setSmartCard:", ArgumentSemantic.Assign)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSmartCard:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSmartCard:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_SmartCard_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_PinFormat_var = null;
+ __mt_SmartCard_var = null;
+ }
+ }
+ } /* class TKTokenSmartCardPinAuthOperation */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcher.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcher.g.cs
new file mode 100644
index 0000000..08aa63b
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcher.g.cs
@@ -0,0 +1,246 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenWatcher", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenWatcher : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenWatcher");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenWatcher" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenWatcher () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenWatcher (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenWatcher (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithInsertionHandler:")]
+ [ObsoletedOSPlatform ("macos10.13", "Use the default constructor followed by a call to the 'SetInsertionHandler' method.")]
+ [ObsoletedOSPlatform ("ios11.0", "Use the default constructor followed by a call to the 'SetInsertionHandler' method.")]
+ [ObsoletedOSPlatform ("tvos11.0", "Use the default constructor followed by a call to the 'SetInsertionHandler' method.")]
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use the default constructor followed by a call to the 'SetInsertionHandler' method.")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe TKTokenWatcher ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V53))]global::System.Action<NSString> insertionHandler)
+ : base (NSObjectFlag.Empty)
+ {
+ if (insertionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (insertionHandler));
+ using var block_insertionHandler = Trampolines.SDActionArity1V53.CreateBlock (insertionHandler);
+ BlockLiteral *block_ptr_insertionHandler = &block_insertionHandler;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithInsertionHandler:"), (IntPtr) block_ptr_insertionHandler), "initWithInsertionHandler:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithInsertionHandler:"), (IntPtr) block_ptr_insertionHandler), "initWithInsertionHandler:");
+ }
+ }
+ [Export ("addRemovalHandler:forTokenID:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void AddRemovalHandler ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V53))]global::System.Action<NSString> removalHandler, string tokenId)
+ {
+ if (removalHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (removalHandler));
+ if (tokenId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (tokenId));
+ using var block_removalHandler = Trampolines.SDActionArity1V53.CreateBlock (removalHandler);
+ BlockLiteral *block_ptr_removalHandler = &block_removalHandler;
+ var nstokenId = CFString.CreateNative (tokenId);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addRemovalHandler:forTokenID:"), (IntPtr) block_ptr_removalHandler, nstokenId);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("addRemovalHandler:forTokenID:"), (IntPtr) block_ptr_removalHandler, nstokenId);
+ }
+ CFString.ReleaseNative (nstokenId);
+ }
+ [Export ("tokenInfoForTokenID:")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenWatcherTokenInfo? GetTokenInfo (string tokenId)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (tokenId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (tokenId));
+ var nstokenId = CFString.CreateNative (tokenId);
+ TKTokenWatcherTokenInfo? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenWatcherTokenInfo> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("tokenInfoForTokenID:"), nstokenId))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenWatcherTokenInfo> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("tokenInfoForTokenID:"), nstokenId))!;
+ }
+ CFString.ReleaseNative (nstokenId);
+ return ret!;
+ #endif
+ }
+ [Export ("setInsertionHandler:")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void SetInsertionHandler ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V53))]global::System.Action<NSString> insertionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (insertionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (insertionHandler));
+ using var block_insertionHandler = Trampolines.SDActionArity1V53.CreateBlock (insertionHandler);
+ BlockLiteral *block_ptr_insertionHandler = &block_insertionHandler;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setInsertionHandler:"), (IntPtr) block_ptr_insertionHandler);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setInsertionHandler:"), (IntPtr) block_ptr_insertionHandler);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string[] TokenIds {
+ [Export ("tokenIDs")]
+ get {
+ if (IsDirectBinding) {
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("tokenIDs")))!;
+ } else {
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tokenIDs")))!;
+ }
+ }
+ }
+ } /* class TKTokenWatcher */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcherTokenInfo.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcherTokenInfo.g.cs
new file mode 100644
index 0000000..fb17971
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcherTokenInfo.g.cs
@@ -0,0 +1,186 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenWatcherTokenInfo", true)]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenWatcherTokenInfo : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenWatcherTokenInfo");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenWatcherTokenInfo (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenWatcherTokenInfo (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? DriverName {
+ [Export ("driverName")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("driverName")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("driverName")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? SlotName {
+ [Export ("slotName")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("slotName")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("slotName")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string TokenId {
+ [Export ("tokenID")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("tokenID")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tokenID")))!;
+ }
+ #endif
+ }
+ }
+ } /* class TKTokenWatcherTokenInfo */
+}
diff --git a/old/dotnet/ios/generated-sources/HomeKit/HMHome.g.cs b/new/dotnet/ios/generated-sources/HomeKit/HMHome.g.cs
index 266ff0c..4824bc7 100644
--- a/old/dotnet/ios/generated-sources/HomeKit/HMHome.g.cs
+++ b/new/dotnet/ios/generated-sources/HomeKit/HMHome.g.cs
@@ -965,7 +965,7 @@ namespace HomeKit {
[SupportedOSPlatform ("ios16.1")]
[SupportedOSPlatform ("maccatalyst16.1")]
public unsafe virtual global::System.Func<NSXpcConnection> MatterControllerXPCConnectBlock {
- [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V2))]
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V3))]
[Export ("matterControllerXPCConnectBlock", ArgumentSemantic.Retain)]
get {
#if ARCH_32
@@ -977,7 +977,7 @@ namespace HomeKit {
} else {
ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("matterControllerXPCConnectBlock"));
}
- return global::ObjCRuntime.Trampolines.NIDFuncArity1V2.Create (ret)!;
+ return global::ObjCRuntime.Trampolines.NIDFuncArity1V3.Create (ret)!;
#endif
}
}
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Libraries.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Libraries.g.cs
index ae2f71b..dc2e4e7 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Libraries.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Libraries.g.cs
@@ -174,6 +174,9 @@ namespace ObjCRuntime {
static public class CoreVideo {
static public readonly IntPtr Handle = Dlfcn._dlopen (Constants.CoreVideoLibrary, 0);
}
+ static public class CryptoTokenKit {
+ static public readonly IntPtr Handle = Dlfcn._dlopen (Constants.CryptoTokenKitLibrary, 0);
+ }
static public class DeviceCheck {
static public readonly IntPtr Handle = Dlfcn._dlopen (Constants.DeviceCheckLibrary, 0);
}
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
index 78b87f0..cf790e6 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
@@ -2251,6 +2251,42 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public unsafe extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_bool_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, byte arg4, NativeHandle* arg5);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSend_UInt64_NativeHandle (IntPtr receiver, IntPtr selector, ulong arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSendSuper_UInt64_NativeHandle (IntPtr receiver, IntPtr selector, ulong arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSend_byte_NativeHandle (IntPtr receiver, IntPtr selector, byte arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSendSuper_byte_NativeHandle (IntPtr receiver, IntPtr selector, byte arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, nint arg3, nint arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, nint arg3, nint arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static void void_objc_msgSend_byte_byte_byte_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, byte arg1, byte arg2, byte arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static void void_objc_msgSendSuper_byte_byte_byte_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, byte arg1, byte arg2, byte arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static byte bool_objc_msgSend_ref_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle* arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static byte bool_objc_msgSendSuper_ref_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle* arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSend_byte_byte_byte_NativeHandle_NativeHandle_out_UInt16_ref_NativeHandle (IntPtr receiver, IntPtr selector, byte arg1, byte arg2, byte arg3, NativeHandle arg4, NativeHandle arg5, ushort* arg6, NativeHandle* arg7);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSendSuper_byte_byte_byte_NativeHandle_NativeHandle_out_UInt16_ref_NativeHandle (IntPtr receiver, IntPtr selector, byte arg1, byte arg2, byte arg3, NativeHandle arg4, NativeHandle arg5, ushort* arg6, NativeHandle* arg7);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_IntPtr_NativeHandle_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, IntPtr arg2, NativeHandle arg3, NativeHandle* arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_IntPtr_NativeHandle_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, IntPtr arg2, NativeHandle arg3, NativeHandle* arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static byte bool_objc_msgSend_NativeHandle_IntPtr_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, IntPtr arg2, NativeHandle arg3, NativeHandle arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static byte bool_objc_msgSendSuper_NativeHandle_IntPtr_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, IntPtr arg2, NativeHandle arg3, NativeHandle arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle* arg6);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public unsafe extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle* arg6);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public unsafe extern static byte bool_objc_msgSend_NativeHandle_IntPtr_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, IntPtr arg2, NativeHandle* arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public unsafe extern static byte bool_objc_msgSendSuper_NativeHandle_IntPtr_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, IntPtr arg2, NativeHandle* arg3);
@@ -2855,10 +2891,6 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
public unsafe extern static NSOperatingSystemVersion NSOperatingSystemVersion_objc_msgSendSuper_stret (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public unsafe extern static NativeHandle NativeHandle_objc_msgSend_UInt64_NativeHandle (IntPtr receiver, IntPtr selector, ulong arg1, NativeHandle arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public unsafe extern static NativeHandle NativeHandle_objc_msgSendSuper_UInt64_NativeHandle (IntPtr receiver, IntPtr selector, ulong arg1, NativeHandle arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public unsafe extern static void void_objc_msgSend_UInt64_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, ulong arg1, NativeHandle arg2, NativeHandle arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public unsafe extern static void void_objc_msgSendSuper_UInt64_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, ulong arg1, NativeHandle arg2, NativeHandle arg3);
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
index 613edde..b6bc420 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
@@ -5786,6 +5786,173 @@ namespace ObjCRuntime {
invoker (BlockPointer, clientState__handle__, error__handle__);
}
} /* class NIDCSSearchableIndexFetchHandler */
+ [Experimental ("APL0001")]
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::CryptoTokenKit.TKGetSlotCallback))]
+ unsafe internal delegate void DTKGetSlotCallback (IntPtr block, NativeHandle slot);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ [Experimental ("APL0001")]
+ static internal class SDTKGetSlotCallback {
+ [Preserve (Conditional = true)]
+ [UnmanagedCallersOnly]
+ internal static unsafe void Invoke (IntPtr block, NativeHandle slot) {
+ var del = BlockLiteral.GetTarget<global::CryptoTokenKit.TKGetSlotCallback> (block);
+ if (del is not null) {
+ del ( Runtime.GetNSObject<CryptoTokenKit.TKSmartCardSlot> (slot)!);
+ }
+ }
+ internal static unsafe BlockLiteral CreateNullableBlock (global::CryptoTokenKit.TKGetSlotCallback? callback)
+ {
+ if (callback is null)
+ return default (BlockLiteral);
+ return CreateBlock (callback);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static unsafe BlockLiteral CreateBlock (global::CryptoTokenKit.TKGetSlotCallback callback)
+ {
+ delegate* unmanaged<IntPtr, NativeHandle, void> trampoline = &Invoke;
+ return new BlockLiteral (trampoline, callback, typeof (SDTKGetSlotCallback), nameof (Invoke));
+ }
+ } /* class SDTKGetSlotCallback */
+ [Experimental ("APL0001")]
+ internal sealed class NIDTKGetSlotCallback : TrampolineBlockBase {
+ DTKGetSlotCallback invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDTKGetSlotCallback (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DTKGetSlotCallback> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::CryptoTokenKit.TKGetSlotCallback? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::CryptoTokenKit.TKGetSlotCallback) GetExistingManagedDelegate (block);
+ return del ?? new NIDTKGetSlotCallback ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (global::CryptoTokenKit.TKSmartCardSlot? slot)
+ {
+ var slot__handle__ = slot.GetHandle ();
+ invoker (BlockPointer, slot__handle__);
+ }
+ } /* class NIDTKGetSlotCallback */
+ [Experimental ("APL0001")]
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::CryptoTokenKit.TKSmartCardExecuteCallback))]
+ unsafe internal delegate byte DTKSmartCardExecuteCallback (IntPtr block, NativeHandle* error);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ [Experimental ("APL0001")]
+ static internal class SDTKSmartCardExecuteCallback {
+ [Preserve (Conditional = true)]
+ [UnmanagedCallersOnly]
+ internal static unsafe byte Invoke (IntPtr block, NativeHandle* error) {
+ var del = BlockLiteral.GetTarget<global::CryptoTokenKit.TKSmartCardExecuteCallback> (block);
+ var __xamarin_pref0 = Runtime.GetINativeObject<NSError> (error is not null ? *error : NativeHandle.Zero, false)!;
+ bool retval = del (out __xamarin_pref0);
+ if (error is not null)
+ *error = __xamarin_pref0.GetHandle ();
+ return retval ? (byte) 1 : (byte) 0;
+ }
+ internal static unsafe BlockLiteral CreateNullableBlock (global::CryptoTokenKit.TKSmartCardExecuteCallback? callback)
+ {
+ if (callback is null)
+ return default (BlockLiteral);
+ return CreateBlock (callback);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static unsafe BlockLiteral CreateBlock (global::CryptoTokenKit.TKSmartCardExecuteCallback callback)
+ {
+ delegate* unmanaged<IntPtr, NativeHandle*, byte> trampoline = &Invoke;
+ return new BlockLiteral (trampoline, callback, typeof (SDTKSmartCardExecuteCallback), nameof (Invoke));
+ }
+ } /* class SDTKSmartCardExecuteCallback */
+ [Experimental ("APL0001")]
+ internal sealed class NIDTKSmartCardExecuteCallback : TrampolineBlockBase {
+ DTKSmartCardExecuteCallback invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDTKSmartCardExecuteCallback (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DTKSmartCardExecuteCallback> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::CryptoTokenKit.TKSmartCardExecuteCallback? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::CryptoTokenKit.TKSmartCardExecuteCallback) GetExistingManagedDelegate (block);
+ return del ?? new NIDTKSmartCardExecuteCallback ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe bool Invoke (out NSError? error)
+ {
+ NativeHandle errorValue = IntPtr.Zero;
+ var ret = invoker (BlockPointer, &errorValue);
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret != 0;
+ }
+ } /* class NIDTKSmartCardExecuteCallback */
+ [Experimental ("APL0001")]
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::CryptoTokenKit.TKSmartCardSendCallback))]
+ unsafe internal delegate void DTKSmartCardSendCallback (IntPtr block, NativeHandle replyData, ushort sq, NativeHandle error);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ [Experimental ("APL0001")]
+ static internal class SDTKSmartCardSendCallback {
+ [Preserve (Conditional = true)]
+ [UnmanagedCallersOnly]
+ internal static unsafe void Invoke (IntPtr block, NativeHandle replyData, ushort sq, NativeHandle error) {
+ var del = BlockLiteral.GetTarget<global::CryptoTokenKit.TKSmartCardSendCallback> (block);
+ if (del is not null) {
+ del ( Runtime.GetNSObject<NSData> (replyData)!, sq, Runtime.GetNSObject<NSError> (error)!);
+ }
+ }
+ internal static unsafe BlockLiteral CreateNullableBlock (global::CryptoTokenKit.TKSmartCardSendCallback? callback)
+ {
+ if (callback is null)
+ return default (BlockLiteral);
+ return CreateBlock (callback);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static unsafe BlockLiteral CreateBlock (global::CryptoTokenKit.TKSmartCardSendCallback callback)
+ {
+ delegate* unmanaged<IntPtr, NativeHandle, ushort, NativeHandle, void> trampoline = &Invoke;
+ return new BlockLiteral (trampoline, callback, typeof (SDTKSmartCardSendCallback), nameof (Invoke));
+ }
+ } /* class SDTKSmartCardSendCallback */
+ [Experimental ("APL0001")]
+ internal sealed class NIDTKSmartCardSendCallback : TrampolineBlockBase {
+ DTKSmartCardSendCallback invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDTKSmartCardSendCallback (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DTKSmartCardSendCallback> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::CryptoTokenKit.TKSmartCardSendCallback? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::CryptoTokenKit.TKSmartCardSendCallback) GetExistingManagedDelegate (block);
+ return del ?? new NIDTKSmartCardSendCallback ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (NSData? replyData, ushort sq, NSError? error)
+ {
+ var replyData__handle__ = replyData.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ invoker (BlockPointer, replyData__handle__, sq, error__handle__);
+ }
+ } /* class NIDTKSmartCardSendCallback */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::DeviceCheck.DCDeviceGenerateTokenCompletionHandler))]
unsafe internal delegate void DDCDeviceGenerateTokenCompletionHandler (IntPtr block, NativeHandle token, NativeHandle error);
@@ -42809,11 +42976,11 @@ namespace ObjCRuntime {
} /* class NIDFuncArity1V0 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<NSXpcConnection>))]
- unsafe internal delegate NativeHandle DFuncArity1V2 (IntPtr block);
+ unsafe internal delegate NativeHandle DFuncArity1V3 (IntPtr block);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity1V2 {
+ static internal class SDFuncArity1V3 {
[Preserve (Conditional = true)]
[UnmanagedCallersOnly]
internal static unsafe NativeHandle Invoke (IntPtr block) {
@@ -42831,15 +42998,15 @@ namespace ObjCRuntime {
internal static unsafe BlockLiteral CreateBlock (global::System.Func<NSXpcConnection> callback)
{
delegate* unmanaged<IntPtr, NativeHandle> trampoline = &Invoke;
- return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V2), nameof (Invoke));
+ return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V3), nameof (Invoke));
}
- } /* class SDFuncArity1V2 */
- internal sealed class NIDFuncArity1V2 : TrampolineBlockBase {
- DFuncArity1V2 invoker;
+ } /* class SDFuncArity1V3 */
+ internal sealed class NIDFuncArity1V3 : TrampolineBlockBase {
+ DFuncArity1V3 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity1V2 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity1V3 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity1V2> ();
+ invoker = block->GetDelegateForBlock<DFuncArity1V3> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -42848,7 +43015,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<NSXpcConnection>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity1V2 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity1V3 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe NSXpcConnection Invoke ()
@@ -42856,7 +43023,7 @@ namespace ObjCRuntime {
var ret = Runtime.GetNSObject<NSXpcConnection> (invoker (BlockPointer))!;
return ret!;
}
- } /* class NIDFuncArity1V2 */
+ } /* class NIDFuncArity1V3 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::Metal.IMTLTexture>))]
unsafe internal delegate NativeHandle DFuncArity1V1 (IntPtr block);
@@ -42909,11 +43076,11 @@ namespace ObjCRuntime {
} /* class NIDFuncArity1V1 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<bool>))]
- unsafe internal delegate byte DFuncArity1V3 (IntPtr block);
+ unsafe internal delegate byte DFuncArity1V4 (IntPtr block);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity1V3 {
+ static internal class SDFuncArity1V4 {
[Preserve (Conditional = true)]
[UnmanagedCallersOnly]
internal static unsafe byte Invoke (IntPtr block) {
@@ -42931,15 +43098,15 @@ namespace ObjCRuntime {
internal static unsafe BlockLiteral CreateBlock (global::System.Func<bool> callback)
{
delegate* unmanaged<IntPtr, byte> trampoline = &Invoke;
- return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V3), nameof (Invoke));
+ return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V4), nameof (Invoke));
}
- } /* class SDFuncArity1V3 */
- internal sealed class NIDFuncArity1V3 : TrampolineBlockBase {
- DFuncArity1V3 invoker;
+ } /* class SDFuncArity1V4 */
+ internal sealed class NIDFuncArity1V4 : TrampolineBlockBase {
+ DFuncArity1V4 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity1V3 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity1V4 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity1V3> ();
+ invoker = block->GetDelegateForBlock<DFuncArity1V4> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -42948,7 +43115,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<bool>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity1V3 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity1V4 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe bool Invoke ()
@@ -42956,14 +43123,64 @@ namespace ObjCRuntime {
var ret = invoker (BlockPointer);
return ret != 0;
}
- } /* class NIDFuncArity1V3 */
+ } /* class NIDFuncArity1V4 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Func<int>))]
+ unsafe internal delegate int DFuncArity1V2 (IntPtr block);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDFuncArity1V2 {
+ [Preserve (Conditional = true)]
+ [UnmanagedCallersOnly]
+ internal static unsafe int Invoke (IntPtr block) {
+ var del = BlockLiteral.GetTarget<global::System.Func<int>> (block);
+ int retval = del ();
+ return retval;
+ }
+ internal static unsafe BlockLiteral CreateNullableBlock (global::System.Func<int>? callback)
+ {
+ if (callback is null)
+ return default (BlockLiteral);
+ return CreateBlock (callback);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static unsafe BlockLiteral CreateBlock (global::System.Func<int> callback)
+ {
+ delegate* unmanaged<IntPtr, int> trampoline = &Invoke;
+ return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V2), nameof (Invoke));
+ }
+ } /* class SDFuncArity1V2 */
+ internal sealed class NIDFuncArity1V2 : TrampolineBlockBase {
+ DFuncArity1V2 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDFuncArity1V2 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DFuncArity1V2> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Func<int>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Func<int>) GetExistingManagedDelegate (block);
+ return del ?? new NIDFuncArity1V2 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe int Invoke ()
+ {
+ var ret = invoker (BlockPointer);
+ return ret!;
+ }
+ } /* class NIDFuncArity1V2 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.IUIMutableTraits>))]
- unsafe internal delegate NativeHandle DFuncArity1V8 (IntPtr block);
+ unsafe internal delegate NativeHandle DFuncArity1V9 (IntPtr block);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity1V8 {
+ static internal class SDFuncArity1V9 {
[Preserve (Conditional = true)]
[UnmanagedCallersOnly]
internal static unsafe NativeHandle Invoke (IntPtr block) {
@@ -42981,15 +43198,15 @@ namespace ObjCRuntime {
internal static unsafe BlockLiteral CreateBlock (global::System.Func<global::UIKit.IUIMutableTraits> callback)
{
delegate* unmanaged<IntPtr, NativeHandle> trampoline = &Invoke;
- return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V8), nameof (Invoke));
+ return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V9), nameof (Invoke));
}
- } /* class SDFuncArity1V8 */
- internal sealed class NIDFuncArity1V8 : TrampolineBlockBase {
- DFuncArity1V8 invoker;
+ } /* class SDFuncArity1V9 */
+ internal sealed class NIDFuncArity1V9 : TrampolineBlockBase {
+ DFuncArity1V9 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity1V8 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity1V9 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity1V8> ();
+ invoker = block->GetDelegateForBlock<DFuncArity1V9> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -42998,7 +43215,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<global::UIKit.IUIMutableTraits>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity1V8 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity1V9 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe global::UIKit.IUIMutableTraits Invoke ()
@@ -43006,14 +43223,14 @@ namespace ObjCRuntime {
var ret = Runtime.GetINativeObject<global::UIKit.IUIMutableTraits> (invoker (BlockPointer), false)!;
return ret!;
}
- } /* class NIDFuncArity1V8 */
+ } /* class NIDFuncArity1V9 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UIActivityViewController>))]
- unsafe internal delegate NativeHandle DFuncArity1V6 (IntPtr block);
+ unsafe internal delegate NativeHandle DFuncArity1V7 (IntPtr block);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity1V6 {
+ static internal class SDFuncArity1V7 {
[Preserve (Conditional = true)]
[UnmanagedCallersOnly]
internal static unsafe NativeHandle Invoke (IntPtr block) {
@@ -43031,15 +43248,15 @@ namespace ObjCRuntime {
internal static unsafe BlockLiteral CreateBlock (global::System.Func<global::UIKit.UIActivityViewController> callback)
{
delegate* unmanaged<IntPtr, NativeHandle> trampoline = &Invoke;
- return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V6), nameof (Invoke));
+ return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V7), nameof (Invoke));
}
- } /* class SDFuncArity1V6 */
- internal sealed class NIDFuncArity1V6 : TrampolineBlockBase {
- DFuncArity1V6 invoker;
+ } /* class SDFuncArity1V7 */
+ internal sealed class NIDFuncArity1V7 : TrampolineBlockBase {
+ DFuncArity1V7 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity1V6 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity1V7 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity1V6> ();
+ invoker = block->GetDelegateForBlock<DFuncArity1V7> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -43048,7 +43265,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<global::UIKit.UIActivityViewController>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity1V6 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity1V7 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe global::UIKit.UIActivityViewController Invoke ()
@@ -43056,14 +43273,14 @@ namespace ObjCRuntime {
var ret = Runtime.GetNSObject<global::UIKit.UIActivityViewController> (invoker (BlockPointer))!;
return ret!;
}
- } /* class NIDFuncArity1V6 */
+ } /* class NIDFuncArity1V7 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UIActivity[]>))]
- unsafe internal delegate NativeHandle DFuncArity1V4 (IntPtr block);
+ unsafe internal delegate NativeHandle DFuncArity1V5 (IntPtr block);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity1V4 {
+ static internal class SDFuncArity1V5 {
[Preserve (Conditional = true)]
[UnmanagedCallersOnly]
internal static unsafe NativeHandle Invoke (IntPtr block) {
@@ -43081,15 +43298,15 @@ namespace ObjCRuntime {
internal static unsafe BlockLiteral CreateBlock (global::System.Func<global::UIKit.UIActivity[]> callback)
{
delegate* unmanaged<IntPtr, NativeHandle> trampoline = &Invoke;
- return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V4), nameof (Invoke));
+ return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V5), nameof (Invoke));
}
- } /* class SDFuncArity1V4 */
- internal sealed class NIDFuncArity1V4 : TrampolineBlockBase {
- DFuncArity1V4 invoker;
+ } /* class SDFuncArity1V5 */
+ internal sealed class NIDFuncArity1V5 : TrampolineBlockBase {
+ DFuncArity1V5 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity1V4 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity1V5 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity1V4> ();
+ invoker = block->GetDelegateForBlock<DFuncArity1V5> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -43098,7 +43315,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<global::UIKit.UIActivity[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity1V4 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity1V5 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe global::UIKit.UIActivity[] Invoke ()
@@ -43106,14 +43323,14 @@ namespace ObjCRuntime {
var ret = CFArray.ArrayFromHandle<global::UIKit.UIActivity>(invoker (BlockPointer))!;
return ret!;
}
- } /* class NIDFuncArity1V4 */
+ } /* class NIDFuncArity1V5 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UIDragPreview>))]
- unsafe internal delegate NativeHandle DFuncArity1V7 (IntPtr block);
+ unsafe internal delegate NativeHandle DFuncArity1V8 (IntPtr block);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity1V7 {
+ static internal class SDFuncArity1V8 {
[Preserve (Conditional = true)]
[UnmanagedCallersOnly]
internal static unsafe NativeHandle Invoke (IntPtr block) {
@@ -43131,15 +43348,15 @@ namespace ObjCRuntime {
internal static unsafe BlockLiteral CreateBlock (global::System.Func<global::UIKit.UIDragPreview> callback)
{
delegate* unmanaged<IntPtr, NativeHandle> trampoline = &Invoke;
- return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V7), nameof (Invoke));
+ return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V8), nameof (Invoke));
}
- } /* class SDFuncArity1V7 */
- internal sealed class NIDFuncArity1V7 : TrampolineBlockBase {
- DFuncArity1V7 invoker;
+ } /* class SDFuncArity1V8 */
+ internal sealed class NIDFuncArity1V8 : TrampolineBlockBase {
+ DFuncArity1V8 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity1V7 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity1V8 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity1V7> ();
+ invoker = block->GetDelegateForBlock<DFuncArity1V8> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -43148,7 +43365,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<global::UIKit.UIDragPreview>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity1V7 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity1V8 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe global::UIKit.UIDragPreview Invoke ()
@@ -43156,14 +43373,14 @@ namespace ObjCRuntime {
var ret = Runtime.GetNSObject<global::UIKit.UIDragPreview> (invoker (BlockPointer))!;
return ret!;
}
- } /* class NIDFuncArity1V7 */
+ } /* class NIDFuncArity1V8 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UIView>))]
- unsafe internal delegate NativeHandle DFuncArity1V5 (IntPtr block);
+ unsafe internal delegate NativeHandle DFuncArity1V6 (IntPtr block);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity1V5 {
+ static internal class SDFuncArity1V6 {
[Preserve (Conditional = true)]
[UnmanagedCallersOnly]
internal static unsafe NativeHandle Invoke (IntPtr block) {
@@ -43181,15 +43398,15 @@ namespace ObjCRuntime {
internal static unsafe BlockLiteral CreateBlock (global::System.Func<global::UIKit.UIView> callback)
{
delegate* unmanaged<IntPtr, NativeHandle> trampoline = &Invoke;
- return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V5), nameof (Invoke));
+ return new BlockLiteral (trampoline, callback, typeof (SDFuncArity1V6), nameof (Invoke));
}
- } /* class SDFuncArity1V5 */
- internal sealed class NIDFuncArity1V5 : TrampolineBlockBase {
- DFuncArity1V5 invoker;
+ } /* class SDFuncArity1V6 */
+ internal sealed class NIDFuncArity1V6 : TrampolineBlockBase {
+ DFuncArity1V6 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity1V5 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity1V6 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity1V5> ();
+ invoker = block->GetDelegateForBlock<DFuncArity1V6> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -43198,7 +43415,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<global::UIKit.UIView>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity1V5 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity1V6 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe global::UIKit.UIView Invoke ()
@@ -43206,7 +43423,7 @@ namespace ObjCRuntime {
var ret = Runtime.GetNSObject<global::UIKit.UIView> (invoker (BlockPointer))!;
return ret!;
}
- } /* class NIDFuncArity1V5 */
+ } /* class NIDFuncArity1V6 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::CloudKit.CKRecordID, global::CloudKit.CKRecord>))]
unsafe internal delegate NativeHandle DFuncArity2V1 (IntPtr block, NativeHandle arg);
diff --git a/old/dotnet/ios/generated-sources/QuickLookThumbnailing/QLThumbnailReply.g.cs b/new/dotnet/ios/generated-sources/QuickLookThumbnailing/QLThumbnailReply.g.cs
index ae765db..265b49b 100644
--- a/old/dotnet/ios/generated-sources/QuickLookThumbnailing/QLThumbnailReply.g.cs
+++ b/new/dotnet/ios/generated-sources/QuickLookThumbnailing/QLThumbnailReply.g.cs
@@ -141,11 +141,11 @@ namespace QuickLookThumbnailing {
}
[Export ("replyWithContextSize:currentContextDrawingBlock:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static QLThumbnailReply CreateReply (CGSize contextSize, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]global::System.Func<bool> drawingBlock)
+ public unsafe static QLThumbnailReply CreateReply (CGSize contextSize, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4))]global::System.Func<bool> drawingBlock)
{
if (drawingBlock is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (drawingBlock));
- using var block_drawingBlock = Trampolines.SDFuncArity1V3.CreateBlock (drawingBlock);
+ using var block_drawingBlock = Trampolines.SDFuncArity1V4.CreateBlock (drawingBlock);
BlockLiteral *block_ptr_drawingBlock = &block_drawingBlock;
return Runtime.GetNSObject<QLThumbnailReply> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_CGSize_NativeHandle (class_ptr, Selector.GetHandle ("replyWithContextSize:currentContextDrawingBlock:"), contextSize, (IntPtr) block_ptr_drawingBlock))!;
}
diff --git a/old/dotnet/ios/generated-sources/SceneKit/SCNRenderer.g.cs b/new/dotnet/ios/generated-sources/SceneKit/SCNRenderer.g.cs
index b7c7dd8..87df931 100644
--- a/old/dotnet/ios/generated-sources/SceneKit/SCNRenderer.g.cs
+++ b/new/dotnet/ios/generated-sources/SceneKit/SCNRenderer.g.cs
@@ -240,10 +240,10 @@ namespace SceneKit {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]global::System.Func<bool>? abortHandler)
+ public unsafe virtual bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4))]global::System.Func<bool>? abortHandler)
{
var obj__handle__ = obj!.GetNonNullHandle (nameof (obj));
- using var block_abortHandler = Trampolines.SDFuncArity1V3.CreateNullableBlock (abortHandler);
+ using var block_abortHandler = Trampolines.SDFuncArity1V4.CreateNullableBlock (abortHandler);
BlockLiteral *block_ptr_abortHandler = null;
if (abortHandler is not null)
block_ptr_abortHandler = &block_abortHandler;
diff --git a/old/dotnet/ios/generated-sources/SceneKit/SCNSceneRenderer.g.cs b/new/dotnet/ios/generated-sources/SceneKit/SCNSceneRenderer.g.cs
index 5be4f61..b0b158b 100644
--- a/old/dotnet/ios/generated-sources/SceneKit/SCNSceneRenderer.g.cs
+++ b/new/dotnet/ios/generated-sources/SceneKit/SCNSceneRenderer.g.cs
@@ -58,7 +58,7 @@ namespace SceneKit {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "IsNodeInsideFrustum", Selector = "isNodeInsideFrustum:withPointOfView:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (SCNNode), typeof (SCNNode) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "ProjectPoint", Selector = "projectPoint:", ReturnType = typeof (SCNVector3), ParameterType = new Type [] { typeof (SCNVector3) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "UnprojectPoint", Selector = "unprojectPoint:", ReturnType = typeof (SCNVector3), ParameterType = new Type [] { typeof (SCNVector3) }, ParameterByRef = new bool [] { false })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Prepare", Selector = "prepareObject:shouldAbortBlock:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (NSObject), typeof (global::System.Func<bool>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Prepare", Selector = "prepareObject:shouldAbortBlock:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (NSObject), typeof (global::System.Func<bool>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Prepare", Selector = "prepareObjects:withCompletionHandler:", ParameterType = new Type [] { typeof (NSObject[]), typeof (global::System.Action<bool>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V4) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "PresentScene", Selector = "presentScene:withTransition:incomingPointOfView:completionHandler:", ParameterType = new Type [] { typeof (SCNScene), typeof (SKTransition), typeof (SCNNode), typeof (Action) }, ParameterByRef = new bool [] { false, false, false, false }, ParameterBlockProxy = new Type? [] { null, null, null, typeof (ObjCRuntime.Trampolines.NIDAction) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetNodesInsideFrustum", Selector = "nodesInsideFrustumWithPointOfView:", ReturnType = typeof (SCNNode[]), ParameterType = new Type [] { typeof (SCNNode) }, ParameterByRef = new bool [] { false })]
@@ -127,7 +127,7 @@ namespace SceneKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("prepareObject:shouldAbortBlock:")]
[Preserve (Conditional = true)]
- unsafe bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]global::System.Func<bool>? abortHandler);
+ unsafe bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4))]global::System.Func<bool>? abortHandler);
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
@@ -485,10 +485,10 @@ namespace SceneKit {
}
[Export ("prepareObject:shouldAbortBlock:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]global::System.Func<bool>? abortHandler)
+ public unsafe bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4))]global::System.Func<bool>? abortHandler)
{
var obj__handle__ = obj!.GetNonNullHandle (nameof (obj));
- using var block_abortHandler = Trampolines.SDFuncArity1V3.CreateNullableBlock (abortHandler);
+ using var block_abortHandler = Trampolines.SDFuncArity1V4.CreateNullableBlock (abortHandler);
BlockLiteral *block_ptr_abortHandler = null;
if (abortHandler is not null)
block_ptr_abortHandler = &block_abortHandler;
@@ -1039,7 +1039,7 @@ namespace SceneKit {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]global::System.Func<bool>? abortHandler)
+ public unsafe virtual bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4))]global::System.Func<bool>? abortHandler)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
diff --git a/old/dotnet/ios/generated-sources/SceneKit/SCNView.g.cs b/new/dotnet/ios/generated-sources/SceneKit/SCNView.g.cs
index 9093660..556cd61 100644
--- a/old/dotnet/ios/generated-sources/SceneKit/SCNView.g.cs
+++ b/new/dotnet/ios/generated-sources/SceneKit/SCNView.g.cs
@@ -268,10 +268,10 @@ namespace SceneKit {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]global::System.Func<bool>? abortHandler)
+ public unsafe virtual bool Prepare (NSObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4))]global::System.Func<bool>? abortHandler)
{
var obj__handle__ = obj!.GetNonNullHandle (nameof (obj));
- using var block_abortHandler = Trampolines.SDFuncArity1V3.CreateNullableBlock (abortHandler);
+ using var block_abortHandler = Trampolines.SDFuncArity1V4.CreateNullableBlock (abortHandler);
BlockLiteral *block_ptr_abortHandler = null;
if (abortHandler is not null)
block_ptr_abortHandler = &block_abortHandler;
diff --git a/old/dotnet/ios/generated-sources/SupportDelegates.g.cs b/new/dotnet/ios/generated-sources/SupportDelegates.g.cs
index 98cacfe..b0d813c 100644
--- a/old/dotnet/ios/generated-sources/SupportDelegates.g.cs
+++ b/new/dotnet/ios/generated-sources/SupportDelegates.g.cs
@@ -213,6 +213,15 @@ namespace CoreSpotlight {
#nullable enable
public delegate void CSSearchableIndexFetchHandler (NSData clientState, NSError error);
}
+namespace CryptoTokenKit {
+ #nullable enable
+ [Experimental ("APL0001")]
+ public delegate void TKGetSlotCallback (CryptoTokenKit.TKSmartCardSlot? slot);
+ [Experimental ("APL0001")]
+ public delegate bool TKSmartCardExecuteCallback (out NSError? error);
+ [Experimental ("APL0001")]
+ public delegate void TKSmartCardSendCallback (NSData? replyData, UInt16 sq, NSError? error);
+}
namespace DeviceCheck {
#nullable enable
public delegate void DCDeviceGenerateTokenCompletionHandler (NSData? token, NSError? error);
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIActivityItemsConfiguration.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIActivityItemsConfiguration.g.cs
index d7d9124..232aaa9 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIActivityItemsConfiguration.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIActivityItemsConfiguration.g.cs
@@ -309,7 +309,7 @@ namespace UIKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual global::System.Func<UIActivity[]>? ApplicationActivitiesProvider {
- [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V4))]
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V5))]
[Export ("applicationActivitiesProvider", ArgumentSemantic.Retain)]
get {
#if ARCH_32
@@ -322,17 +322,17 @@ namespace UIKit {
} else {
ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("applicationActivitiesProvider"));
}
- return global::ObjCRuntime.Trampolines.NIDFuncArity1V4.Create (ret)!;
+ return global::ObjCRuntime.Trampolines.NIDFuncArity1V5.Create (ret)!;
#endif
}
- [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4))]
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V5))]
[Export ("setApplicationActivitiesProvider:", ArgumentSemantic.Retain)]
set {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
#else
global::UIKit.UIApplication.EnsureUIThread ();
- using var block_value = Trampolines.SDFuncArity1V4.CreateNullableBlock (value);
+ using var block_value = Trampolines.SDFuncArity1V5.CreateNullableBlock (value);
BlockLiteral *block_ptr_value = null;
if (value is not null)
block_ptr_value = &block_value;
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICalendarViewDecoration.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDecoration.g.cs
index 5225289..7b31694 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICalendarViewDecoration.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDecoration.g.cs
@@ -173,7 +173,7 @@ namespace UIKit {
}
[Export ("initWithCustomViewProvider:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe UICalendarViewDecoration ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V5))]global::System.Func<UIView> customViewProvider)
+ public unsafe UICalendarViewDecoration ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V6))]global::System.Func<UIView> customViewProvider)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -182,7 +182,7 @@ namespace UIKit {
global::UIKit.UIApplication.EnsureUIThread ();
if (customViewProvider is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (customViewProvider));
- using var block_customViewProvider = Trampolines.SDFuncArity1V5.CreateBlock (customViewProvider);
+ using var block_customViewProvider = Trampolines.SDFuncArity1V6.CreateBlock (customViewProvider);
BlockLiteral *block_ptr_customViewProvider = &block_customViewProvider;
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithCustomViewProvider:"), (IntPtr) block_ptr_customViewProvider), "initWithCustomViewProvider:");
@@ -230,7 +230,7 @@ namespace UIKit {
}
[Export ("decorationWithCustomViewProvider:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static UICalendarViewDecoration Create ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V5))]global::System.Func<UIView> customViewProvider)
+ public unsafe static UICalendarViewDecoration Create ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V6))]global::System.Func<UIView> customViewProvider)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -238,7 +238,7 @@ namespace UIKit {
global::UIKit.UIApplication.EnsureUIThread ();
if (customViewProvider is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (customViewProvider));
- using var block_customViewProvider = Trampolines.SDFuncArity1V5.CreateBlock (customViewProvider);
+ using var block_customViewProvider = Trampolines.SDFuncArity1V6.CreateBlock (customViewProvider);
BlockLiteral *block_ptr_customViewProvider = &block_customViewProvider;
return Runtime.GetNSObject<UICalendarViewDecoration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("decorationWithCustomViewProvider:"), (IntPtr) block_ptr_customViewProvider))!;
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDocumentProperties.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDocumentProperties.g.cs
index e46dac7..b2d700d 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIDocumentProperties.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDocumentProperties.g.cs
@@ -171,7 +171,7 @@ namespace UIKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual global::System.Func<UIActivityViewController>? ActivityViewControllerProvider {
- [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V6))]
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V7))]
[Export ("activityViewControllerProvider", ArgumentSemantic.Copy)]
get {
#if ARCH_32
@@ -184,17 +184,17 @@ namespace UIKit {
} else {
ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("activityViewControllerProvider"));
}
- return global::ObjCRuntime.Trampolines.NIDFuncArity1V6.Create (ret)!;
+ return global::ObjCRuntime.Trampolines.NIDFuncArity1V7.Create (ret)!;
#endif
}
- [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V6))]
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V7))]
[Export ("setActivityViewControllerProvider:", ArgumentSemantic.Copy)]
set {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
#else
global::UIKit.UIApplication.EnsureUIThread ();
- using var block_value = Trampolines.SDFuncArity1V6.CreateNullableBlock (value);
+ using var block_value = Trampolines.SDFuncArity1V7.CreateNullableBlock (value);
BlockLiteral *block_ptr_value = null;
if (value is not null)
block_ptr_value = &block_value;
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDragItem.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDragItem.g.cs
index d223aec..95817e9 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIDragItem.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDragItem.g.cs
@@ -183,7 +183,7 @@ namespace UIKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual global::System.Func<UIDragPreview>? PreviewProvider {
- [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V7))]
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V8))]
[Export ("previewProvider", ArgumentSemantic.Copy)]
get {
global::UIKit.UIApplication.EnsureUIThread ();
@@ -193,13 +193,13 @@ namespace UIKit {
} else {
ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("previewProvider"));
}
- return global::ObjCRuntime.Trampolines.NIDFuncArity1V7.Create (ret)!;
+ return global::ObjCRuntime.Trampolines.NIDFuncArity1V8.Create (ret)!;
}
- [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V7))]
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V8))]
[Export ("setPreviewProvider:", ArgumentSemantic.Copy)]
set {
global::UIKit.UIApplication.EnsureUIThread ();
- using var block_value = Trampolines.SDFuncArity1V7.CreateNullableBlock (value);
+ using var block_value = Trampolines.SDFuncArity1V8.CreateNullableBlock (value);
BlockLiteral *block_ptr_value = null;
if (value is not null)
block_ptr_value = &block_value;
diff --git a/old/dotnet/ios/generated-sources/UIKit/UITraitCollection.g.cs b/new/dotnet/ios/generated-sources/UIKit/UITraitCollection.g.cs
index 4560551..3e47ca1 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UITraitCollection.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UITraitCollection.g.cs
@@ -469,14 +469,14 @@ namespace UIKit {
[SupportedOSPlatform ("ios17.0")]
[SupportedOSPlatform ("maccatalyst17.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual UITraitCollection GetTraitCollectionByModifyingTraits ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V8))]global::System.Func<IUIMutableTraits> mutations)
+ public unsafe virtual UITraitCollection GetTraitCollectionByModifyingTraits ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V9))]global::System.Func<IUIMutableTraits> mutations)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
#else
if (mutations is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (mutations));
- using var block_mutations = Trampolines.SDFuncArity1V8.CreateBlock (mutations);
+ using var block_mutations = Trampolines.SDFuncArity1V9.CreateBlock (mutations);
BlockLiteral *block_ptr_mutations = &block_mutations;
if (IsDirectBinding) {
return Runtime.GetNSObject<UITraitCollection> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("traitCollectionByModifyingTraits:"), (IntPtr) block_ptr_mutations))!;
@@ -542,14 +542,14 @@ namespace UIKit {
[SupportedOSPlatform ("ios17.0")]
[SupportedOSPlatform ("maccatalyst17.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static UITraitCollection GetTraitCollectionWithTraits ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V8))]global::System.Func<IUIMutableTraits> mutations)
+ public unsafe static UITraitCollection GetTraitCollectionWithTraits ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V9))]global::System.Func<IUIMutableTraits> mutations)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
#else
if (mutations is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (mutations));
- using var block_mutations = Trampolines.SDFuncArity1V8.CreateBlock (mutations);
+ using var block_mutations = Trampolines.SDFuncArity1V9.CreateBlock (mutations);
BlockLiteral *block_ptr_mutations = &block_mutations;
return Runtime.GetNSObject<UITraitCollection> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("traitCollectionWithTraits:"), (IntPtr) block_ptr_mutations))!;
#endif
diff --git a/old/dotnet/ios/ref/Microsoft.iOS.xml b/new/dotnet/ios/ref/Microsoft.iOS.xml
index 2e9c4da..81e69f9 100644
--- a/old/dotnet/ios/ref/Microsoft.iOS.xml
+++ b/new/dotnet/ios/ref/Microsoft.iOS.xml
@@ -302804,6 +302804,2494 @@
</para>
</remarks>
</member>
+ <member name="P:CryptoTokenKit.TKBerTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKBerTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKCompactTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKCompactTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKErrorCodeExtensions">
+ <summary>Extension methods for the <see cref="T:CryptoTokenKit.TKErrorCode" /> enumeration.</summary>
+ <remarks>
+ <para>The extension method for the <see cref="T:CryptoTokenKit.TKErrorCode" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKErrorCodeExtensions.GetDomain(CryptoTokenKit.TKErrorCode)">
+ <summary>Returns the error domain associated with the CryptoTokenKit.TKErrorCode value</summary>
+ <param name="self">The enumeration value</param>
+ <remarks>
+ <para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSimpleTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSimpleTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCard" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardAtrInterfaceGroup" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardPinFormat" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardSlot" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlotManager.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardToken.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardToken" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardTokenDriver.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardTokenDriver" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardTokenSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardTokenSession" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteraction" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKSmartCardUserInteractionDelegate" /> interface to support all the methods from the TKSmartCardUserInteractionDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKSmartCardUserInteractionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKSmartCardUserInteractionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKToken.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKToken.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenAuthOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenAuthOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKTokenDelegate" /> interface to support all the methods from the TKTokenDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKTokenDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriver.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDriver" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDriverDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKTokenDriverDelegate" /> interface to support all the methods from the TKTokenDriverDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKTokenDriverDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDriverDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDriverDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyAlgorithm.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainCertificate.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenKeychainCertificate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainContents.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainItem.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainItem.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenKeychainKey" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment