Example #1
0
            public override void GenerateKey(ECCurve curve)
            {
                ThrowIfDisposed();
                _key.GenerateKey(curve);

                // Use ForceSet instead of the property setter to ensure that LegalKeySizes doesn't interfere
                // with the already loaded key.
                ForceSetKeySize(_key.KeySize);
            }
 public override void GenerateKey(ECCurve curve)
 {
     ThrowIfDisposed();
     KeySizeValue = _key.GenerateKey(curve);
 }