Class ErrorSmartkey
Indicates that an error occurred while loading a Smartkey. Used in an observable stream to avoid breaking the stream.
Developers should already be coding to handle scenarios such as no decryption key, not being allowed to encrypt,
etc.
The Cause can be used to further investigate the error.
Inheritance
ErrorSmartkey
Assembly: SmartcryptKeyManagement.dll
Syntax
public sealed class ErrorSmartkey : ISmartkey
Constructors
Declaration
public ErrorSmartkey([NotNull] MetaClientException cause)
Parameters
Fields
Cause
The exception that caused this error.
Declaration
[PublicAPI]
[NotNull]
public readonly MetaClientException Cause
Field Value
Properties
CanDecrypt
Declaration
public bool CanDecrypt { get; }
Property Value
CanEncrypt
Declaration
public bool CanEncrypt { get; }
Property Value
CanManage
Declaration
public bool CanManage { get; }
Property Value
Features
Declaration
public IReadOnlyList<Feature> Features { get; }
Property Value
Key
Declaration
public byte[] Key { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Participants
Declaration
public IReadOnlyList<KnownUser> Participants { get; }
Property Value
Revision
Declaration
public int Revision { get; }
Property Value
Urn
Declaration
public string Urn { get; }
Property Value
Methods
GetKeyForDecryption(Int32)
Declaration
public byte[] GetKeyForDecryption(int revision)
Parameters
Type |
Name |
Description |
Int32 |
revision |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements