EldoS | Feel safer!

Software components for data protection, secure storage and transfer

XMLenc, CA name X509KeyData.IssuerRDNs[0].GetValuesByOID

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.
#13248
Posted: 05/10/2010 07:59:39
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Hello,

I have problem with decrypting XML if CA name contains comma ",".

X509KeyData.IssuerRDNs[0].GetValuesByOID(SB_CERT_OID_COMMON_NAME, (SL));

xml :
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" />
- <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
- <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" />
- <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
- <X509Data>
- <X509IssuerSerial>
<X509IssuerName>OU=I.CA - Provider of Certification Services, O="První certifikační autorita, a.s.", CN="I.CA - Standard Certification Authority, 09/2009", C=CZ</X509IssuerName>
<X509SerialNumber>1111111</X509SerialNumber>
</X509IssuerSerial>
</X509Data>

The stringlist should have :
"I.CA - Standard Certification Authority, 09/2009"

but there is only : "I.CA - Standard Certification Authority"


This is big problem for me, cause I can not find certificate in MY store
and then I can not decrypt the xml.

ver. : 7.2.0.166
XML blackbox, Delphi VCL

thank you,
slava jansta
#13249
Posted: 05/10/2010 09:11:19
by Dmytro Bogatskyy (EldoS Corp.)

Yes, for a quoted attribute value a comma "," shouldn't be escaped with a backslash "\". But a parser method do expect this.
The fix will be included into the next build.
Thank you for pointing this.
#13492
Posted: 05/28/2010 06:34:45
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Quote
Bogatskyy wrote:
Yes, for a quoted attribute value a comma "," shouldn't be escaped with a backslash "\". But a parser method do expect this.
The fix will be included into the next build.
Thank you for pointing this.


Hi, I have tested new version 8.0.176.0, everything is OK.

Thank you,
slava jansta

Reply

Statistics

Topic viewed 1061 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!