Uses of Class
org.jivesoftware.smackx.ox.element.SecretkeyElement
Packages that use 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
Methods in org.jivesoftware.smackx.ox.provider that return SecretkeyElementModifier and TypeMethodDescriptionSecretkeyElementProvider.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 SecretkeyElementModifier 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.Methods in org.jivesoftware.smackx.ox.util with parameters of type SecretkeyElementModifier 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.