Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Security.Cryptography.ECCng Class Reference

Static Package Functions

static global::Interop.BCrypt.ECC_CURVE_ALG_ID_ENUM GetHashAlgorithmId (HashAlgorithmName? name)
 
static ? HashAlgorithmName GetHashAlgorithmName (global::Interop.BCrypt.ECC_CURVE_ALG_ID_ENUM hashId)
 
static bool IsECNamedCurve (string algorithm)
 
static string SpecialNistAlgorithmToCurveName (string algorithm, out string oidValue)
 
static unsafe byte[] GetNamedCurveBlob (ref ECParameters parameters, bool ecdh)
 
static unsafe byte[] GetPrimeCurveBlob (ref ECParameters parameters, bool ecdh)
 
static unsafe void ExportNamedCurveParameters (ref ECParameters ecParams, byte[] ecBlob, bool includePrivateParameters)
 
static unsafe void ExportPrimeCurveParameters (ref ECParameters ecParams, byte[] ecBlob, bool includePrivateParameters)
 
static unsafe byte[] GetPrimeCurveParameterBlob (ref ECCurve curve)
 
static SafeNCryptKeyHandle ImportKeyBlob (string blobType, ReadOnlySpan< byte > keyBlob, string curveName, SafeNCryptProviderHandle provider)
 
static string EcdsaCurveNameToAlgorithm (string algorithm)
 
static string EcdhCurveNameToAlgorithm (string algorithm)
 
static CngKey ImportKeyBlob (byte[] ecBlob, string curveName, bool includePrivateParameters)
 
static CngKey ImportFullKeyBlob (byte[] ecBlob, bool includePrivateParameters)
 
static byte[] ExportKeyBlob (CngKey key, bool includePrivateParameters)
 
static byte[] ExportFullKeyBlob (CngKey key, bool includePrivateParameters)
 
static byte[] ExportKeyBlob (CngKey key, bool includePrivateParameters, out CngKeyBlobFormat format, out string curveName)
 
static unsafe byte[] GetNamedCurveBlob (ref ECParameters parameters, bool ecdh)
 
static unsafe byte[] GetPrimeCurveBlob (ref ECParameters parameters, bool ecdh)
 
static unsafe void ExportNamedCurveParameters (ref ECParameters ecParams, byte[] ecBlob, bool includePrivateParameters)
 
static unsafe void ExportPrimeCurveParameters (ref ECParameters ecParams, byte[] ecBlob, bool includePrivateParameters)
 
static unsafe byte[] GetPrimeCurveParameterBlob (ref ECCurve curve)
 
static SafeNCryptKeyHandle ImportKeyBlob (string blobType, ReadOnlySpan< byte > keyBlob, string curveName, SafeNCryptProviderHandle provider)
 
static string EcdsaCurveNameToAlgorithm (string algorithm)
 
static string EcdhCurveNameToAlgorithm (string algorithm)
 
static global::Interop.BCrypt.ECC_CURVE_ALG_ID_ENUM GetHashAlgorithmId (HashAlgorithmName? name)
 
static ? HashAlgorithmName GetHashAlgorithmName (global::Interop.BCrypt.ECC_CURVE_ALG_ID_ENUM hashId)
 

Static Private Member Functions

static void CheckMagicValueOfKey (global::Interop.BCrypt.KeyBlobMagicNumber magic, bool includePrivateParameters)
 
static bool IsMagicValueOfKeyPrivate (global::Interop.BCrypt.KeyBlobMagicNumber magic)
 
static bool IsMagicValueOfKeyPublic (global::Interop.BCrypt.KeyBlobMagicNumber magic)
 
static global::Interop.BCrypt.KeyBlobMagicNumber EcdsaCurveNameToMagicNumber (string name, bool includePrivateParameters)
 
static global::Interop.BCrypt.KeyBlobMagicNumber EcdhCurveNameToMagicNumber (string name, bool includePrivateParameters)
 
static global::Interop.BCrypt.ECC_CURVE_TYPE_ENUM ConvertToCurveTypeEnum (ECCurve.ECCurveType value)
 
static ECCurve.ECCurveType ConvertToCurveTypeEnum (global::Interop.BCrypt.ECC_CURVE_TYPE_ENUM value)
 
static unsafe void FixupGenericBlob (byte[] blob)
 
static void CheckMagicValueOfKey (global::Interop.BCrypt.KeyBlobMagicNumber magic, bool includePrivateParameters)
 
static bool IsMagicValueOfKeyPrivate (global::Interop.BCrypt.KeyBlobMagicNumber magic)
 
static bool IsMagicValueOfKeyPublic (global::Interop.BCrypt.KeyBlobMagicNumber magic)
 
static global::Interop.BCrypt.KeyBlobMagicNumber EcdsaCurveNameToMagicNumber (string name, bool includePrivateParameters)
 
static global::Interop.BCrypt.KeyBlobMagicNumber EcdhCurveNameToMagicNumber (string name, bool includePrivateParameters)
 
static global::Interop.BCrypt.ECC_CURVE_TYPE_ENUM ConvertToCurveTypeEnum (ECCurve.ECCurveType value)
 
static ECCurve.ECCurveType ConvertToCurveTypeEnum (global::Interop.BCrypt.ECC_CURVE_TYPE_ENUM value)
 

Detailed Description

Definition at line 7 of file ECCng.cs.


The documentation for this class was generated from the following files: