Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

AsymmetricKeyAlgorithm.SignMessage Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)

SignMessage(Byte[])

Computes the signature for the specified message (using default parameters).

Declaration
public byte[] SignMessage(byte[] message)
Parameters
Type Name Description
Byte[] message

Message to be signed.

Returns
Type Description
Byte[]

Signature for the specified message.

Remarks

The private key must be available for this method to succeed.

SignMessage(Byte[], SignatureParameters)

Computes the signature for the specified message.

Declaration
public byte[] SignMessage(byte[] message, SignatureParameters parameters)
Parameters
Type Name Description
Byte[] message

Message to be signed.

SignatureParameters parameters

Signature parameters.

Returns
Type Description
Byte[]

Signature for the specified message.

Remarks

The private key must be available for this method to succeed.

In This Article
  • SignMessage(Byte[])
  • SignMessage(Byte[], SignatureParameters)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies