1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-07 11:31:10 +01:00

Fix decrypting messages

This commit is contained in:
Paul Schaub 2018-05-24 16:01:33 +02:00
parent 653f318d37
commit 365a4d20d0
3 changed files with 30 additions and 9 deletions

View file

@ -16,6 +16,7 @@
*/
package org.jivesoftware.smackx.ox;
import java.security.NoSuchAlgorithmException;
import java.util.Set;
import org.jivesoftware.smackx.ox.element.CryptElement;
@ -156,4 +157,6 @@ public interface OpenPgpProvider {
SecretkeyElement createSecretkeyElement(String password) throws CorruptedOpenPgpKeyException;
void restoreSecretKeyElement(SecretkeyElement secretkeyElement, String password) throws CorruptedOpenPgpKeyException;
void createAndUseKey() throws CorruptedOpenPgpKeyException, NoSuchAlgorithmException;
}