Interface SubkeyLookup

    • Method Detail

      • getCertificateFingerprintsForSubkeyId

        java.util.Set<java.lang.String> getCertificateFingerprintsForSubkeyId​(long subkeyId)
                                                                       throws java.io.IOException
        Lookup the fingerprint of the certificate that contains the given subkey. If no record is found, return null.
        Parameters:
        subkeyId - subkey id
        Returns:
        fingerprint of the certificate
        Throws:
        java.io.IOException - in case of an IO error
      • storeCertificateSubkeyIds

        void storeCertificateSubkeyIds​(java.lang.String certificate,
                                       java.util.List<java.lang.Long> subkeyIds)
                                throws java.io.IOException
        Record, which certificate the subkey-ids in the list belong to. This method does not change the affiliation of subkey-ids not contained in the provided list.
        Parameters:
        certificate - certificate fingerprint
        subkeyIds - subkey ids
        Throws:
        java.io.IOException - in case of an IO error