Sig.SignDigest Method (Byte[], String, String, SigAlgorithm, Sig.SigOptions, Sig.Encoding)
 Compute a signature value over a message digest value with extended options. 
Syntax
[C#]
public static string SignDigest(
	byte[] digest,
	string privateKeyFile,
	string password,
	SigAlgorithm sigAlg,
	Sig.SigOptions sigOpts,
	Sig.Encoding sigEncoding
)
[VB.NET]
Public Shared Function SignDigest ( _
	digest As Byte(), _
	privateKeyFile As String, _
	password As String, _
	sigAlg As SigAlgorithm, _
	sigOpts As Sig.SigOptions, _
	sigEncoding As Sig.Encoding _
) As String
Parameters
  - digest
- digest value in a byte array
- privateKeyFile
- Name of private key file             (or a string containing the key in PEM format, or an internal private key)
- password
- Password for the private key, if encrypted
- sigAlg
- Type: SigAlgorithm
 Signature algorithm to be used
- sigOpts
- Type: Sig.SigOptions
 Options for ECDSA and RSA-PSS signatures
- sigEncoding
- Type: Sig.Encoding
 Optional encodings for output
Return Value
The encoded signature, or an empty string on error
See Also
VB6/C equivalent: SIG_SignData
[Contents] [Index]