System.Security.Cryptography.ECCurve
namespace System.Security.Cryptography
{
public struct ECCurve
{
public enum ECCurveType
{
Characteristic2 = 4,
Implicit = 0,
Named = 5,
PrimeMontgomery = 3,
PrimeShortWeierstrass = 1,
PrimeTwistedEdwards = 2
}
public static class NamedCurves
{
public static ECCurve brainpoolP160r1 { get; }
public static ECCurve brainpoolP160t1 { get; }
public static ECCurve brainpoolP192r1 { get; }
public static ECCurve brainpoolP192t1 { get; }
public static ECCurve brainpoolP224r1 { get; }
public static ECCurve brainpoolP224t1 { get; }
public static ECCurve brainpoolP256r1 { get; }
public static ECCurve brainpoolP256t1 { get; }
public static ECCurve brainpoolP320r1 { get; }
public static ECCurve brainpoolP320t1 { get; }
public static ECCurve brainpoolP384r1 { get; }
public static ECCurve brainpoolP384t1 { get; }
public static ECCurve brainpoolP512r1 { get; }
public static ECCurve brainpoolP512t1 { get; }
public static ECCurve nistP256 { get; }
public static ECCurve nistP384 { get; }
public static ECCurve nistP521 { get; }
}
public byte[] A;
public byte[] B;
public byte[] Cofactor;
public ECCurveType CurveType;
public ECPoint G;
public HashAlgorithmName? Hash;
public byte[] Order;
public byte[] Polynomial;
public byte[] Prime;
public byte[] Seed;
public bool IsCharacteristic2 { get; }
public bool IsExplicit { get; }
public bool IsNamed { get; }
public bool IsPrime { get; }
public Oid Oid { get; }
public static ECCurve CreateFromFriendlyName(string oidFriendlyName);
public static ECCurve CreateFromOid(Oid curveOid);
public static ECCurve CreateFromValue(string oidValue);
public void Validate();
}
}