Interface ISmartkeys
Assembly: SmartcryptKeyManagement.dll
Syntax
public interface ISmartkeys
Methods
Create(SmartkeySpec)
Declaration
[NotNull]
IObservable<ISmartkey> Create([NotNull] SmartkeySpec spec)
Parameters
Returns
Exceptions
Deserialize(String)
Declaration
[NotNull]
IObservable<ISmartkey> Deserialize([NotNull] string serialized)
Parameters
Type |
Name |
Description |
String |
serialized |
|
Returns
Exceptions
ListAll()
Declaration
[NotNull]
IObservable<ISet<ISmartkey>> ListAll()
Returns
RequestAccess(String)
Declaration
void RequestAccess([NotNull] string serialized)
Parameters
Type |
Name |
Description |
String |
serialized |
|
Exceptions
Serialize(ISmartkey)
Declaration
[NotNull]
string Serialize([NotNull] ISmartkey smartkey)
Parameters
Returns
Type |
Description |
String |
The serialized Smartkey. This is safe to store in plaintext and with the data.
|
Exceptions
Type |
Condition |
MetaClientException |
If the provided key cannot be serialized. This may happen if given an
invalid key.
|
Update(ISmartkey, SmartkeySpec)
It is not possible to change whether or not a key is rotatable or its kind.
Declaration
[NotNull]
IObservable<ISmartkey> Update([NotNull] ISmartkey smartkey, [NotNull] SmartkeySpec spec)
Parameters
Returns
Exceptions