Class Fingerprints

java.lang.Object
org.moera.lib.node.Fingerprints

public class Fingerprints extends Object
The Fingerprints class provides methods to generate a cryptographic fingerprint for a set of fields using a predefined schema structure.
  • Constructor Details

    • Fingerprints

      public Fingerprints()
  • Method Details

    • getSchema

      public static FieldWithSchema[] getSchema(String objectType, int version)
    • attachment

      public static byte[] attachment(byte[] digest)
    • attachment0

      public static byte[] attachment0(byte[] digest)
    • carte

      public static byte[] carte(String ownerName, InetAddress address, Timestamp beginning, Timestamp deadline, String nodeName, long clientScope, long adminScope, byte[] salt)
    • carte2

      public static byte[] carte2(String ownerName, InetAddress address, Timestamp beginning, Timestamp deadline, String nodeName, long clientScope, long adminScope, byte[] salt)
    • carte1

      public static byte[] carte1(String ownerName, InetAddress address, Timestamp beginning, Timestamp deadline, String nodeName, byte authCategory, byte[] salt)
    • carte0

      public static byte[] carte0(String ownerName, InetAddress address, Timestamp beginning, Timestamp deadline, byte permissions, byte[] salt)
    • comment

      public static byte[] comment(String ownerName, byte[] postingFingerprint, byte[] repliedToFingerprint, byte[] bodySrcHash, String bodySrcFormat, String body, String bodyFormat, Timestamp createdAt, byte permissions, List<byte[]> attachments)
    • comment0

      public static byte[] comment0(String ownerName, byte[] postingFingerprint, byte[] repliedToFingerprint, byte[] bodySrcHash, String bodySrcFormat, String body, String bodyFormat, Timestamp createdAt, byte permissions, List<byte[]> attachments)
    • notificationPacket

      public static byte[] notificationPacket(String id, String nodeName, String fullName, Timestamp createdAt, String type, String notification)
    • notificationPacket1

      public static byte[] notificationPacket1(String id, String nodeName, String fullName, Timestamp createdAt, String type, String notification)
    • notificationPacket0

      public static byte[] notificationPacket0(String id, String nodeName, Timestamp createdAt, String type, String notification)
    • posting

      public static byte[] posting(String receiverName, String ownerName, byte[] bodySrcHash, String bodySrcFormat, String body, String bodyFormat, Timestamp createdAt, byte permissions, List<byte[]> attachments)
    • posting1

      public static byte[] posting1(String receiverName, String ownerName, byte[] bodySrcHash, String bodySrcFormat, String body, String bodyFormat, Timestamp createdAt, byte permissions, List<byte[]> attachments)
    • posting0

      public static byte[] posting0(String receiverName, String ownerName, byte[] bodySrcHash, String bodySrcFormat, String body, String bodyFormat, Timestamp createdAt, byte permissions, byte attachments)
    • pushRelayMessage

      public static byte[] pushRelayMessage(Timestamp signedAt)
    • pushRelayMessage0

      public static byte[] pushRelayMessage0(Timestamp signedAt)
    • pushRelayRegister

      public static byte[] pushRelayRegister(String clientId, String lang, Timestamp signedAt)
    • pushRelayRegister0

      public static byte[] pushRelayRegister0(String clientId, String lang, Timestamp signedAt)
    • reaction

      public static byte[] reaction(String ownerName, byte[] entryFingerprint, boolean negative, int emoji)
    • reaction0

      public static byte[] reaction0(String ownerName, byte[] entryFingerprint, boolean negative, int emoji)
    • sheriffOrder

      public static byte[] sheriffOrder(String sheriffName, String nodeName, String feedName, byte[] entryFingerprint, String category, String reasonCode, String reasonDetails, Timestamp createdAt)
    • sheriffOrder0

      public static byte[] sheriffOrder0(String sheriffName, String nodeName, String feedName, byte[] entryFingerprint, String category, String reasonCode, String reasonDetails, Timestamp createdAt)