add all
This commit is contained in:
30
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/cms/RecipientInfoGenerator.cs
vendored
Normal file
30
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/cms/RecipientInfoGenerator.cs
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Security;
|
||||
|
||||
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Cms
|
||||
{
|
||||
public 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);
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user