New package autofirma. Autofirma is an application developed by the Ministry of Finance and Public Administration of Spain to implement document signing for the spanish administration. OBS-URL: https://build.opensuse.org/request/show/1118879 OBS-URL: https://build.opensuse.org/package/show/Java:packages/autofirma?expand=0&rev=1
14 lines
1.1 KiB
Diff
14 lines
1.1 KiB
Diff
Index: autofirma-1.7.2/afirma-server-triphase-signer-core/src/main/java/es/gob/afirma/triphase/signer/xades/KeyHelperEcdsa.java
|
|
===================================================================
|
|
--- autofirma-1.7.2.orig/afirma-server-triphase-signer-core/src/main/java/es/gob/afirma/triphase/signer/xades/KeyHelperEcdsa.java
|
|
+++ autofirma-1.7.2/afirma-server-triphase-signer-core/src/main/java/es/gob/afirma/triphase/signer/xades/KeyHelperEcdsa.java
|
|
@@ -72,7 +72,7 @@ final class KeyHelperEcdsa implements Ke
|
|
if(publicKey instanceof java.security.interfaces.ECPublicKey){
|
|
final java.security.interfaces.ECPublicKey pk = (java.security.interfaces.ECPublicKey) publicKey;
|
|
final ECParameterSpec params = pk.getParams();
|
|
- return deriveCurveName(EC5Util.convertSpec(params, false));
|
|
+ return deriveCurveName(EC5Util.convertSpec(params));
|
|
}
|
|
else if(publicKey instanceof org.bouncycastle.jce.interfaces.ECPublicKey) {
|
|
final org.bouncycastle.jce.interfaces.ECPublicKey pk = (org.bouncycastle.jce.interfaces.ECPublicKey) publicKey;
|