You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
980 B
40 lines
980 B
8 months ago
|
#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
|