| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
- #pragma warning disable
- using System;
- using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
- using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
- namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
- {
- public class TlsSrpLoginParameters
- {
- protected readonly Srp6GroupParameters mGroup;
- protected readonly BigInteger mVerifier;
- protected readonly byte[] mSalt;
- public TlsSrpLoginParameters(Srp6GroupParameters group, BigInteger verifier, byte[] salt)
- {
- this.mGroup = group;
- this.mVerifier = verifier;
- this.mSalt = salt;
- }
- public virtual Srp6GroupParameters Group
- {
- get { return mGroup; }
- }
- public virtual byte[] Salt
- {
- get { return mSalt; }
- }
- public virtual BigInteger Verifier
- {
- get { return mVerifier; }
- }
- }
- }
- #pragma warning restore
- #endif
|