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