- Initial commit
This commit is contained in:
24
Runtime/3rdParty/BouncyCastle/tls/crypto/impl/bc/BcX448Domain.cs
vendored
Normal file
24
Runtime/3rdParty/BouncyCastle/tls/crypto/impl/bc/BcX448Domain.cs
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
|
||||
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto.Impl.BC
|
||||
{
|
||||
public class BcX448Domain
|
||||
: TlsECDomain
|
||||
{
|
||||
protected readonly BcTlsCrypto m_crypto;
|
||||
|
||||
public BcX448Domain(BcTlsCrypto crypto)
|
||||
{
|
||||
this.m_crypto = crypto;
|
||||
}
|
||||
|
||||
public virtual TlsAgreement CreateECDH()
|
||||
{
|
||||
return new BcX448(m_crypto);
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user