1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
- using System;
- using Org.BouncyCastle.Math;
- namespace Org.BouncyCastle.Crypto
- {
-
- public interface IDsa
- {
- string AlgorithmName { get; }
-
- void Init(bool forSigning, ICipherParameters parameters);
-
- BigInteger[] GenerateSignature(byte[] message);
-
- bool VerifySignature(byte[] message, BigInteger r, BigInteger s);
- }
- }
- #endif
|