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

Base class for extending a CAdESSignature.
Base class for extending a CAdESSignature.
Inheritance: SignatureExtension
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Protected Properties

Свойство Type Description
signatureTsa ITspSource

Méthodes publiques

Méthode Description
ExtendCMSSignedData ( CmsSignedData signedData, Document originalData, SignatureParameters parameters ) : CmsSignedData
ExtendSignature ( object signatureId, Document document, Document originalData, SignatureParameters parameters ) : Document
ExtendSignatures ( Document document, Document originalData, SignatureParameters parameters ) : Document
GetSignatureTsa ( ) : ITspSource
SetSignatureTsa ( ITspSource signatureTsa ) : void

Méthodes protégées

Méthode Description
ExtendCMSSignature ( CmsSignedData signedData, SignerInformation si, SignatureParameters parameters, Document originalData ) : SignerInformation
GetTimeStampAttribute ( DerObjectIdentifier oid, ITspSource tsa, AlgorithmIdentifier digestAlgorithm, byte messageImprint ) : Attribute

Computes an attribute containing a time-stamp token of the provided data, from the provided TSA using the provided.

Computes an attribute containing a time-stamp token of the provided data, from the provided TSA using the provided. The hashing is performed by the method using the specified algorithm and a BouncyCastle provider.

Method Details

ExtendCMSSignature() protected abstract méthode

protected abstract ExtendCMSSignature ( CmsSignedData signedData, SignerInformation si, SignatureParameters parameters, Document originalData ) : SignerInformation
signedData Org.BouncyCastle.Cms.CmsSignedData
si Org.BouncyCastle.Cms.SignerInformation
parameters EU.Europa.EC.Markt.Dss.Signature.SignatureParameters
originalData Document
Résultat Org.BouncyCastle.Cms.SignerInformation

ExtendCMSSignedData() public méthode

public ExtendCMSSignedData ( CmsSignedData signedData, Document originalData, SignatureParameters parameters ) : CmsSignedData
signedData Org.BouncyCastle.Cms.CmsSignedData
originalData Document
parameters EU.Europa.EC.Markt.Dss.Signature.SignatureParameters
Résultat Org.BouncyCastle.Cms.CmsSignedData

ExtendSignature() public méthode

public ExtendSignature ( object signatureId, Document document, Document originalData, SignatureParameters parameters ) : Document
signatureId object
document Document
originalData Document
parameters EU.Europa.EC.Markt.Dss.Signature.SignatureParameters
Résultat Document

ExtendSignatures() public méthode

public ExtendSignatures ( Document document, Document originalData, SignatureParameters parameters ) : Document
document Document
originalData Document
parameters EU.Europa.EC.Markt.Dss.Signature.SignatureParameters
Résultat Document

GetSignatureTsa() public méthode

public GetSignatureTsa ( ) : ITspSource
Résultat ITspSource

GetTimeStampAttribute() protected méthode

Computes an attribute containing a time-stamp token of the provided data, from the provided TSA using the provided.
Computes an attribute containing a time-stamp token of the provided data, from the provided TSA using the provided. The hashing is performed by the method using the specified algorithm and a BouncyCastle provider.
System.Exception
protected GetTimeStampAttribute ( DerObjectIdentifier oid, ITspSource tsa, AlgorithmIdentifier digestAlgorithm, byte messageImprint ) : Attribute
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
tsa ITspSource
digestAlgorithm Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
messageImprint byte
Résultat Org.BouncyCastle.Asn1.Cms.Attribute

SetSignatureTsa() public méthode

public SetSignatureTsa ( ITspSource signatureTsa ) : void
signatureTsa ITspSource the signatureTsa to set
Résultat void

Property Details

signatureTsa protected_oe property

protected ITspSource signatureTsa
Résultat ITspSource