Dela via


AsymmetricAlgorithmNames.RsaOaepSha256 Property

Definition

Retrieves a string that contains "RSA_OAEP_SHA256".

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

Property Value

String

Platform::String

winrt::hstring

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.

Applies to

See also