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

Certificate.SignMessage Method

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

SignMessage(Byte[])

Computes the signature for the specified message by encrypting it with the private key.

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

The message to be signed.

Returns
Type Description
Byte[]

The signature for the specified message.

Remarks

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

SignMessage(Byte[], SignatureParameters)

Computes the signature for the specified message by encrypting it with the private key.

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

The message to be signed.

SignatureParameters parameters

Signature parameters.

Returns
Type Description
Byte[]

The signature for the specified message.

Remarks

The private key for a certificate 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