+ }
+
+ /**
+ * Container that stores the trust given to an identity.
+ *
+ * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
+ */
+ public static class IdentityTrust {
+
+ /** The identity’s trust value. */
+ private final Byte trust;
+
+ /** The identity’s score value. */
+ private final Integer score;
+
+ /** The identity’s rank. */
+ private final Integer rank;
+
+ /**
+ * Creates a new identity trust container.
+ *
+ * @param trust
+ * The trust value of the identity
+ * @param score
+ * The score value of the identity
+ * @param rank
+ * The rank of the identity
+ */
+ public IdentityTrust(Byte trust, Integer score, Integer rank) {
+ this.trust = trust;
+ this.score = score;
+ this.rank = rank;
+ }
+