Windows Dev Center

AsymmetricAlgorithmNames.EcdsaP256Sha256 | ecdsaP256Sha256 property

Retrieves a string that contains "ECDSA_P256_SHA256".

Syntax


var ecdsaP256Sha256 = Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames.ecdsaP256Sha256;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

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.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.winmd

See also

AsymmetricAlgorithmNames
AsymmetricKeyAlgorithmProvider

 

 

Show:
© 2015 Microsoft