EldoS | Feel safer!

Software components for data protection, secure storage and transfer

XAdES-X-L

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#4792
Posted: 01/25/2008 11:50:12
by Nuno Guedes (Basic support level)
Joined: 08/13/2007
Posts: 87

hi,

i am implementing now XAdES-X-L signature.

i have to build CertificatesValues and RevocationValues.

CertificateValues will include all chain certificates (referenced by CompleteCertificateRefs). Exception to the certificates included in Key Info.

Both this properties have an element ElXMLEncapsulatedPKIData.
I supose i need to use the Add(TElXMLEncapsulatedPKIData APKIData) method.

For CertificateValues i have:

Code
TElXMLEncapsulatedPKIData pkiData = new ElXMLEncapsulatedPKIData(SBXMLAdES.Unit.XAdES_v1_3_2);
pkiData.Data = cert.CertificateBinary;
pkiData.Encoding = SBXMLAdES.Unit.xemDER;


it´s correct?

And about RevocationValues? How can i make the relation?
i get for each chain certificate the TElCertificateRevocationList.


thanks in advance


#4793
Posted: 01/26/2008 07:45:37
by Dmytro Bogatskyy (EldoS Corp.)

Quote
it´s correct?

Yes.
Quote
And about RevocationValues? How can i make the relation?
i get for each chain certificate the TElCertificateRevocationList.

In similar way.
Code
TElXMLEncapsulatedPKIData pkiData = new ElXMLEncapsulatedPKIData(SBXMLAdES.Unit.XAdES_v1_3_2);
byte[] buf;
crl.SaveToBuffer(buf);
if (buf.Length > 0)
{
pkiData.Data = buf;
...RevocationValues.CRLValues.Add(pkiData);
}

Reply

Statistics

Topic viewed 1414 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!