blob: c41db61223254ce8f6daef8252d95b4002a7328f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
using Org.BouncyCastle.Asn1.Cms;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Security;
namespace Org.BouncyCastle.Cms
{
interface RecipientInfoGenerator
{
/// <summary>
/// Generate a RecipientInfo object for the given key.
/// </summary>
/// <param name="contentEncryptionKey">
/// A <see cref="KeyParameter"/>
/// </param>
/// <param name="random">
/// A <see cref="SecureRandom"/>
/// </param>
/// <returns>
/// A <see cref="RecipientInfo"/>
/// </returns>
/// <exception cref="GeneralSecurityException"></exception>
RecipientInfo Generate(KeyParameter contentEncryptionKey, SecureRandom random);
}
}
|