Dela via


AsymmetricAlgorithmNames.EcdsaP256Sha256 Property

Definition

Retrieves a string that contains "ECDSA_P256_SHA256".

public:
 static property Platform::String ^ EcdsaP256Sha256 { Platform::String ^ get(); };
static winrt::hstring EcdsaP256Sha256();
public static string EcdsaP256Sha256 { get; }
var string = AsymmetricAlgorithmNames.ecdsaP256Sha256;
Public Shared ReadOnly Property EcdsaP256Sha256 As String

Property Value

String

Platform::String

winrt::hstring

String that contains "ECDSA_P256_SHA256".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an Elliptic Curve Digital Signature Algorithm (ECDSA) that uses a 256-bit public key and a Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the hash is 256 bits.

Note

You must specify a value of 256 when calling the CreateKeyPair method to create keys that are compatible with this algorithm.

Applies to

See also