C# Class NServiceBus.Core.Tests.Encryption.FakeEncryptionService

Inheritance: IEncryptionService
ファイルを表示 Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
Decrypt ( EncryptedValue encryptedValue, IIncomingLogicalMessageContext context ) : string
Encrypt ( string value, IOutgoingLogicalMessageContext context ) : EncryptedValue
FakeEncryptionService ( EncryptedValue hardcodedValue ) : System

Method Details

Decrypt() public method

public Decrypt ( EncryptedValue encryptedValue, IIncomingLogicalMessageContext context ) : string
encryptedValue EncryptedValue
context IIncomingLogicalMessageContext
return string

Encrypt() public method

public Encrypt ( string value, IOutgoingLogicalMessageContext context ) : EncryptedValue
value string
context IOutgoingLogicalMessageContext
return EncryptedValue

FakeEncryptionService() public method

public FakeEncryptionService ( EncryptedValue hardcodedValue ) : System
hardcodedValue EncryptedValue
return System