public interface OpenPgpMetadataStore
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<org.pgpainless.key.OpenPgpV4Fingerprint,java.util.Date> |
getAnnouncedFingerprintsOf(org.jxmpp.jid.BareJid contact)
Return a
Map containing all announced fingerprints of a contact, as well as the dates on which they were
last modified by contact. |
void |
setAnnouncedFingerprintsOf(org.jxmpp.jid.BareJid contact,
java.util.Map<org.pgpainless.key.OpenPgpV4Fingerprint,java.util.Date> data)
Store a contacts announced fingerprints and dates of last modification.
|
java.util.Map<org.pgpainless.key.OpenPgpV4Fingerprint,java.util.Date> getAnnouncedFingerprintsOf(org.jxmpp.jid.BareJid contact)
throws java.io.IOException
Map containing all announced fingerprints of a contact, as well as the dates on which they were
last modified by contact.
This method MUST NOT return null.contact - contact in which we are interested.java.io.IOException - IO is dangerousvoid setAnnouncedFingerprintsOf(org.jxmpp.jid.BareJid contact,
java.util.Map<org.pgpainless.key.OpenPgpV4Fingerprint,java.util.Date> data)
throws java.io.IOException
contact - contact in which we are interested.data - Map containing the contacts announced fingerprints and dates of last modification.java.io.IOException - IO is dangerous