Uses of Class
org.jivesoftware.smackx.ox.element.SecretkeyElement
-
Packages that use SecretkeyElement 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. -
-
Uses of SecretkeyElement in org.jivesoftware.smackx.ox.provider
Methods in org.jivesoftware.smackx.ox.provider that return SecretkeyElement Modifier and Type Method Description SecretkeyElement
SecretkeyElementProvider. parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
-
Uses of SecretkeyElement in org.jivesoftware.smackx.ox.util
Methods in org.jivesoftware.smackx.ox.util that return SecretkeyElement Modifier and Type Method Description static SecretkeyElement
SecretKeyBackupHelper. createSecretkeyElement(byte[] keys, OpenPgpSecretKeyBackupPassphrase backupCode)
Create aSecretkeyElement
which contains the secret keys which are serialized inkeys
and is symmetrically encrypted using thebackupCode
.static SecretkeyElement
SecretKeyBackupHelper. createSecretkeyElement(OpenPgpProvider provider, BareJid owner, Set<org.pgpainless.key.OpenPgpV4Fingerprint> fingerprints, OpenPgpSecretKeyBackupPassphrase backupCode)
Create aSecretkeyElement
which contains the secret keys listed infingerprints
and is encrypted symmetrically using thebackupCode
.static SecretkeyElement
OpenPgpPubSubUtil. fetchSecretKey(PepManager pepManager)
Fetch the latestSecretkeyElement
from the private backup node.Methods in org.jivesoftware.smackx.ox.util with parameters of type SecretkeyElement Modifier and Type Method Description static void
OpenPgpPubSubUtil. depositSecretKey(XMPPConnection connection, SecretkeyElement element)
Publishes aSecretkeyElement
to the secret key node.static org.bouncycastle.openpgp.PGPSecretKeyRing
SecretKeyBackupHelper. restoreSecretKeyBackup(SecretkeyElement backup, OpenPgpSecretKeyBackupPassphrase backupCode)
Decrypt a secret key backup and return thePGPSecretKeyRing
contained in it.
-