Skip to content

Commit

Permalink
first use of "_" where should have been "-" in name
Browse files Browse the repository at this point in the history
  • Loading branch information
dghgit committed Oct 4, 2024
1 parent 7e1df80 commit 40100d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file modified providers/bc/artifacts_certs_r4.zip
Binary file not shown.
10 changes: 5 additions & 5 deletions providers/bc/src/main/java/R4ArtifactGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ private static PKIXPair createKEMEEcertificate(String kemAlgName, ASN1ObjectIden
KeyPair eeKp = kpGen.generateKeyPair();
X509Certificate eeCert = createEECertificate(sigAlgName, taPair, kemAlgName, eeKp);

derOutput(aDir, kemAlgName + "_" + kemAlg + "_ee.der", eeCert);
derOutput(aDir, kemAlgName + "-" + kemAlg + "_ee.der", eeCert);
// pemOutput(aDir, kemAlg + "_ee.pem", eeCert);

return new PKIXPair(eeKp.getPrivate(), eeCert);
Expand All @@ -441,8 +441,8 @@ private static PKIXPair createExternalEEcertificate(String kemAlgName, ASN1Objec
KeyPair eeKp = kpGen.generateKeyPair();
X509Certificate eeCert = createEECertificate(sigAlgName, taPair, kemAlgName, eeKp);

derOutput(aDir, "external_" + kemAlgName + "_" + kemAlg + "_ee.der", eeCert);
derOutput(aDir, "external_" + kemAlgName + "_" + kemAlg + "_public.der", eeKp.getPublic());
derOutput(aDir, "external_" + kemAlgName + "-" + kemAlg + "_ee.der", eeCert);
derOutput(aDir, "external_" + kemAlgName + "-" + kemAlg + "_public.der", eeKp.getPublic());
// pemOutput(aDir, kemAlg + "_ee.pem", eeCert);

return new PKIXPair(eeKp.getPrivate(), eeCert);
Expand Down Expand Up @@ -470,7 +470,7 @@ public static void main(String[] args)

X509Certificate taCert = createTACertificate(sigAlgNames[alg], taKp);

derOutput(aDir, sigAlgNames[alg] + "_" + sigAlgorithms[alg] + "_ta.der", taCert);
derOutput(aDir, sigAlgNames[alg] + "-" + sigAlgorithms[alg] + "_ta.der", taCert);
// pemOutput(aDir, sigAlgorithms[alg] + "_ta.pem", taCert);

sigParams.put(sigAlgNames[alg], new PKIXPair(taKp.getPrivate(), taCert));
Expand All @@ -489,7 +489,7 @@ public static void main(String[] args)

X509Certificate eeCert = createEECertificate(sigAlgNames[alg], taPair, kemAlgNames[alg], eeKp);

derOutput(aDir, kemAlgNames[alg] + "_" + kemAlgorithms[alg] + "_ee.der", eeCert);
derOutput(aDir, kemAlgNames[alg] + "-" + kemAlgorithms[alg] + "_ee.der", eeCert);
//pemOutput(aDir, kemAlgorithms[alg] + "_ee.pem", eeCert);

kemParams.put(kemAlgNames[alg], new PKIXPair(eeKp.getPrivate(), eeCert));
Expand Down

0 comments on commit 40100d6

Please # to comment.