mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-07 19:41:11 +01:00
Bump PGPainless to 0.2.19
This commit is contained in:
parent
9e33fc56e1
commit
53d385ab93
4 changed files with 32 additions and 13 deletions
|
|
@ -29,7 +29,6 @@ import org.jivesoftware.smack.XMPPConnection;
|
|||
import org.jivesoftware.smack.XMPPException.XMPPErrorException;
|
||||
import org.jivesoftware.smack.util.Objects;
|
||||
import org.jivesoftware.smack.util.stringencoder.Base64;
|
||||
|
||||
import org.jivesoftware.smackx.ox.OpenPgpContact;
|
||||
import org.jivesoftware.smackx.ox.OpenPgpMessage;
|
||||
import org.jivesoftware.smackx.ox.OpenPgpSelf;
|
||||
|
|
@ -90,7 +89,7 @@ public class PainlessOpenPgpProvider implements OpenPgpProvider {
|
|||
|
||||
SigningOptions signOpts = new SigningOptions();
|
||||
signOpts.addInlineSignature(getStore().getKeyRingProtector(), self.getSigningKeyRing(),
|
||||
"xmpp:" + self.getJid().toString(), DocumentSignatureType.BINARY_DOCUMENT);
|
||||
DocumentSignatureType.BINARY_DOCUMENT);
|
||||
|
||||
EncryptionStream cipherStream = PGPainless.encryptAndOrSign()
|
||||
.onOutputStream(cipherText)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue