Uses of Class
org.jivesoftware.smackx.ox.OpenPgpContact
-
Packages that use OpenPgpContact Package Description org.jivesoftware.smackx.ox Smack API for XEP-0373: OpenPGP for XMPP.org.jivesoftware.smackx.ox_im Smack API for XEP-0374: OpenPGP for XMPP: Instant Messaging.org.jivesoftware.smackx.ox.crypto Crypto Providers for XEP-0373: OpenPGP for XMPP using Bouncycastle.org.jivesoftware.smackx.ox.listener Internal OpenPgpContentElement listeners for XEP-0373: OpenPGP for XMPP.org.jivesoftware.smackx.ox.store.abstr Abstract OpenPGP store implementations.org.jivesoftware.smackx.ox.store.definition OpenPgp store class definitions. -
-
Uses of OpenPgpContact in org.jivesoftware.smackx.ox
Subclasses of OpenPgpContact in org.jivesoftware.smackx.ox Modifier and Type Class Description class
OpenPgpSelf
This class acts as our own OpenPGP identity.Methods in org.jivesoftware.smackx.ox that return OpenPgpContact Modifier and Type Method Description OpenPgpContact
OpenPgpManager. getOpenPgpContact(EntityBareJid jid)
Return an OpenPGP capable contact.Methods in org.jivesoftware.smackx.ox with parameters of type OpenPgpContact Modifier and Type Method Description OpenPgpMessage
OpenPgpManager. decryptOpenPgpElement(OpenPgpElement element, OpenPgpContact sender)
Decrypt and or verify anOpenPgpElement
and return the decryptedOpenPgpMessage
. -
Uses of OpenPgpContact in org.jivesoftware.smackx.ox_im
Methods in org.jivesoftware.smackx.ox_im with parameters of type OpenPgpContact Modifier and Type Method Description org.pgpainless.decryption_verification.OpenPgpMetadata
OXInstantMessagingManager. addOxMessage(MessageBuilder messageBuilder, OpenPgpContact contact, List<ExtensionElement> payload)
Add an OX-IM message element to a message.boolean
OXInstantMessagingManager. contactSupportsOxInstantMessaging(OpenPgpContact contact)
Determine, whether a contact announces support for XEP-0374: OpenPGP for XMPP: Instant Messaging.OpenPgpMessage
OXInstantMessagingManager. decryptAndVerify(OpenPgpElement element, OpenPgpContact sender)
Manually decrypt and verify anOpenPgpElement
.void
OxMessageListener. newIncomingOxMessage(OpenPgpContact contact, Message originalMessage, SigncryptElement decryptedPayload, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
This method gets invoked, whenever an OX-IM encrypted message gets received.org.pgpainless.decryption_verification.OpenPgpMetadata
OXInstantMessagingManager. sendOxMessage(OpenPgpContact contact, CharSequence body)
Send an OX message to aOpenPgpContact
.Method parameters in org.jivesoftware.smackx.ox_im with type arguments of type OpenPgpContact Modifier and Type Method Description org.pgpainless.decryption_verification.OpenPgpMetadata
OXInstantMessagingManager. addOxMessage(MessageBuilder messageBuilder, Set<OpenPgpContact> recipients, List<ExtensionElement> payload)
Add an OX-IM message element to a message.OpenPgpElementAndMetadata
OXInstantMessagingManager. signAndEncrypt(Set<OpenPgpContact> contacts, List<ExtensionElement> payload)
-
Uses of OpenPgpContact in org.jivesoftware.smackx.ox.crypto
Methods in org.jivesoftware.smackx.ox.crypto with parameters of type OpenPgpContact Modifier and Type Method Description OpenPgpMessage
OpenPgpProvider. decryptAndOrVerify(XMPPConnection connection, OpenPgpElement element, OpenPgpSelf self, OpenPgpContact sender)
Decrypt and/or verify signatures on an incomingOpenPgpElement
.OpenPgpMessage
PainlessOpenPgpProvider. decryptAndOrVerify(XMPPConnection connection, OpenPgpElement element, OpenPgpSelf self, OpenPgpContact sender)
Method parameters in org.jivesoftware.smackx.ox.crypto with type arguments of type OpenPgpContact Modifier and Type Method Description OpenPgpElementAndMetadata
OpenPgpProvider. encrypt(CryptElement element, OpenPgpSelf self, Collection<OpenPgpContact> recipients)
Encrypt aCryptElement
for allrecipients
and ourselves.OpenPgpElementAndMetadata
PainlessOpenPgpProvider. encrypt(CryptElement element, OpenPgpSelf self, Collection<OpenPgpContact> recipients)
OpenPgpElementAndMetadata
OpenPgpProvider. signAndEncrypt(SigncryptElement element, OpenPgpSelf self, Collection<OpenPgpContact> recipients)
Sign aSigncryptElement
using our signing key and encrypt it for allrecipients
and ourselves.OpenPgpElementAndMetadata
PainlessOpenPgpProvider. signAndEncrypt(SigncryptElement element, OpenPgpSelf self, Collection<OpenPgpContact> recipients)
-
Uses of OpenPgpContact in org.jivesoftware.smackx.ox.listener
Methods in org.jivesoftware.smackx.ox.listener with parameters of type OpenPgpContact Modifier and Type Method Description void
CryptElementReceivedListener. cryptElementReceived(OpenPgpContact contact, Message originalMessage, CryptElement cryptElement, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
ACryptElement
has been received and successfully decrypted.void
SigncryptElementReceivedListener. signcryptElementReceived(OpenPgpContact contact, Message originalMessage, SigncryptElement signcryptElement, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
ASigncryptElement
has been received and successfully decrypted and verified.void
SignElementReceivedListener. signElementReceived(OpenPgpContact contact, Message originalMessage, SignElement signElement, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
ASignElement
has been received and successfully been verified. -
Uses of OpenPgpContact in org.jivesoftware.smackx.ox.store.abstr
Fields in org.jivesoftware.smackx.ox.store.abstr with type parameters of type OpenPgpContact Modifier and Type Field Description protected Map<BareJid,OpenPgpContact>
AbstractOpenPgpStore. contacts
Methods in org.jivesoftware.smackx.ox.store.abstr that return OpenPgpContact Modifier and Type Method Description OpenPgpContact
AbstractOpenPgpStore. getOpenPgpContact(BareJid jid)
-
Uses of OpenPgpContact in org.jivesoftware.smackx.ox.store.definition
Methods in org.jivesoftware.smackx.ox.store.definition that return OpenPgpContact Modifier and Type Method Description OpenPgpContact
OpenPgpStore. getOpenPgpContact(BareJid contactsJid)
Return anOpenPgpContact
for a contacts jid.
-