methodiDLPublicKey.Validate
function Validate: Boolean;
Sanity-checks the public value: that W is assigned, is a non-trivial element of the group (for EC not the point at infinity; for finite-field groups not 1, the generator, or P-1), lies on the curve/in the group, and that the domain parameters themselves validate. Call it before trusting a public key decoded from an untrusted source (a peer certificate or wire message) to guard against invalid-curve attacks.