Questions tagged [xmlsec]
112 questions
1
vote
3 answers
XML Signature of SOAP Body
I'm implementing a client for a WS which requires soap:body to be signed. The application is written in Go so I would prefer to avoid linking to C.
The biggest issue is: how to calculate SHA256? What should be the input of digest algorithm? I assume…

chatoooo
- 326
- 1
- 3
- 13
1
vote
2 answers
Websphere 8.5: Can't find classes even those classes are in lib folder
I'm using spring/wss4j for web service security in websphere 8.5. Wss4j requires xmlsec.jar and I've included xmlsec.jar under WEB-INF/lib/xmlsec-2.0.4.jar. But websphere classloader can't find DOMXMLSignatureFactory.
Caused by:…

Trung Pham
- 125
- 7
1
vote
1 answer
How to verify an XML digital signature in Cocoa?
I have a C# application that uses XML digital signatures to sign license files. I've used the standard Microsoft approach described here.
I'm porting the application to the MAC and need to verify the signature. My general question is how best to…

Geoff
- 41
- 6
1
vote
1 answer
xmlsec library - obtain subject of signing key
I am using the xmlsec library to verify the signature of an SAML assertion. My code is almost identical to the verify4.c example provided on the xmlsec web page.
I am linking against the xmlsec-openssl lib, so using openssl as the crypto engine.
I…

harmic
- 28,606
- 5
- 67
- 91
1
vote
2 answers
java.lang.NoSuchMethodError: org.apache.xml.security.encryption.XMLCipher.martial(Document;ReferenceList;)
I m trying to encrypt my XMl with this call:
XMlCipher.martial(Document context,ReferenceList referenceList)
for this the Project is referencing the xmlsec-1.5.3.jar
I'm able to build and deploy the code successfully on weblogic server , but post…

anand kale
- 11
- 2
1
vote
1 answer
Loading a RSA private key from memory using libxmlsec
I'm currently using libxmlsec into my C++ software and I try to load a RSA private key from memory. To do this, I searched trough the API and found this function.
It takes binary data, a size, a format string and several PEM-callback related…

ereOn
- 53,676
- 39
- 161
- 238
1
vote
1 answer
Need to know which gcc switches I miss to compile a C script
I try to validate a x509 signature from a c script, but I can't figure out what I miss to compile it successfully.
I use Ubuntu 13.10, xmlsec1 1.2.18 (openssl), libxml2 2.9.1.
What I tried :
gcc -I/usr/include/xmlsec1 -I/usr/include/libxml2 -o…

MevatlaveKraspek
- 2,246
- 3
- 20
- 23
1
vote
1 answer
add xpath transformation to root document
In xades4j, in case of multiple enveloping signature i will have my signed document with, at the end, more Signature elements, but i need to tell to each reference to signed document (URI="") that he must not refers to other Signature element that…

Michele Bortolato
- 707
- 2
- 11
- 27
1
vote
1 answer
Multiple XADES signature / get original document
I want to ask if exsist a way in xades4j to made multiple signature.
For multiple signature i mean not countersignature, but a double independent sign to the same document, the resulting signature will have 2 or more signature object. In pratice a…

Michele Bortolato
- 707
- 2
- 11
- 27
0
votes
1 answer
xmlsec not installing on mac
I'm trying to use pysaml2 to integrate AWS's SSO into my flask application, pysaml2 requires xmlsec, but I'm having trouble installing it.
Here the error im getting:
pip install xmlsec
Collecting xmlsec
Using cached xmlsec-1.3.13.tar.gz (64 kB)
…

Kareem
- 13
- 4
0
votes
0 answers
How to install python xmlsec on Mac M1 Max arm64?
I'm trying to install my django project requirements.txt but got this error:
Building wheel for xmlsec (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for xmlsec (pyproject.toml) did not run successfully.
│…

Alberto Sanmartin Martinez
- 970
- 13
- 37
0
votes
0 answers
Finding a solution to 'ERROR: Could not build wheels for xmlsec' in Serverless deployment of Flask app on AWS Lambda using Python
Failed building wheel for xmlsec - Windows.
I am trying to deploy my Flask application on Serverless and when I deploy using Serverless, it faced the
ERROR: Could not build wheels for xmlsec, which is required to install
pyproject.toml-based…

aik leong
- 1
- 1
0
votes
0 answers
Heroku Build Error: Unable to load xmlsec-openssl library
I was in the process of trying to update my team's app from heroku-18 stack to heroku-22. Due to the Python version that supports heroku-22, I had to update to Python 3.9.16 too and as well as one of the Python build-packs for Django SAML2…

Pantheon
- 1
0
votes
0 answers
How to sign soap message in Python and generate wss security header?
I would like to sign below soap message in python....and resultant message should have security headers as mentioned later.How can I achieve this?

Redhat
- 41
- 3
0
votes
0 answers
Xmlsec - key is not found [ECDSA, DSA]
I am trying to sign an XML, I can successfully do this with RSA, but can't seem to sign it with ECDSA or DSA. For this example, I am trying ECDSA. Any help will be appreciated.
The error I am…

Overklog
- 109
- 3
- 10