Use Bouncy Castle Provider implementation to do RSA for XMLSignature
Branch: master
Clone or download
Latest commit c0e20d3 Dec 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src add support for ecdsa-ripemd160 Sep 10, 2018
.gitignore redo initial commit Sep 7, 2018
README.md Update README.md Dec 11, 2018
pom.xml redo initial commit Sep 7, 2018

README.md

xml-sec

demo project for apache xmlsec and BouncyCastle Provider usage

dependencies

<dependency>
    <groupId>org.apache.santuario</groupId>
    <artifactId>xmlsec</artifactId>
    <version>2.0.8</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk15on</artifactId>
    <version>1.60</version>
</dependency>

use BouncyCastle to do RSA for XMLSignature, see BcSignatureAlgorithm

this is a SpringBoot Project, but it can be used as an dependency,

<dependency>
    <groupId>com.honey</groupId>
	<artifactId>xml-sec</artifactId>
	<version>0.0.1-SNAPSHOT</version>
    <exclusions>
        <exclusion>
            <groupId>org.springframework.boot</groupId>
            <artifactId>*</artifactId>
        </exclusion>
    </exclusions>
</dependency>