Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified factories #97

Merged
merged 5 commits into from
Jan 9, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove public setters for Pkcs11InteropFactories
  • Loading branch information
jariq committed Nov 9, 2018
commit e6091fc8a1798d93249c046a63122ae7c5f6bd30
1 change: 0 additions & 1 deletion src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI/IPkcs11.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public interface IPkcs11 : IDisposable
Pkcs11InteropFactories Factories
{
get;
set;
}

/// <summary>
Expand Down
1 change: 0 additions & 1 deletion src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI/ISession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public interface ISession : IDisposable
Pkcs11InteropFactories Factories
{
get;
set;
}

/// <summary>
Expand Down
1 change: 0 additions & 1 deletion src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI/ISlot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public interface ISlot
Pkcs11InteropFactories Factories
{
get;
set;
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI40/Pkcs11.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ public Pkcs11InteropFactories Factories

return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI40/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ public Pkcs11InteropFactories Factories

return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI40/Slot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ public Pkcs11InteropFactories Factories
{
return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI41/Pkcs11.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ public Pkcs11InteropFactories Factories

return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI41/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ public Pkcs11InteropFactories Factories

return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI41/Slot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ public Pkcs11InteropFactories Factories
{
return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI80/Pkcs11.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ public Pkcs11InteropFactories Factories

return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI80/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ public Pkcs11InteropFactories Factories

return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI80/Slot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ public Pkcs11InteropFactories Factories
{
return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI81/Pkcs11.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ public Pkcs11InteropFactories Factories

return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI81/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ public Pkcs11InteropFactories Factories

return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down
7 changes: 0 additions & 7 deletions src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI81/Slot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ public Pkcs11InteropFactories Factories
{
return _factories;
}
set
{
if (value == null)
throw new ArgumentNullException("Factories");

_factories = value;
}
}

/// <summary>
Expand Down