public static class javaCrypto.RSA extends Object
Constructor and Description |
---|
RSA() |
Modifier and Type | Method and Description |
---|---|
javaCrypto.RSA |
gen_key(int keyLength,
int exponent,
Object callback) |
void |
save_key(String fullPath,
String cipher,
Object callback) |
void |
save_pub_key(String fullPath) |
public javaCrypto.RSA gen_key(int keyLength, int exponent, Object callback) throws NoSuchProviderException, NoSuchAlgorithmException
public void save_key(String fullPath, String cipher, Object callback) throws IOException
IOException
public void save_pub_key(String fullPath) throws IOException, InvalidAlgorithmParameterException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException
Copyright © 2019. All Rights Reserved.