40 lines
980 B
C#
40 lines
980 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
using System.IO;
|
|
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
|
|
{
|
|
public class CmsAuthenticatedGenerator
|
|
: CmsEnvelopedGenerator
|
|
{
|
|
/**
|
|
* base constructor
|
|
*/
|
|
public CmsAuthenticatedGenerator()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* constructor allowing specific source of randomness
|
|
*
|
|
* @param rand instance of SecureRandom to use
|
|
*/
|
|
public CmsAuthenticatedGenerator(
|
|
SecureRandom rand)
|
|
: base(rand)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|