AsymmetricAlgorithmNames AsymmetricAlgorithmNames AsymmetricAlgorithmNames AsymmetricAlgorithmNames Class

Definition

Contains static properties that enable you to retrieve algorithm names that can be used in the OpenAlgorithm method of the AsymmetricKeyAlgorithmProvider class.

public : static class AsymmetricAlgorithmNamespublic static class AsymmetricAlgorithmNamesPublic Static Class AsymmetricAlgorithmNames// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

DsaSha1 DsaSha1 DsaSha1 DsaSha1

Retrieves a string that contains "DSA_SHA1".

public : static PlatForm::String DsaSha1 { get; }public static string DsaSha1 { get; }Public Static ReadOnly Property DsaSha1 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "DSA_SHA1".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents a Digital Signature Algorithm (DSA) that uses the Secure Hashing Algorithm 1 (SHA1) to hash the message contents before signing. The length of the hash is 160 bits.

DsaSha256 DsaSha256 DsaSha256 DsaSha256

Retrieves a string that contains "DSA_SHA256".

public : static PlatForm::String DsaSha256 { get; }public static string DsaSha256 { get; }Public Static ReadOnly Property DsaSha256 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "DSA_SHA256".

Remarks

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

EcdsaP256Sha256 EcdsaP256Sha256 EcdsaP256Sha256 EcdsaP256Sha256

Retrieves a string that contains "ECDSA_P256_SHA256".

public : static PlatForm::String EcdsaP256Sha256 { get; }public static string EcdsaP256Sha256 { get; }Public Static ReadOnly Property EcdsaP256Sha256 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

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.

EcdsaP384Sha384 EcdsaP384Sha384 EcdsaP384Sha384 EcdsaP384Sha384

Retrieves a string that contains "ECDSA_P384_SHA384".

public : static PlatForm::String EcdsaP384Sha384 { get; }public static string EcdsaP384Sha384 { get; }Public Static ReadOnly Property EcdsaP384Sha384 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "ECDSA_P384_SHA384".

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 384-bit public key and a Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the hash is 384 bits.

Note

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

EcdsaP521Sha512 EcdsaP521Sha512 EcdsaP521Sha512 EcdsaP521Sha512

Retrieves a string that contains "ECDSA_P521_SHA512".

public : static PlatForm::String EcdsaP521Sha512 { get; }public static string EcdsaP521Sha512 { get; }Public Static ReadOnly Property EcdsaP521Sha512 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "ECDSA_P521_SHA512".

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 512-bit public key and a Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the hash is 512 bits.

Note

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

EcdsaSha256 EcdsaSha256 EcdsaSha256 EcdsaSha256

Retrieves a string that contains "ECDSA_SHA256".

public : static PlatForm::String EcdsaSha256 { get; }public static string EcdsaSha256 { get; }Public Static ReadOnly Property EcdsaSha256 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "ECDSA_SHA256".

EcdsaSha384 EcdsaSha384 EcdsaSha384 EcdsaSha384

Retrieves a string that contains "ECDSA_SHA384".

public : static PlatForm::String EcdsaSha384 { get; }public static string EcdsaSha384 { get; }Public Static ReadOnly Property EcdsaSha384 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "ECDSA_SHA384".

EcdsaSha512 EcdsaSha512 EcdsaSha512 EcdsaSha512

Retrieves a string that contains "ECDSA_SHA512".

public : static PlatForm::String EcdsaSha512 { get; }public static string EcdsaSha512 { get; }Public Static ReadOnly Property EcdsaSha512 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "ECDSA_SHA512".

RsaOaepSha1 RsaOaepSha1 RsaOaepSha1 RsaOaepSha1

Retrieves a string that contains "RSA_OAEP_SHA1".

public : static PlatForm::String RsaOaepSha1 { get; }public static string RsaOaepSha1 { get; }Public Static ReadOnly Property RsaOaepSha1 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSA_OAEP_SHA1".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA algorithm that uses Optimal Asymmetric Encryption Padding (OAEP) to encode or pad the plaintext and a Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA1 hash is 160 bits.

RsaOaepSha256 RsaOaepSha256 RsaOaepSha256 RsaOaepSha256

Retrieves a string that contains "RSA_OAEP_SHA256".

public : static PlatForm::String RsaOaepSha256 { get; }public static string RsaOaepSha256 { get; }Public Static ReadOnly Property RsaOaepSha256 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSA_OAEP_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 RSA algorithm that uses Optimal Asymmetric Encryption Padding (OAEP) to encode or pad the plaintext and a Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 256 bits.

RsaOaepSha384 RsaOaepSha384 RsaOaepSha384 RsaOaepSha384

Retrieves a string that contains "RSA_OAEP_SHA384".

public : static PlatForm::String RsaOaepSha384 { get; }public static string RsaOaepSha384 { get; }Public Static ReadOnly Property RsaOaepSha384 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSA_OAEP_SHA384".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA algorithm that uses Optimal Asymmetric Encryption Padding (OAEP) to encode or pad the plaintext and a Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 384 bits.

RsaOaepSha512 RsaOaepSha512 RsaOaepSha512 RsaOaepSha512

Retrieves a string that contains "RSA_OAEP_SHA512".

public : static PlatForm::String RsaOaepSha512 { get; }public static string RsaOaepSha512 { get; }Public Static ReadOnly Property RsaOaepSha512 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSA_OAEP_SHA512".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA algorithm that uses Optimal Asymmetric Encryption Padding (OAEP) to encode or pad the plaintext and a Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 512 bits.

RsaPkcs1 RsaPkcs1 RsaPkcs1 RsaPkcs1

Retrieves a string that contains "RSA_PKCS1".

public : static PlatForm::String RsaPkcs1 { get; }public static string RsaPkcs1 { get; }Public Static ReadOnly Property RsaPkcs1 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSA_PKCS1".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA public key algorithm that uses PKCS1 to pad the plaintext. No hash algorithm is used.

RsaSignPkcs1Sha1 RsaSignPkcs1Sha1 RsaSignPkcs1Sha1 RsaSignPkcs1Sha1

Retrieves a string that contains "RSASIGN_PKCS1_SHA1".

public : static PlatForm::String RsaSignPkcs1Sha1 { get; }public static string RsaSignPkcs1Sha1 { get; }Public Static ReadOnly Property RsaSignPkcs1Sha1 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSASIGN_PKCS1_SHA1".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA signing algorithm that uses PKCS1 to pad the plaintext and the Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 160 bits.

RsaSignPkcs1Sha256 RsaSignPkcs1Sha256 RsaSignPkcs1Sha256 RsaSignPkcs1Sha256

Retrieves a string that contains "RSASIGN_PKCS1_SHA256".

public : static PlatForm::String RsaSignPkcs1Sha256 { get; }public static string RsaSignPkcs1Sha256 { get; }Public Static ReadOnly Property RsaSignPkcs1Sha256 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSASIGN_PKCS1_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 RSA signing algorithm that uses PKCS1 to pad the plaintext and the Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 256 bits.

RsaSignPkcs1Sha384 RsaSignPkcs1Sha384 RsaSignPkcs1Sha384 RsaSignPkcs1Sha384

Retrieves a string that contains "RSASIGN_PKCS1_SHA384".

public : static PlatForm::String RsaSignPkcs1Sha384 { get; }public static string RsaSignPkcs1Sha384 { get; }Public Static ReadOnly Property RsaSignPkcs1Sha384 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSASIGN_PKCS1_SHA384".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA signing algorithm that uses PKCS1 to pad the plaintext and the Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 384 bits.

RsaSignPkcs1Sha512 RsaSignPkcs1Sha512 RsaSignPkcs1Sha512 RsaSignPkcs1Sha512

Retrieves a string that contains "RSASIGN_PSS_SHA512".

public : static PlatForm::String RsaSignPkcs1Sha512 { get; }public static string RsaSignPkcs1Sha512 { get; }Public Static ReadOnly Property RsaSignPkcs1Sha512 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSASIGN_PSS_SHA512".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA signing algorithm that uses PKCS1 to pad the plaintext and the Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 512 bits.

RsaSignPssSha1 RsaSignPssSha1 RsaSignPssSha1 RsaSignPssSha1

Retrieves a string that contains "RSASIGN_PSS_SHA1".

public : static PlatForm::String RsaSignPssSha1 { get; }public static string RsaSignPssSha1 { get; }Public Static ReadOnly Property RsaSignPssSha1 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSASIGN_PSS_SHA1".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA signing algorithm that uses the Probabilistic Signature Scheme (PSS) to pad the plaintext and the Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 160 bits.

RsaSignPssSha256 RsaSignPssSha256 RsaSignPssSha256 RsaSignPssSha256

Retrieves a string that contains "RSASIGN_PSS_SHA256".

public : static PlatForm::String RsaSignPssSha256 { get; }public static string RsaSignPssSha256 { get; }Public Static ReadOnly Property RsaSignPssSha256 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSASIGN_PSS_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 RSA signing algorithm that uses the Probabilistic Signature Scheme (PSS) to pad the plaintext and the Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 256 bits.

RsaSignPssSha384 RsaSignPssSha384 RsaSignPssSha384 RsaSignPssSha384

Retrieves a string that contains "RSASIGN_PSS_SHA384".

public : static PlatForm::String RsaSignPssSha384 { get; }public static string RsaSignPssSha384 { get; }Public Static ReadOnly Property RsaSignPssSha384 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSASIGN_PSS_SHA384".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA signing algorithm that uses the Probabilistic Signature Scheme (PSS) to pad the plaintext and the Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 384 bits.

RsaSignPssSha512 RsaSignPssSha512 RsaSignPssSha512 RsaSignPssSha512

Retrieves a string that contains "RSASIGN_PSS_SHA512".

public : static PlatForm::String RsaSignPssSha512 { get; }public static string RsaSignPssSha512 { get; }Public Static ReadOnly Property RsaSignPssSha512 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "RSASIGN_PSS_SHA512".

Remarks

Use the string retrieved by this property to set the asymmetric algorithm name when you call the OpenAlgorithm method. The string represents an RSA signing algorithm that uses the Probabilistic Signature Scheme (PSS) to pad the plaintext and the Secure Hashing Algorithm (SHA) to hash the message contents before signing. The length of the SHA hash is 512 bits.