-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
unable to run with Smart Card Shell 3.18.61:
load("eID/eidsim.js");
due to error:
GPError: CMSGenerator (INVALID_TYPE/16) - "Passing a digestAlgorithmOID is deprecated. Please use a Java signing algorithm string (e.g. "SHA256withRSA") instead" in eID/eidsim.js#212
after changing:
gen.addSigner(dskey, dscert, new ByteString("id-sha256", OID), true);
to:
gen.addSigner(dskey, dscert, "SHA256withRSA", OID), true);
another error occurs:
GPError: CMSGenerator (INVALID_ARGUMENTS/0) - "cannot create signer: Supplied key (org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey) is not a RSAPrivateKey instance" in /eID/eidsim.js#212
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels