Interface MissingPublicKeyCallback


  • public interface MissingPublicKeyCallback
    • Method Detail

      • onMissingPublicKeyEncountered

        org.bouncycastle.openpgp.PGPPublicKey onMissingPublicKeyEncountered​(@Nonnull
                                                                            java.lang.Long keyId)
        This method gets called if we encounter a signature of an unknown key. Note: It would be super cool to provide the OpenPgp fingerprint here, but unfortunately signatures only contain the key id (see https://tools.ietf.org/html/rfc4880#section-5.2.3.5)
        Parameters:
        keyId - ID of the missing key
        Returns:
        the key or null