Class Static.ObjectPaths

  • Enclosing class:
    Static

    public static class Static.ObjectPaths
    extends Object
    • Constructor Detail

      • ObjectPaths

        public ObjectPaths()
    • Method Detail

      • collection

        public static String collection​(String name)
        The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.
        Parameters:
        name - the encoded name of the collection
        Returns:
        path of the collection /org/freedesktop/secrets/collection/xxxx
      • item

        public static String item​(String collection,
                                  String item_id)
        The object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.
        Parameters:
        collection - the encoded name of the collection
        item_id - the encoded name of the item
        Returns:
        path of the item /org/freedesktop/secrets/collection/xxxx/iiii
      • session

        public static String session​(String session_id)
        The object path for a session, where ssss is an auto-generated session specific identifier.
        Parameters:
        session_id - the current id of the session
        Returns:
        path of the session /org/freedesktop/secrets/session/ssss
      • prompt

        public static String prompt​(String window_id)
        The object path for a prompt, where pppp is the window_id.
        Parameters:
        window_id - id of the current prompt's window
        Returns:
        path of the prompt /org/freedesktop/secrets/prompt/pppp