Skip to content

SignData Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Crypto.dll

Overloads ​

NameDescription
string SignData(X509Certificate2 certificate, string input, HashProvider hash, bool allowInvalidTime = null)Sign data using the certificate's private key at the request hash type
string SignData(X509Certificate2 certificate, byte[] input, HashProvider hash, bool allowInvalidTime = null, RsaSignaturePadding? padding = null)Sign data using the certificate's private key at the request hash type

string SignData(X509Certificate2 certificate, byte[] input, HashProvider hash, bool allowInvalidTime = null, RsaSignaturePadding? padding = null) ​

csharp
string SignData(X509Certificate2 certificate, byte[] input, HashProvider hash, bool allowInvalidTime = null, RsaSignaturePadding? padding = null)

Sign data using the certificate's private key at the request hash type

string SignData(X509Certificate2 certificate, string input, HashProvider hash, bool allowInvalidTime = null) ​

csharp
string SignData(X509Certificate2 certificate, string input, HashProvider hash, bool allowInvalidTime = null)

Sign data using the certificate's private key at the request hash type