ECDsaCng.ImportParameters(ECParameters) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Replaces the existing key that the current instance is working with by creating a new CngKey for the parameters structure.
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 parameters.
Exceptions
parameters
does not contain valid values.
parameters
references a curve that cannot be imported.
parameters
references a curve that is not supported by this platform.
Remarks
If parameters
contains only Q, only a public key is imported. If parameters
also contains D, a full key pair is imported. The Curve field specifies the type of the curve to import.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om