SignatureDescription.DigestAlgorithm 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 digest algorithm for the signature description.

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

public string DigestAlgorithm { get; set; }

Property Value

Type: System.String

The digest algorithm for the signature description.

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

signatureDescription.DigestAlgorithm =
    "System.Security.Cryptography.SHA1CryptoServiceProvider";

.NET Framework
Available since 1.1
Return to top
Show: