public interface OpenPgpTrustStore
| Modifier and Type | Interface and Description |
|---|---|
static class |
OpenPgpTrustStore.Trust |
| Modifier and Type | Method and Description |
|---|---|
OpenPgpTrustStore.Trust |
getTrust(org.jxmpp.jid.BareJid owner,
org.pgpainless.key.OpenPgpV4Fingerprint fingerprint)
|
void |
setTrust(org.jxmpp.jid.BareJid owner,
org.pgpainless.key.OpenPgpV4Fingerprint fingerprint,
OpenPgpTrustStore.Trust trust)
|
OpenPgpTrustStore.Trust getTrust(org.jxmpp.jid.BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint) throws java.io.IOException
OpenPgpTrustStore.Trust state of owners key with fingerprint fingerprint.
The trust state describes, whether the user trusts a certain key of a contact.
If no OpenPgpTrustStore.Trust record has been found, this method MUST return not null, nut OpenPgpTrustStore.Trust.undecided.owner - owner of the keyfingerprint - fingerprint of the keyjava.io.IOException - IO is dangerousvoid setTrust(org.jxmpp.jid.BareJid owner,
org.pgpainless.key.OpenPgpV4Fingerprint fingerprint,
OpenPgpTrustStore.Trust trust)
throws java.io.IOException
owner - owner of the keyfingerprint - fingerprint of the keytrust - trust recordjava.io.IOException - IO is dangerous