예제 #1
0
 private void InitStaticDSA()
 {
     this.staticDsaClientSigner = new ECDSAWrapper(1, true, StaticClientPrivateKey);
     this.staticDsaServerChecker = new ECDSAWrapper(1, false, StaticServerPublicKey);
 }
예제 #2
0
        private static ECDSAWrapper serverSigner; // signs with staticServerPrivKey

        #endregion Fields

        #region Constructors

        static Utils()
        {
            serverSigner = new ECDSAWrapper(1, true, StaticServerPrivKey);
            clientVerifier = new ECDSAWrapper(1, false, StaticClientPubKey);
        }