Show / Hide Table of Contents

Class MetaClientSemanticEncryption

Provides methods that perform key wrapping based on the encryption purpose and use in the Smartcrypt Protocol.

Inheritance
Object
MetaClientSemanticEncryption
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: PKWARE.Smartcrypt.MetaClient
Assembly: MetaClient.dll
Syntax
public static class MetaClientSemanticEncryption

Methods

DecryptGroupKey(IMetaClient, String)

Decrypts a GroupKey.

Declaration
[Pure]
[NotNull]
public static byte[] DecryptGroupKey(this IMetaClient metaClient, [NotNull] string data)
Parameters
Type Name Description
IMetaClient metaClient

The IMetaClient to use.

String data

The data to decrypt.

Returns
Type Description
Byte[]

The decrypted data.

Exceptions
Type Condition
MetaClientException

With Category of CategoryUpgrade if the data are newer than understood by this software. With Category of CategoryInternal if the data are in an invalid format.

DecryptHybrid(IMetaClient, String)

Decrypts a HybridEncryption ciphertext.

Declaration
[Pure]
[NotNull]
public static byte[] DecryptHybrid(this IMetaClient metaClient, [NotNull] string data)
Parameters
Type Name Description
IMetaClient metaClient

The IMetaClient to use.

String data

The data to decrypt.

Returns
Type Description
Byte[]

The decrypted data.

Exceptions
Type Condition
MetaClientException

With Category of CategoryUpgrade if the data are newer than understood by this software. With Category of CategoryInternal if the data are in an invalid format.

See Also

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