CryptoSys PKI Pro Manual

Cms.MakeSigDataFromString Method (String, String, String, String, Cms.Options)

Create a CMS object of type SignedData from an input string (RSASSA-PKCS1V1_5 only) [@deprecated].

Syntax

[C#]
[ObsoleteAttribute("Use Cms.MakeSigDataFromString(String,String,String,String,Cms.SigAlg,Cms.SigDataOptions) instead", 
	false)]
public static int MakeSigDataFromString(
	string outputFile,
	string inputData,
	string certList,
	string privateKey,
	Cms.Options options
)
[VB.NET]
<ObsoleteAttribute("Use Cms.MakeSigDataFromString(String,String,String,String,Cms.SigAlg,Cms.SigDataOptions) instead",  _
	False)> _
Public Shared Function MakeSigDataFromString ( _
	outputFile As String, _
	inputData As String, _
	certList As String, _
	privateKey As String, _
	options As Cms.Options _
) As Integer

Parameters

outputFile
name of output file to be created
inputData
string containing message data to be signed
certList
filename of the signer's certificate and (optionally) a list of other certificates to be included in the output, separated by semi-colons (;) Alternatively specify a single PKCS#7 certificate chain file (.p7c/.p7b) containing the signer's certificate.
privateKey
private key data for the sender
options
Type: Cms.Options
Option flags: set as zero for defaults.

Return Value

Zero if successful; otherwise it returns an error code

Remarks

RSASSA-PKCS1V1_5 only.

See Also

VB6/C equivalent: CMS_MakeSigDataFromString

[Contents] [Index]

[PREV: Cms.MakeSigDataFromSigValue Method (String, Byte, Byte, String, HashAlgorithm, Cms.SigDataOptions)...]   [Contents]   [Index]   
   [NEXT: Cms.MakeSigDataFromString Method (String, String, String, String, Cms.SigAlg, Cms.SigDataOptions)...]

Copyright © 2004-20 D.I. Management Services Pty Ltd. All rights reserved.