Show / Hide Table of Contents

Interface ISyncEncryptionService

Application service contract for synchronous encryption.

Namespace: Kephas.Cryptography
Assembly: Kephas.Core.dll
Syntax
public interface ISyncEncryptionService

Methods

| Improve this Doc View Source

Decrypt(Stream, Stream, IEncryptionContext)

Decrypts the input stream and writes the decrypted content into the output stream.

Declaration
void Decrypt(Stream input, Stream output, IEncryptionContext context = null)
Parameters
Type Name Description
System.IO.Stream input

The input stream.

System.IO.Stream output

The output stream.

IEncryptionContext context

The encryption context (optional).

| Improve this Doc View Source

Encrypt(Stream, Stream, IEncryptionContext)

Encrypts the input stream and writes the encrypted content into the output stream.

Declaration
void Encrypt(Stream input, Stream output, IEncryptionContext context = null)
Parameters
Type Name Description
System.IO.Stream input

The input stream.

System.IO.Stream output

The output stream.

IEncryptionContext context

The encryption context (optional).

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX