Package | Description |
---|---|
org.jivesoftware.smackx.ox.provider |
Providers for XEP-0373: OpenPGP for XMPP.
|
org.jivesoftware.smackx.ox.util |
Utility classes for XEP-0373: OpenPGP for XMPP.
|
Modifier and Type | Method and Description |
---|---|
SecretkeyElement |
SecretkeyElementProvider.parse(org.xmlpull.v1.XmlPullParser parser,
int initialDepth) |
Modifier and Type | Method and Description |
---|---|
static SecretkeyElement |
SecretKeyBackupHelper.createSecretkeyElement(byte[] keys,
String backupCode)
Create a
SecretkeyElement which contains the secret keys which are serialized in keys and is
symmetrically encrypted using the backupCode . |
static SecretkeyElement |
SecretKeyBackupHelper.createSecretkeyElement(OpenPgpProvider provider,
org.jxmpp.jid.BareJid owner,
Set<org.pgpainless.key.OpenPgpV4Fingerprint> fingerprints,
String backupCode)
Create a
SecretkeyElement which contains the secret keys listed in fingerprints and is encrypted
symmetrically using the backupCode . |
static SecretkeyElement |
OpenPgpPubSubUtil.fetchSecretKey(XMPPConnection connection)
Fetch the latest
SecretkeyElement from the private backup node. |
Modifier and Type | Method and Description |
---|---|
static void |
OpenPgpPubSubUtil.depositSecretKey(XMPPConnection connection,
SecretkeyElement element)
Publishes a
SecretkeyElement to the secret key node. |
static org.bouncycastle.openpgp.PGPSecretKeyRing |
SecretKeyBackupHelper.restoreSecretKeyBackup(SecretkeyElement backup,
String backupCode)
Decrypt a secret key backup and return the
PGPSecretKeyRing contained in it. |