mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-24 04:52:05 +01:00
Adopt latest pgpainless changes
This commit is contained in:
parent
daf42c38e9
commit
2c110f1295
10 changed files with 10 additions and 10 deletions
|
@ -43,7 +43,7 @@ import org.igniterealtime.smack.inttest.util.SimpleResultSyncPoint;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.AfterClass;
|
import org.junit.AfterClass;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.pgpainless.pgpainless.key.UnprotectedKeysProtector;
|
import org.pgpainless.pgpainless.key.protection.UnprotectedKeysProtector;
|
||||||
|
|
||||||
public class BasicOpenPgpInstantMessagingIntegrationTest extends AbstractOpenPgpIntegrationTest {
|
public class BasicOpenPgpInstantMessagingIntegrationTest extends AbstractOpenPgpIntegrationTest {
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ import org.junit.After;
|
||||||
import org.junit.AfterClass;
|
import org.junit.AfterClass;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.pgpainless.pgpainless.key.UnprotectedKeysProtector;
|
import org.pgpainless.pgpainless.key.protection.UnprotectedKeysProtector;
|
||||||
|
|
||||||
public class SecretKeyBackupRestoreIntegrationTest extends AbstractOpenPgpIntegrationTest {
|
public class SecretKeyBackupRestoreIntegrationTest extends AbstractOpenPgpIntegrationTest {
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.bouncycastle.openpgp.PGPPublicKeyRingCollection;
|
||||||
import org.bouncycastle.openpgp.PGPSecretKeyRingCollection;
|
import org.bouncycastle.openpgp.PGPSecretKeyRingCollection;
|
||||||
import org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator;
|
import org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator;
|
||||||
import org.jxmpp.jid.BareJid;
|
import org.jxmpp.jid.BareJid;
|
||||||
import org.pgpainless.pgpainless.key.SecretKeyRingProtector;
|
import org.pgpainless.pgpainless.key.protection.SecretKeyRingProtector;
|
||||||
|
|
||||||
public abstract class AbstractPainlessOpenPgpStore implements PainlessOpenPgpStore {
|
public abstract class AbstractPainlessOpenPgpStore implements PainlessOpenPgpStore {
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ import org.bouncycastle.util.io.Streams;
|
||||||
import org.jxmpp.jid.BareJid;
|
import org.jxmpp.jid.BareJid;
|
||||||
import org.jxmpp.jid.impl.JidCreate;
|
import org.jxmpp.jid.impl.JidCreate;
|
||||||
import org.jxmpp.util.XmppDateTime;
|
import org.jxmpp.util.XmppDateTime;
|
||||||
import org.pgpainless.pgpainless.key.SecretKeyRingProtector;
|
import org.pgpainless.pgpainless.key.protection.SecretKeyRingProtector;
|
||||||
|
|
||||||
public class FileBasedPainlessOpenPgpStore extends AbstractPainlessOpenPgpStore {
|
public class FileBasedPainlessOpenPgpStore extends AbstractPainlessOpenPgpStore {
|
||||||
|
|
||||||
|
|
|
@ -62,8 +62,8 @@ import org.pgpainless.pgpainless.PGPainless;
|
||||||
import org.pgpainless.pgpainless.algorithm.SymmetricKeyAlgorithm;
|
import org.pgpainless.pgpainless.algorithm.SymmetricKeyAlgorithm;
|
||||||
import org.pgpainless.pgpainless.decryption_verification.DecryptionStream;
|
import org.pgpainless.pgpainless.decryption_verification.DecryptionStream;
|
||||||
import org.pgpainless.pgpainless.decryption_verification.PainlessResult;
|
import org.pgpainless.pgpainless.decryption_verification.PainlessResult;
|
||||||
import org.pgpainless.pgpainless.key.SecretKeyRingProtector;
|
|
||||||
import org.pgpainless.pgpainless.key.generation.type.length.RsaLength;
|
import org.pgpainless.pgpainless.key.generation.type.length.RsaLength;
|
||||||
|
import org.pgpainless.pgpainless.key.protection.SecretKeyRingProtector;
|
||||||
import org.pgpainless.pgpainless.util.BCUtil;
|
import org.pgpainless.pgpainless.util.BCUtil;
|
||||||
|
|
||||||
public class PainlessOpenPgpProvider implements OpenPgpProvider {
|
public class PainlessOpenPgpProvider implements OpenPgpProvider {
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.bouncycastle.openpgp.PGPException;
|
||||||
import org.bouncycastle.openpgp.PGPPublicKeyRingCollection;
|
import org.bouncycastle.openpgp.PGPPublicKeyRingCollection;
|
||||||
import org.bouncycastle.openpgp.PGPSecretKeyRingCollection;
|
import org.bouncycastle.openpgp.PGPSecretKeyRingCollection;
|
||||||
import org.jxmpp.jid.BareJid;
|
import org.jxmpp.jid.BareJid;
|
||||||
import org.pgpainless.pgpainless.key.SecretKeyRingProtector;
|
import org.pgpainless.pgpainless.key.protection.SecretKeyRingProtector;
|
||||||
|
|
||||||
public interface PainlessOpenPgpStore extends OpenPgpStore {
|
public interface PainlessOpenPgpStore extends OpenPgpStore {
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.jxmpp.jid.BareJid;
|
import org.jxmpp.jid.BareJid;
|
||||||
import org.jxmpp.jid.JidTestUtil;
|
import org.jxmpp.jid.JidTestUtil;
|
||||||
import org.pgpainless.pgpainless.key.UnprotectedKeysProtector;
|
import org.pgpainless.pgpainless.key.protection.UnprotectedKeysProtector;
|
||||||
|
|
||||||
public class BackupRestoreTest extends OxTestSuite {
|
public class BackupRestoreTest extends OxTestSuite {
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ import org.junit.AfterClass;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.jxmpp.jid.BareJid;
|
import org.jxmpp.jid.BareJid;
|
||||||
import org.pgpainless.pgpainless.key.UnprotectedKeysProtector;
|
import org.pgpainless.pgpainless.key.protection.UnprotectedKeysProtector;
|
||||||
import org.pgpainless.pgpainless.util.BCUtil;
|
import org.pgpainless.pgpainless.util.BCUtil;
|
||||||
import org.xmlpull.v1.XmlPullParserException;
|
import org.xmlpull.v1.XmlPullParserException;
|
||||||
|
|
||||||
|
|
|
@ -41,8 +41,8 @@ import org.junit.Test;
|
||||||
import org.jxmpp.jid.BareJid;
|
import org.jxmpp.jid.BareJid;
|
||||||
import org.jxmpp.jid.JidTestUtil;
|
import org.jxmpp.jid.JidTestUtil;
|
||||||
import org.pgpainless.pgpainless.PGPainless;
|
import org.pgpainless.pgpainless.PGPainless;
|
||||||
import org.pgpainless.pgpainless.key.UnprotectedKeysProtector;
|
|
||||||
import org.pgpainless.pgpainless.key.generation.type.length.RsaLength;
|
import org.pgpainless.pgpainless.key.generation.type.length.RsaLength;
|
||||||
|
import org.pgpainless.pgpainless.key.protection.UnprotectedKeysProtector;
|
||||||
import org.pgpainless.pgpainless.util.BCUtil;
|
import org.pgpainless.pgpainless.util.BCUtil;
|
||||||
|
|
||||||
public class FileBasedPainlessOpenPgpStoreTest extends OxTestSuite {
|
public class FileBasedPainlessOpenPgpStoreTest extends OxTestSuite {
|
||||||
|
|
|
@ -34,7 +34,7 @@ import org.junit.Test;
|
||||||
import org.jxmpp.jid.BareJid;
|
import org.jxmpp.jid.BareJid;
|
||||||
import org.jxmpp.jid.JidTestUtil;
|
import org.jxmpp.jid.JidTestUtil;
|
||||||
import org.pgpainless.pgpainless.PGPainless;
|
import org.pgpainless.pgpainless.PGPainless;
|
||||||
import org.pgpainless.pgpainless.key.UnprotectedKeysProtector;
|
import org.pgpainless.pgpainless.key.protection.UnprotectedKeysProtector;
|
||||||
|
|
||||||
public class UserIdTest extends OxTestSuite {
|
public class UserIdTest extends OxTestSuite {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue