ECParameters.Validate 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.
Validates the current object.
public:
void Validate();
public void Validate ();
member this.Validate : unit -> unit
Public Sub Validate ()
Exceptions
The key or curve parameters are not valid for the current curve type.
Remarks
The Validate method checks the integrity of the ECParameters structure, throwing a CryptographicException when it is not valid. The following are the requirements:
Q.X and Q.Y are required fields and must have the same length.
If the curve is an explicit curve, D is required and must have the same length as Curve.Order.
If the curve is a named curve, D is required and must have the same length as Q.X and Q.Y.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για