System.Security.Cryptography.ECDsa.ImportParameters C# (CSharp) Метод

ImportParameters() публичный Метод

When overridden in a derived class, imports the specified ECParameters.
public ImportParameters ( System.Security.Cryptography.ECParameters parameters ) : void
parameters System.Security.Cryptography.ECParameters The curve parameters.
Результат void
        public virtual void ImportParameters(ECParameters parameters)
        {
            throw new NotSupportedException(SR.NotSupported_SubclassOverride);
        }

Usage Example

Пример #1
0
        /// <summary>
        /// Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
        /// </summary>
        /// <param name="parameters">
        /// The <see cref="ECParameters"/> representing the elliptic curve parameters.
        /// </param>
        public static ECDsa Create(ECParameters parameters)
        {
            ECDsa ecdsa = Create();

            ecdsa.ImportParameters(parameters);
            return(ecdsa);
        }
All Usage Examples Of System.Security.Cryptography.ECDsa::ImportParameters