Skip to content

1.2.0: Allow generic gets on CryptographicKeyServiceProvider (OSK-11) (#12)

Choose a tag to compare

@BlankDev117 BlankDev117 released this 30 Mar 03:04
· 4 commits to main since this release
524efcf
* Allow generic gets on CryptographicKeyServiceProvider (OSK-11)

Motivation
----
There is a limitation on the ICryptographicKeyServiceProvider that prevents getting a key service without knowing the typed key information. This makes the method unusable in some use cases.

Modifications
----
* Updated dependency injection extensions to include a generic typed DI descriptor
* Updated the ICryptographicKeyServiceProvider/CryptographicKeyServiceProvider to allow sending in generic key information
* Added UnitTests

Result
----
It is no longer required to know typed information to get a key service, as long as a key service has been registered on the DI that can handle the key information being requested

* Project spacing

* Avoid polluting the interface abstractions with unnecessary methods

* Consistent modifier ordering