Uses of Class
org.jivesoftware.smackx.ox.element.SecretkeyElement
Package
Description
Providers for XEP-0373: OpenPGP for XMPP.
Utility classes for XEP-0373: OpenPGP for XMPP.
-
Uses of SecretkeyElement in org.jivesoftware.smackx.ox.provider
Modifier and TypeMethodDescriptionSecretkeyElementProvider.parse
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) -
Uses of SecretkeyElement in org.jivesoftware.smackx.ox.util
Modifier and TypeMethodDescriptionstatic 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.Modifier and TypeMethodDescriptionstatic 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.