add query method

This commit is contained in:
Looly
2020-01-11 19:37:36 +08:00
parent 33c3d12cbb
commit cc74ae34a2
5 changed files with 30 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ public class AsymmetricCrypto extends AbstractAsymmetricCrypto<AsymmetricCrypto>
*
* @param algorithm {@link SymmetricAlgorithm}
*/
@SuppressWarnings("RedundantCast")
public AsymmetricCrypto(AsymmetricAlgorithm algorithm) {
this(algorithm, (byte[]) null, (byte[]) null);
}
@@ -54,6 +55,7 @@ public class AsymmetricCrypto extends AbstractAsymmetricCrypto<AsymmetricCrypto>
*
* @param algorithm 算法
*/
@SuppressWarnings("RedundantCast")
public AsymmetricCrypto(String algorithm) {
this(algorithm, (byte[]) null, (byte[]) null);
}