C# Class EU.Europa.EC.Markt.Dss.Signature.Cades.CAdESService

CAdES implementation of DocumentSignatureService
Inheritance: DocumentSignatureService
ファイルを表示 Open project: nonorganic/dssnet

Public Methods

Method Description
AddASignatureToDocument ( Document _signedDocument, SignatureParameters parameters, byte signatureValue ) : Document

Add a signature to the already CMS signed data document.

Add a signature to the already CMS signed data document.

CAdESService ( ) : EU.Europa.EC.Markt.Dss.Validation

The default constructor for CAdESService.

The default constructor for CAdESService.

Digest ( Document document, SignatureParameters parameters ) : EU.Europa.EC.Markt.Dss.Digest
ExtendDocument ( Document document, Document originalDocument, SignatureParameters parameters ) : Document
SignDocument ( Document document, SignatureParameters parameters, byte signatureValue ) : Document

ToBeSigned ( Document document, SignatureParameters parameters ) : Stream

Private Methods

Method Description
CreateCMSSignedDataGenerator ( ISigner signer, SignatureParameters parameters, CAdESProfileBES cadesProfile, bool includeUnsignedAttributes, CmsSignedData originalSignedData ) : CmsSignedDataGenerator
GetExtensionProfile ( SignatureParameters parameters ) : CAdESSignatureExtension
GetSigningProfile ( SignatureParameters parameters ) : CAdESProfileBES

Because some information are stored in the profile, a profile is not Thread-safe.

Because some information are stored in the profile, a profile is not Thread-safe. The software must create one for each request.

Method Details

AddASignatureToDocument() public method

Add a signature to the already CMS signed data document.
Add a signature to the already CMS signed data document.
System.IO.IOException
public AddASignatureToDocument ( Document _signedDocument, SignatureParameters parameters, byte signatureValue ) : Document
_signedDocument Document
parameters SignatureParameters
signatureValue byte
return Document

CAdESService() public method

The default constructor for CAdESService.
The default constructor for CAdESService.
public CAdESService ( ) : EU.Europa.EC.Markt.Dss.Validation
return EU.Europa.EC.Markt.Dss.Validation

Digest() public method

public Digest ( Document document, SignatureParameters parameters ) : EU.Europa.EC.Markt.Dss.Digest
document Document
parameters SignatureParameters
return EU.Europa.EC.Markt.Dss.Digest

ExtendDocument() public method

public ExtendDocument ( Document document, Document originalDocument, SignatureParameters parameters ) : Document
document Document
originalDocument Document
parameters SignatureParameters
return Document

SignDocument() public method

public SignDocument ( Document document, SignatureParameters parameters, byte signatureValue ) : Document
document Document
parameters SignatureParameters
signatureValue byte
return Document

ToBeSigned() public method

public ToBeSigned ( Document document, SignatureParameters parameters ) : Stream
document Document
parameters SignatureParameters
return Stream