File tree 2 files changed +5
-5
lines changed
prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric
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)
93
93
}
94
94
else
95
95
{
96
- throw new InvalidKeySpecException ("Unsupported key type: "
96
+ throw new InvalidKeySpecException ("unsupported key type: "
97
97
+ key .getClass () + "." );
98
98
}
99
99
100
- throw new InvalidKeySpecException ("Unknown key specification: "
100
+ throw new InvalidKeySpecException ("unknown key specification: "
101
101
+ keySpec + "." );
102
102
}
103
103
@@ -109,7 +109,7 @@ public final Key engineTranslateKey(Key key)
109
109
return key ;
110
110
}
111
111
112
- throw new InvalidKeyException ("Unsupported key type" );
112
+ throw new InvalidKeyException ("unsupported key type" );
113
113
}
114
114
115
115
public PrivateKey engineGeneratePrivate (
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ else if (key instanceof BCMLKEMPublicKey)
90
90
+ key .getClass () + "." );
91
91
}
92
92
93
- throw new InvalidKeySpecException ("Unknown key specification: "
93
+ throw new InvalidKeySpecException ("unknown key specification: "
94
94
+ keySpec + "." );
95
95
}
96
96
@@ -102,7 +102,7 @@ public final Key engineTranslateKey(Key key)
102
102
return key ;
103
103
}
104
104
105
- throw new InvalidKeyException ("Unsupported key type" );
105
+ throw new InvalidKeyException ("unsupported key type" );
106
106
}
107
107
108
108
public PrivateKey engineGeneratePrivate (
You can’t perform that action at this time.
0 commit comments