59 ExportPolicy = CngExportPolicies.AllowPlaintextExport
77 ExportPolicy = CngExportPolicies.AllowPlaintextExport
100 global::Interop.NCrypt.ErrorCode hResult = (global::Interop.NCrypt.ErrorCode)ex.
HResult;
101 if ((curve.Value.
IsNamed && hResult == global::Interop.NCrypt.ErrorCode.NTE_INVALID_PARAMETER) || hResult == global::Interop.NCrypt.ErrorCode.NTE_NOT_SUPPORTED)
static byte[] GetBytes(bool value)
static string Cryptography_CurveNotSupported
static string Format(string resourceFormat, object p1)
static CngAlgorithm ECDsa
CngPropertyCollection Parameters
static CngKey Create(CngAlgorithm algorithm)
static CngProperty GetPropertyFromNamedCurve(ECCurve curve)
static CngKey Open(string keyName)
static unsafe byte[] GetPrimeCurveParameterBlob(ref ECCurve curve)
CngAlgorithmCore(string disposedName)
bool IsKeyGeneratedNamedCurve()
CngKey GetOrGenerateKey(int keySize, CngAlgorithm algorithm)
CngAlgorithm DefaultKeyType
readonly string _disposedName
CngKey GetOrGenerateKey(ECCurve? curve)
static CngKey Duplicate(CngKey key)