Hi,
I create xml document, add Singature node, create signature and then
serialize document in such way:
--begin-
XMLCh tempStr[100];
XMLString::transcode("LS", tempStr, 99);
DOMImplementation *impl
=DOMImplementationRegistry::getD
do it for safety.)
theSerializer->setFeature(XMLUni::fgDOMWRTFormatPrettyPrint, false);
Hope that helps.
Cheers,
Berin
Andrzej Matejko wrote:
Hi,
I create xml document, add Singature node, create signature and then
serialize document in such way:
--begin
Hi,
Is it possible to create CounterSignature (signature over signature)
or multiple signatures (over the same node) with xml dsig library?
andrew
Hi,
I have discovered strange behavior of XSCryptCryptoBase64::encode
in VisualC++.net.
When I create xsec_1_0_0.dll in debug mode everything is ok
- encode works perfect, but when I have create release version
something strange happend. Encode starts to create wrong output!!
I have lost
Hi,
I have serious problem: when I sing and verify signature the hash
value is calculated not over whole node with data, but only for about
0x500 bytes. I can't discover what is wrong
The only things I found are:
- void TXFMSHA1::setInput(TXFMBase * inputT) (called by
DSIGReference::calc
uld be: http://uri.etsi.org/01903/v1.1.1#SignedProperties";
URI="#SignedProperties">.
And here is a question: why, during signing, there is only type
attribute in reference node? What am I doing wrong? Or is it a bug in
xsec?
andrzeJ Matejko
Hi,
The problem is very simple: when I create reference with type!=NULL in
reference node, there is created attribute "type". When I verify such
signature, DSIGReference::load throws exception, because its looking for
"Type", not "type". And here is the question: is a bug in XSEC, or am I
doing
Hi,
I've tried latest CVS. Problems with: type vs. Type and
createReference with type!=null are solved.
Thanks for help.
Andrew
-Original Message-
From: Berin Lautenbach [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 11:25 PM
To: [EMAIL PROTECTED]
Subject: Re: create
Hi,
Is it possible to create this kind of signature?
http://www.w3.org/2000/09/xmldsig#";>
.
I mean I have created my own schema (for XAdES implementation) and I
have to create document with this kind node (ds: inside node but not is
Signature)?
andrzeJ Matejko
Is there any method, function in xsec that checks if KeyValue and
X509Data (X509Certificate) are compatible? (I mean, which checks that
X509Data and KeyValue contains the same public key)?
Or is it better to check it by myself (extract key, compare modulus and
exponent)?
andrzeJ
mean: when signature is OK.,I would like to save this file
into user choosen directory and I would like not to download this file
once again).
Andrzej Matejko
Hi,
Is it possible to create detached digital siganture that has relative
reference? I mean, reference points to file in current directory.
In another way - something like that:
...
Instead of:
...
And during verification xsec will/should search current directory for
file that is
g that the problem is
in priviledges for keyset. Unfortunatelly I don't know how to change
them and unfortunately on all computers I was logged as administrator
:(((...
Can anybody tell me what have I done wrong?
Best,
Andrzej Matejko
Hi,
Recently, during xsec tests on w2k I have noticed that on some
workstations WinCAPICryptoProvider(provDSSName, provRSAName) fails on
second CryptAquireContext(if
(!CryptAcquireContext(&m_provRSA,NULL, provRSAName, PROV_RSA_AES,
CRYPT_VERIFYCONTEXT)) ). And the most straneg things is,
Hi,
Problem:
How to encode non-ascii characters in URI that is used in reference?
Description:
I create detached signature. Reference is pointing to some file on
disk. This file name contains nonascii characters.
According to w3c XML Base recommendation
(http://www.w3.org/TR/xmlbase/#escapin
Hi,
I'm looking for some examples of xades-t (I'm trying to understand how
to encode/put timestamp respons from TSA into XADES document). Is there
any free/evaluation software which produces XADES-T files?
looking for help,
Andrew
Hi,
Is it possible to add ID attribute to DSIGReference node(as defined in
http://www.w3.org/TR/xmldsig-core/#sec-Reference)?
best regards,
andrzeJ
Hello,
I've go signed xml file like:
...Reference
not(ancestor-or-self::ds:Signature)
when I try to validate it xsec fails on ds:Signature lookup (xalan is
unable to resolve XPath equation).
The question is: how to make xalan to resolve xpath with namespaces??
(xalan fails
Hello,
I've go signed xml file like:
...
not(ancestor-or-self::ds:Signature)
.
when I try to validate it xsec fails on ds:Xpath equation resolving. (xalan
fails with error that ds prefix is not declared).
The question is: how to make xalan to resolve xpath with namespa
19 matches
Mail list logo