SignatureDescription.KeyAlgorithm Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the key algorithm for the signature description.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public string KeyAlgorithm { get; set; }

Property Value

Type: System.String

The key algorithm for the signature description.

The following code example demonstrates how to set the KeyAlgorithm property for RSA encryption. This code example is part of a larger example provided for the SignatureDescription class.

signatureDescription.KeyAlgorithm =
    "System.Security.Cryptography.RSACryptoServiceProvider";

.NET Framework
Available since 1.1
Return to top
Show: