On Fri, 13 Nov 2020 17:22:10 GMT, Weijun Wang <wei...@openjdk.org> wrote:

> This is a multi-commits PR that upgrades xmldsig to be equivalent to 
> Santuario 2.2.0.
> 
> The first step is an auto-import. The JDK implementation is removed first and 
> Santuario code are imported. Some unrelated files (Ex: encryption) are 
> removed, and package names are renamed to be internal. There are also some 
> bulk changes on company name, comment style, and white spaces.
> 
> Next steps are patches applied by JDK. Some are old patches before the last 
> import. Some are new.
> 
> Several tests need to be updated because of internal method signature changes.
> 
> The "Support RSA-PSS with parameters" commit introduces a new public API and 
> would need a CSR.
> 
> The last patch is one we just fixed several days ago.

The "Support RSA-PSS with parameters" commit is rewritten. Now a 
`PSSParameterSpec` object is encapsulated inside a `RSAPSSParameterSpec`.

Note: https://tools.ietf.org/html/rfc6931#section-2.3.9 define the algorithm 
name as RSASSA-PSS with URI fragment `#rsa-pss` (no SSA). So in comments I 
always use the long name but the `SignatureMethod` constant is named `RSA_PSS`. 
Hopefully this is fine.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1206

Reply via email to