Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Security.​Cryptography.​AsymmetricSignatureFormatter

Assembly: System.Security.Cryptography

Inheritance: object → AsymmetricSignatureFormatter

Represents the base class from which all implementations of asymmetric signature formatters derive.

Methods

public byte[]
CreateSignature​(byte[] rgbHash)
rgbHash The data to be signed.
Returns The digital signature for the <paramref name="rgbHash" /> parameter.
When overridden in a derived class, creates the signature for the specified data.
public byte[]
CreateSignature​(HashAlgorithm hash)
hash The hash algorithm to use to create the signature.
Returns The signature for the specified hash value.
Creates the signature from the specified hash value.
public void
SetHashAlgorithm​(string strName)
strName The name of the hash algorithm to use for creating the signature.
When overridden in a derived class, sets the hash algorithm to use for creating the signature.
public void
SetKey​(AsymmetricAlgorithm key)
key The instance of the implementation of <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> to use to create the signature.
When overridden in a derived class, sets the asymmetric algorithm to use to create the signature.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object