Dela via


AsymmetricAlgorithmNames.RsaOaepSha1 Property

Definition

Retrieves a string that contains "RSA_OAEP_SHA1".

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

Property Value

String

Platform::String

winrt::hstring

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.

Applies to

See also