AsymmetricAlgorithm.SignatureAlgorithm Property

 

When implemented in a derived class, gets the name of the signature algorithm. Otherwise, always throws a NotImplementedException.

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

Public Overridable ReadOnly Property SignatureAlgorithm As String

Property Value

Type: System.String

The name of the signature algorithm.

The following code example demonstrates how to override the SignatureAlgorithm property to return the name of the signature algorithm. This code example is part of a larger example provided for the AsymmetricAlgorithm class.

Public Overrides ReadOnly Property SignatureAlgorithm() As String
    Get
        Return "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
    End Get
End Property

.NET Framework
Available since 1.1
Windows Phone Silverlight
Available since 7.1
Return to top
Show: