public interface OpenPgpMetadataStore
Modifier and Type | Method and Description |
---|---|
Map<org.pgpainless.key.OpenPgpV4Fingerprint,Date> |
getAnnouncedFingerprintsOf(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(BareJid contact,
Map<org.pgpainless.key.OpenPgpV4Fingerprint,Date> data)
Store a contacts announced fingerprints and dates of last modification.
|
Map<org.pgpainless.key.OpenPgpV4Fingerprint,Date> getAnnouncedFingerprintsOf(BareJid contact) throws 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.IOException
- IO is dangerousvoid setAnnouncedFingerprintsOf(BareJid contact, Map<org.pgpainless.key.OpenPgpV4Fingerprint,Date> data) throws IOException
contact
- contact in which we are interested.data
- Map
containing the contacts announced fingerprints and dates of last modification.IOException
- IO is dangerous