blob: 22c769d82b49d85736f2531ff4931bef2d42fc94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using System;
using System.IO;
namespace Org.BouncyCastle.Crypto.Tls
{
public interface TlsCipher
{
/// <exception cref="IOException"></exception>
byte[] EncodePlaintext(ContentType type, byte[] plaintext, int offset, int len);
/// <exception cref="IOException"></exception>
byte[] DecodeCiphertext(ContentType type, byte[] ciphertext, int offset, int len);
}
}
|