Csharp Com Library for Digital Signature (xml,pdf) parameters must accept Memorystream and Bytearray

Evaluando propuestas

Publicado: Hace 7 meses Plazo: No definido Propuestas: 2 Freelancers interesados: 3

Abierto

Descripción:

C# Com Interop Library for digitally sig xml and pdf

1) Digital signature mus be performed using USB Token PKCS11 ( Windows Certificate Store )
2) Must accept data as Memorystream/IStream, Byte Array/byte[], also need extra function load, sign and save file on disk
3) PDF must be signed with iTextSharp
4) XML must be signed using transformation c14n
5) COM functions will be consumed;compatible with Delphi/Pascal
6) Certificate must be validated before sign ( Revogated must be rejected, Self Signed must be allowed only if requested on parameter )

I have working sample code to sign xml, also pdf, but does not provide code for use with MemoryStream/IStream or Byte array/byte[] parameters, only loadfromfile/save to file, "poor quality code, amateur programer"

Function Sugestions:

int SignPdfStream( bool AllowSelfSigned, String CertificateSerial, IStream PdfData, int PdfSize, out IStream PdfSignedData, out int PdfSignedSize )

int SignPdfBytes( bool AllowSelfSigned, String CertificateSerial, byte[] PdfData, int PdfSize, out byte[] PdfSignedData, out int PdfSignedSize )

int SignPdfFile( bool AllowSelfSigned, String CertificateSerial, String InputFilename, String OutputFilename )

int SignXmlStream( bool AllowSelfSigned, String CertificateSerial, IStream XmlData, int XmlSize, out IStream XmlSignedData, out int XmlSignedSize )

int SignXmlBytes( bool AllowSelfSigned, String CertificateSerial, byte[] XmlData, int XmlSize, out byte[] XmlSignedData, out int XmlSignedSize )

int SignXmlString( bool AllowSelfSigned, String CertificateSerial, String XmlData, out String XmlSignedData )

int SignXmlFile( bool AllowSelfSigned, String CertificateSerial, String UnsignedFilename, String SignedFilename )

all functions need return an integer enum like, signSucessfull(0), signCertificateRevogated(1), signCertificateExpired(2), signCertificateNotFound(3) and other errors.

i can accept new ideas about functions that can improve code and performace.

Source code must be provided for build with Visual Studio 2013 or 2015

Source code must handle exceptions

Categoria: IT & Programação
Subcategoria: Outros
Tamanho do projeto: Pequeño
Isso é um projeto ou uma posição de trabalho?: Um projeto
Tenho, atualmente: Eu tenho especificações
Experiência nesse tipo de projeto: Sim (Eu já gerenciei esse tipo de projeto)
Disponibilidade requerida: Conforme necessário
Integrações de API: Outros (Outras APIs)

Freelancers que ya aplicaron para este trabajo

Jorge L. P. G. Soy desarrollador de software con mas de cinco años de experiencia. Cuento con una solida experiencia en SQL Server y su administración, Desarrollar aplicaciones en C#, ASP.Net MVC. Ademas he laborado con empresas de... + detalles

best c. I am android and windows software developer with 4+ years of experience and have done 50+ apps till now and 10 big web projects. I can also do work like make pdf non downloadable in web and phone , webapi security, as... + detalles

Crea tu propio proyecto

¿Buscas un freelancer para realizar un proyecto similar? Crea tu propio proyecto y recibirás ofertas de los mejores freelancers.