Comments (1)
If I have understood your problem correctly; that you would like to have <ds:Reference URI=""> instead of ds:Reference you can pass in the option force_uri when signing:
// Sign using SHA-256
$objDSig->addReference(
$doc,
XMLSecurityDSig::SHA256,
['http://www.w3.org/2000/09/xmldsig#enveloped-signature'],
['force_uri' => true] // <----- this causes $force_uri to be true, which in turn results in the attribute URI="" being added
);
from xmlseclibs.
Related Issues (20)
- Set URI attribute with a fixed value HOT 4
- X509IssuerName wrong oid 2.5.4.97
- Suggestion: a developer friendly, secure API HOT 4
- Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in C:\laragon\www\ft_bni_lkpd\config\app.php on line 83 HOT 3
- X509Certificate DUPLICATED
- can not verify signature from xmlseclibs with python signxml library - simplesaml compatibility issue
- Unsupported Signature HOT 4
- I have to digitally sign an XML document with the xmlseclibs library in Codeigniter4 HOT 2
- Signatures done with XMLSecurityDSig do not pass C# DOTNET validation
- Missing some docs on simply parsing and visualizing an XMLDSig
- Getting the "openssl_x509_read(): supplied parameter cannot be coerced into an X509 certificate! in nextcloud server SAML auth. HOT 9
- openssl_verify() failure with PHP 8.1 (works with 7.4) HOT 15
- How to use XMLSecEnc to implement data encryption? HOT 1
- There is an invalid signature error HOT 2
- Reference validation failed after (minor!) PHP update from 8.2.7 to 8.2.8 HOT 8
- I am getting the error : signature failed validation - installation details may have been altered
- Signature Validation Failed using Java HOT 1
- Use of RSA Algorithm without OAEP HOT 2
- Uncaught Error: Undefined constant "RobRichards\XMLSecLibs\OPENSSL_PKCS1_PADDING" // Library not detecting openssl extension HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmlseclibs.