SignatureDescription.CreateDeformatter Method (AsymmetricAlgorithm)


Creates an AsymmetricSignatureDeformatter instance with the specified key using the DeformatterAlgorithm property.

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

public virtual AsymmetricSignatureDeformatter CreateDeformatter(
	AsymmetricAlgorithm key

The following code example demonstrates how to use the CreateDeformatter method to create a DSA signature deformatter to verify the signature. This code example is part of a larger example provided for the SignatureDescription class.

SignatureDescription signatureDescription = 
    new SignatureDescription();
signatureDescription.DeformatterAlgorithm =

AsymmetricSignatureDeformatter asymmetricDeformatter =

.NET Framework
Available since 1.1
Return to top