Show / Hide Table of Contents

Class EncryptionPurpose

Defines the purposes of ciphertexts in Smartcrypt.

Inheritance
Object
EncryptionPurpose
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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

true if the value is compatible with this purpose, otherwise false.

See Also

SemanticEncryption
EncryptionTactic
Back to top Copyright © 2018 PKWARE, Inc.