Class EncryptionPurpose
Defines the purposes of ciphertexts in Smartcrypt.
Inherited Members
Namespace: PKWARE.Smartcrypt.Protocol
Assembly: SmartcryptProtocol.dll
Syntax
public static class EncryptionPurpose
Methods
Is(Purpose, String)
Checks whether or not a ciphertext is compatible with this purpose.
Declaration
public static bool Is(Purpose type, [NotNull] string value)
Parameters
| Type | Name | Description |
|---|---|---|
| Purpose | type | The type of key to check. |
| String | value | The data to check for compatibility. |
Returns
| Type | Description |
|---|---|
| Boolean |
|