Class FileBasedOpenPgpTrustStore

    • Method Detail

      • TRUST_RECORD

        public static java.lang.String TRUST_RECORD​(org.pgpainless.key.OpenPgpV4Fingerprint fingerprint)
      • writeTrust

        protected void writeTrust​(BareJid owner,
                                  org.pgpainless.key.OpenPgpV4Fingerprint fingerprint,
                                  OpenPgpTrustStore.Trust trust)
                           throws java.io.IOException
        Description copied from class: AbstractOpenPgpTrustStore
        Write the trust record for the key with fingerprint fingerprint of user owner to local storage.
        Specified by:
        writeTrust in class AbstractOpenPgpTrustStore
        Parameters:
        owner - owner of the key
        fingerprint - fingerprint of the key
        trust - trust state of the key
        Throws:
        java.io.IOException - IO is dangerous