Interface KeyMaterial

  • All Known Implementing Classes:
    Certificate, Key

    public interface KeyMaterial
    • Method Detail

      • getFingerprint

        java.lang.String getFingerprint()
        Return the fingerprint of the certificate as 40 lowercase hex characters. TODO: Allow OpenPGP V5 fingerprints
        Returns:
        fingerprint
      • getInputStream

        java.io.InputStream getInputStream()
        Return an InputStream of the binary representation of the secret key.
        Returns:
        input stream
      • getTag

        java.lang.Long getTag()
        Return the tag belonging to this key material. The tag can be used to keep an application cache in sync with what is in the directory.
        Returns:
        tag
      • getSubkeyIds

        java.util.List<java.lang.Long> getSubkeyIds()
        Return a Set containing key-ids of subkeys.
        Returns:
        subkeys