File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,11 @@ else if (key instanceof BCMLDSAPublicKey)
9393 }
9494 else
9595 {
96- throw new InvalidKeySpecException ("Unsupported key type: "
96+ throw new InvalidKeySpecException ("unsupported key type: "
9797 + key .getClass () + "." );
9898 }
9999
100- throw new InvalidKeySpecException ("Unknown key specification: "
100+ throw new InvalidKeySpecException ("unknown key specification: "
101101 + keySpec + "." );
102102 }
103103
@@ -109,7 +109,7 @@ public final Key engineTranslateKey(Key key)
109109 return key ;
110110 }
111111
112- throw new InvalidKeyException ("Unsupported key type" );
112+ throw new InvalidKeyException ("unsupported key type" );
113113 }
114114
115115 public PrivateKey engineGeneratePrivate (
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ else if (key instanceof BCMLKEMPublicKey)
9090 + key .getClass () + "." );
9191 }
9292
93- throw new InvalidKeySpecException ("Unknown key specification: "
93+ throw new InvalidKeySpecException ("unknown key specification: "
9494 + keySpec + "." );
9595 }
9696
@@ -102,7 +102,7 @@ public final Key engineTranslateKey(Key key)
102102 return key ;
103103 }
104104
105- throw new InvalidKeyException ("Unsupported key type" );
105+ throw new InvalidKeyException ("unsupported key type" );
106106 }
107107
108108 public PrivateKey engineGeneratePrivate (
You can’t perform that action at this time.
0 commit comments