Export (0) Print
Expand All

AsymmetricSignatureFormatter.CreateSignature Method (HashAlgorithm)

Creates the signature from the specified hash value.

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

public virtual byte[] CreateSignature(
	HashAlgorithm hash
)

Parameters

hash
Type: System.Security.Cryptography.HashAlgorithm
The hash algorithm to use to create the signature.

Return Value

Type: System.Byte[]
The signature for the specified hash value.

ExceptionCondition
ArgumentNullException

The hash parameter is null.

This method sets the hash algorithm to be used, then returns the signature of the input hash algorithm value.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft