संपादित करें

इसके माध्यम से साझा किया गया


ECDiffieHellmanOpenSsl.ImportParameters(ECParameters) Method

Definition

Imports the specified parameters for an ECCurve object as a key into the current instance.

public:
 override void ImportParameters(System::Security::Cryptography::ECParameters parameters);
public override void ImportParameters (System.Security.Cryptography.ECParameters parameters);
override this.ImportParameters : System.Security.Cryptography.ECParameters -> unit
Public Overrides Sub ImportParameters (parameters As ECParameters)

Parameters

parameters
ECParameters

The curve's parameters to import.

Exceptions

parameters does not validate.

parameters references a curve that cannot be imported.

parameters references a curve that is not supported by this platform.

Remarks

The ImportParameters method replaces the existing key that this object is working with by creating a new CngKey object. If parameters contains only the Q field, then only a public key is imported. If parameters also contains D, then a full key pair is be imported. The parameter Curve value specifies the type of the curve to import.

Applies to