SYMBOL INDEX (10466 symbols across 1005 files) FILE: PrintTestErrors.java class PrintTestErrors (line 12) | public class PrintTestErrors { method main (line 14) | public static void main(String[] args) throws IOException { FILE: ReproducibleJar.java class ReproducibleJar (line 9) | public class ReproducibleJar { method main (line 10) | public static void main(String[] args) throws Exception { method setAllTimes (line 24) | private static byte[] setAllTimes(Path root, FileTime lastModified) { FILE: src/peergos/client/ConsolePrintStream.java class ConsolePrintStream (line 25) | public class ConsolePrintStream extends PrintStream { method ConsolePrintStream (line 29) | public ConsolePrintStream () { method print (line 33) | public void print (String s) { method consoleLog (line 47) | public native void consoleLog (String msg) /*-{ method print (line 55) | public void print (char c) { method println (line 63) | public void println () { method println (line 67) | @Override FILE: src/peergos/client/JsUtil.java class JsUtil (line 17) | public class JsUtil { method fromUtcMillis (line 19) | @JsMethod method fromByteArray (line 24) | @JsMethod method asList (line 29) | @JsMethod method asSet (line 34) | @JsMethod method emptyList (line 39) | @JsMethod method emptyOptional (line 44) | @JsMethod method optionalOf (line 49) | @JsMethod method now (line 55) | @JsMethod method generateAuthResponse (line 60) | @JsMethod method generateWebAuthnResponse (line 65) | @JsMethod FILE: src/peergos/client/PathUtils.java class PathUtils (line 11) | public class PathUtils { method getFileName (line 14) | @JsMethod method subpath (line 19) | @JsMethod method getNameCount (line 24) | @JsMethod method getParent (line 29) | @JsMethod method directoryToPath (line 34) | @JsMethod method toPath (line 47) | @JsMethod FILE: src/peergos/client/Start.java class Start (line 5) | public class Start implements EntryPoint { method onModuleLoad (line 6) | public void onModuleLoad() { FILE: src/peergos/gwt/emu/avian/Utf8.java class Utf8 (line 15) | public class Utf8 { method test (line 16) | public static boolean test (Object data) { method encode (line 25) | public static byte[] encode (char[] s16, int offset, int length) { method decode (line 46) | public static Object decode (byte[] s8, int offset, int length) { method decode16 (line 76) | public static char[] decode16 (byte[] s8, int offset, int length) { method cram (line 82) | private static void cram (Object data, int index, int val) { method widen (line 89) | private static Object widen (Object data, int length, int capacity) { method trim (line 97) | private static Object trim (Object data, int length) { FILE: src/peergos/gwt/emu/com/badlogic/gdx/utils/Base64Coder.java class Base64Coder (line 32) | public class Base64Coder { class CharMap (line 33) | public static class CharMap { method CharMap (line 37) | public CharMap (char char63, char char64) { method getDecodingMap (line 58) | public byte[] getDecodingMap () { method getEncodingMap (line 62) | public char[] getEncodingMap () { method encodeString (line 75) | public static String encodeString (String s) { method encodeString (line 79) | public static String encodeString (String s, boolean useUrlsafeEncodin... method encodeLines (line 87) | public static String encodeLines (byte[] in) { method encodeLines (line 91) | public static String encodeLines (byte[] in, int iOff, int iLen, int l... method encodeLines (line 103) | public static String encodeLines (byte[] in, int iOff, int iLen, int l... method encode (line 124) | public static char[] encode (byte[] in) { method encode (line 128) | public static char[] encode (byte[] in, CharMap charMap) { method encode (line 132) | public static char[] encode (byte[] in, char[] charMap) { method encode (line 140) | public static char[] encode (byte[] in, int iLen) { method encode (line 144) | public static char[] encode (byte[] in, int iOff, int iLen, CharMap ch... method encode (line 154) | public static char[] encode (byte[] in, int iOff, int iLen, char[] cha... method decodeString (line 183) | public static String decodeString (String s) { method decodeString (line 187) | public static String decodeString (String s, boolean useUrlSafeEncodin... method decodeLines (line 191) | public static byte[] decodeLines (String s) { method decodeLines (line 195) | public static byte[] decodeLines (String s, CharMap inverseCharMap) { method decodeLines (line 205) | public static byte[] decodeLines (String s, byte[] inverseCharMap) { method decode (line 221) | public static byte[] decode (String s) { method decode (line 230) | public static byte[] decode (String s, CharMap inverseCharMap) { method decode (line 234) | public static byte[] decode (char[] in, byte[] inverseCharMap) { method decode (line 238) | public static byte[] decode (char[] in, CharMap inverseCharMap) { method decode (line 246) | public static byte[] decode (char[] in) { method decode (line 250) | public static byte[] decode (char[] in, int iOff, int iLen, CharMap in... method decode (line 261) | public static byte[] decode (char[] in, int iOff, int iLen, byte[] inv... method Base64Coder (line 303) | private Base64Coder () { FILE: src/peergos/gwt/emu/com/badlogic/gdx/utils/Utf8Decoder.java class Utf8Decoder (line 50) | public class Utf8Decoder { method Utf8Decoder (line 89) | public Utf8Decoder () { method reset (line 93) | protected void reset () { method decode (line 97) | public int decode (byte[] b, int offset, int length, char[] charBuffer... method decode (line 106) | private void decode (byte b) { FILE: src/peergos/gwt/emu/java/awt/AlphaComposite.java class AlphaComposite (line 6) | public class AlphaComposite extends Object implements Composite { method AlphaComposite (line 10) | private AlphaComposite(){} FILE: src/peergos/gwt/emu/java/awt/Composite.java type Composite (line 6) | public interface Composite { FILE: src/peergos/gwt/emu/java/awt/Graphics2D.java class Graphics2D (line 6) | public class Graphics2D { method setComposite (line 8) | public void setComposite(Composite comp) {} method setRenderingHint (line 10) | public void setRenderingHint(RenderingHints.Key hintKey, Object hintVa... method drawImage (line 12) | public boolean drawImage(Image img, int x, int y, method dispose (line 16) | public void dispose() {} FILE: src/peergos/gwt/emu/java/awt/Image.java class Image (line 6) | public class Image { method setRGB (line 9) | public synchronized void setRGB(int var1, int var2, int var3) {} FILE: src/peergos/gwt/emu/java/awt/ImageObserver.java class ImageObserver (line 6) | public class ImageObserver { FILE: src/peergos/gwt/emu/java/awt/RenderingHints.java class RenderingHints (line 6) | public class RenderingHints { class Key (line 7) | public static class Key { FILE: src/peergos/gwt/emu/java/awt/image/BufferedImage.java class BufferedImage (line 8) | public class BufferedImage extends Image implements RenderedImage { method BufferedImage (line 10) | public BufferedImage(int width, method getType (line 16) | public int getType() { method createGraphics (line 20) | public Graphics2D createGraphics() { method getWidth (line 24) | public int getWidth() { method getHeight (line 28) | public int getHeight() { method getRGB (line 32) | public int getRGB(int x, int y) { FILE: src/peergos/gwt/emu/java/awt/image/RenderedImage.java type RenderedImage (line 6) | public interface RenderedImage { FILE: src/peergos/gwt/emu/java/io/BufferedReader.java class BufferedReader (line 13) | public class BufferedReader extends Reader { method BufferedReader (line 19) | public BufferedReader (Reader in, int bufferSize) { method BufferedReader (line 24) | public BufferedReader (Reader in) { method fill (line 28) | private void fill () throws IOException { method readLine (line 33) | public String readLine () throws IOException { method read (line 70) | public int read (char[] b, int offset, int length) throws IOException { method close (line 105) | public void close () throws IOException { FILE: src/peergos/gwt/emu/java/io/ByteArrayInputStream.java class ByteArrayInputStream (line 18) | public class ByteArrayInputStream extends InputStream { method ByteArrayInputStream (line 24) | public ByteArrayInputStream(byte buf[]) { method ByteArrayInputStream (line 30) | public ByteArrayInputStream(byte buf[], int offset, int length) { method read (line 37) | public synchronized int read() { method read (line 41) | public synchronized int read(byte b[], int off, int len) { method skip (line 64) | public synchronized long skip(long n) { method available (line 74) | public synchronized int available() { method markSupported (line 78) | public boolean markSupported() { method mark (line 82) | public void mark(int readAheadLimit) { method reset (line 86) | public synchronized void reset() { method close (line 90) | public void close() throws IOException { FILE: src/peergos/gwt/emu/java/io/ByteArrayOutputStream.java class ByteArrayOutputStream (line 19) | public class ByteArrayOutputStream extends OutputStream { method ByteArrayOutputStream (line 24) | public ByteArrayOutputStream () { method ByteArrayOutputStream (line 28) | public ByteArrayOutputStream (int initialSize) { method write (line 32) | @Override method write (line 42) | public void write(byte b[], int off, int len) { method grow (line 54) | private void grow(int required) { method hugeCapacity (line 70) | private static int hugeCapacity(int size) { method toByteArray (line 78) | public byte[] toByteArray () { method size (line 84) | public int size () { method toString (line 88) | public String toString () { method toString (line 92) | public String toString (String enc) throws UnsupportedEncodingException { method close (line 96) | public void close() throws IOException { FILE: src/peergos/gwt/emu/java/io/Closeable.java type Closeable (line 22) | public interface Closeable extends AutoCloseable { method close (line 28) | public void close () throws IOException; FILE: src/peergos/gwt/emu/java/io/DataInput.java type DataInput (line 3) | public interface DataInput { method readFully (line 5) | void readFully(byte b[]) throws IOException; method readFully (line 7) | void readFully(byte b[], int off, int len) throws IOException; method skipBytes (line 9) | int skipBytes(int n) throws IOException; method readBoolean (line 11) | boolean readBoolean() throws IOException; method readByte (line 13) | byte readByte() throws IOException; method readUnsignedByte (line 15) | int readUnsignedByte() throws IOException; method readShort (line 17) | short readShort() throws IOException; method readUnsignedShort (line 19) | int readUnsignedShort() throws IOException; method readChar (line 21) | char readChar() throws IOException; method readInt (line 23) | int readInt() throws IOException; method readLong (line 25) | long readLong() throws IOException; method readFloat (line 27) | float readFloat() throws IOException; method readDouble (line 29) | double readDouble() throws IOException; method readLine (line 31) | String readLine() throws IOException; method readUTF (line 33) | String readUTF() throws IOException; FILE: src/peergos/gwt/emu/java/io/DataInputStream.java class DataInputStream (line 19) | public class DataInputStream extends InputStream implements DataInput { method DataInputStream (line 23) | public DataInputStream (final InputStream is) { method read (line 27) | @Override method readBoolean (line 32) | public boolean readBoolean () throws IOException { method readByte (line 36) | public byte readByte () throws IOException { method readChar (line 44) | public char readChar () throws IOException { method readDouble (line 50) | public double readDouble () throws IOException { method readFloat (line 54) | public float readFloat () throws IOException { method readFully (line 58) | public void readFully (byte[] b) throws IOException { method readFully (line 62) | public void readFully (byte[] b, int off, int len) throws IOException { method readInt (line 73) | public int readInt () throws IOException { method readLine (line 81) | public String readLine () throws IOException { method readLong (line 85) | public long readLong () throws IOException { method readShort (line 91) | public short readShort () throws IOException { method readUTF (line 97) | public String readUTF () throws IOException { method readUtfChar (line 108) | private int readUtfChar (StringBuilder sb) throws IOException { method readUnsignedByte (line 128) | public int readUnsignedByte () throws IOException { method readUnsignedShort (line 136) | public int readUnsignedShort () throws IOException { method skipBytes (line 142) | public int skipBytes (int n) throws IOException { method available (line 147) | @Override method close (line 152) | @Override FILE: src/peergos/gwt/emu/java/io/DataOutput.java type DataOutput (line 19) | public interface DataOutput { method write (line 20) | public void write (byte[] data) throws IOException; method write (line 22) | public void write (byte[] data, int ofs, int len) throws IOException; method write (line 24) | public void write (int v) throws IOException; method writeBoolean (line 26) | public void writeBoolean (boolean v) throws IOException; method writeByte (line 28) | public void writeByte (int v) throws IOException; method writeBytes (line 30) | public void writeBytes (String s) throws IOException; method writeChar (line 32) | public void writeChar (int v) throws IOException; method writeChars (line 34) | public void writeChars (String s) throws IOException; method writeDouble (line 36) | public void writeDouble (double v) throws IOException; method writeFloat (line 38) | public void writeFloat (float v) throws IOException; method writeInt (line 40) | public void writeInt (int v) throws IOException; method writeLong (line 42) | public void writeLong (long v) throws IOException; method writeShort (line 44) | public void writeShort (int v) throws IOException; method writeUTF (line 46) | public void writeUTF (String s) throws IOException; FILE: src/peergos/gwt/emu/java/io/DataOutputStream.java class DataOutputStream (line 19) | public class DataOutputStream extends OutputStream implements DataOutput { method DataOutputStream (line 23) | public DataOutputStream (OutputStream os) { method write (line 27) | @Override method writeBoolean (line 32) | public void writeBoolean (boolean v) throws IOException { method writeByte (line 36) | public void writeByte (int v) throws IOException { method writeBytes (line 40) | public void writeBytes (String s) throws IOException { method writeChar (line 47) | public void writeChar (int v) throws IOException { method writeChars (line 52) | public void writeChars (String s) throws IOException { method writeDouble (line 56) | public void writeDouble (double v) throws IOException { method writeFloat (line 60) | public void writeFloat (float v) throws IOException { method writeInt (line 64) | public void writeInt (int v) throws IOException { method writeLong (line 71) | public void writeLong (long v) throws IOException { method writeShort (line 76) | public void writeShort (int v) throws IOException { method writeUTF (line 81) | public void writeUTF (String s) throws IOException { method flush (line 100) | public void flush() throws IOException { FILE: src/peergos/gwt/emu/java/io/EOFException.java class EOFException (line 19) | public class EOFException extends IOException { FILE: src/peergos/gwt/emu/java/io/File.java class File (line 26) | public class File { method File (line 42) | public File (String pathname) { method File (line 61) | public File (String parent, String child) { method File (line 65) | public File (File parent, String child) { method getName (line 74) | public String getName () { method getParent (line 78) | public String getParent () { method getParentFile (line 82) | public File getParentFile () { method getPath (line 86) | public String getPath () { method isRoot (line 90) | private boolean isRoot () { method isAbsolute (line 94) | public boolean isAbsolute () { method getAbsolutePath (line 104) | public String getAbsolutePath () { method getAbsoluteFile (line 109) | public File getAbsoluteFile () { method getCanonicalPath (line 119) | public String getCanonicalPath () { method getCanonicalFile (line 123) | public File getCanonicalFile () { method canRead (line 152) | public boolean canRead () { method canWrite (line 156) | public boolean canWrite () { method exists (line 160) | public boolean exists () { method isDirectory (line 164) | public boolean isDirectory () { method isFile (line 169) | public boolean isFile () { method isHidden (line 173) | public boolean isHidden () { method lastModified (line 177) | public long lastModified () { method length (line 181) | public long length () { method createNewFile (line 196) | public boolean createNewFile () throws IOException { method delete (line 200) | public boolean delete () { method deleteOnExit (line 204) | public void deleteOnExit () { method list (line 208) | public String[] list () { method listFiles (line 216) | public File[] listFiles () { method listFiles (line 220) | public File[] listFiles (FilenameFilter filter) { method mkdir (line 228) | public boolean mkdir () { method mkdirs (line 232) | public boolean mkdirs () { method renameTo (line 239) | public boolean renameTo (File dest) { method setLastModified (line 243) | public boolean setLastModified (long time) { method setReadOnly (line 247) | public boolean setReadOnly () { method listRoots (line 251) | public static File[] listRoots () { method createTempFile (line 255) | public static File createTempFile (String prefix, String suffix, File ... method createTempFile (line 259) | public static File createTempFile (String prefix, String suffix) throw... method compareTo (line 263) | public int compareTo (File pathname) { method equals (line 267) | public boolean equals (Object obj) { method toPath (line 274) | public Path toPath() { method hashCode (line 278) | public int hashCode () { method toString (line 282) | public String toString () { FILE: src/peergos/gwt/emu/java/io/FileInputStream.java class FileInputStream (line 3) | public class FileInputStream extends InputStream{ method FileInputStream (line 6) | public FileInputStream (InputStream in) { method FileInputStream (line 10) | public FileInputStream (File file) { method FileInputStream (line 13) | public FileInputStream (String filename) { method read (line 16) | public int read () throws IOException { method read (line 20) | public int read (byte b[]) throws IOException { method read (line 24) | public int read (byte b[], int off, int len) throws IOException { method skip (line 28) | public long skip (long n) throws IOException { method available (line 33) | public int available () throws IOException{ method close (line 37) | public void close () throws IOException { method mark (line 41) | public synchronized void mark (int readlimit) { method reset (line 44) | public synchronized void reset () throws IOException { method markSupported (line 47) | public boolean markSupported () { FILE: src/peergos/gwt/emu/java/io/FileNotFoundException.java class FileNotFoundException (line 19) | public class FileNotFoundException extends IOException { method FileNotFoundException (line 21) | public FileNotFoundException () { method FileNotFoundException (line 25) | public FileNotFoundException (String s) { FILE: src/peergos/gwt/emu/java/io/FilenameFilter.java type FilenameFilter (line 19) | public interface FilenameFilter { method accept (line 21) | boolean accept (File file, String name); FILE: src/peergos/gwt/emu/java/io/Flushable.java type Flushable (line 21) | public interface Flushable { method flush (line 25) | void flush () throws IOException; FILE: src/peergos/gwt/emu/java/io/InputStreamReader.java class InputStreamReader (line 15) | public class InputStreamReader extends Reader { method InputStreamReader (line 20) | public InputStreamReader (InputStream in) { method InputStreamReader (line 25) | public InputStreamReader (InputStream in, String encoding) throws Unsu... method read (line 34) | public int read (char[] b, int offset, int length) throws IOException { method close (line 40) | public void close () throws IOException { FILE: src/peergos/gwt/emu/java/io/OutputStreamWriter.java class OutputStreamWriter (line 15) | public class OutputStreamWriter extends Writer { method OutputStreamWriter (line 18) | public OutputStreamWriter (OutputStream out, String encoding) { method OutputStreamWriter (line 22) | public OutputStreamWriter (OutputStream out) { method write (line 26) | public void write (char[] b, int offset, int length) throws IOException { method flush (line 30) | public void flush () throws IOException { method close (line 34) | public void close () throws IOException { FILE: src/peergos/gwt/emu/java/io/PrintWriter.java class PrintWriter (line 3) | public class PrintWriter extends Writer{ method PrintWriter (line 5) | public PrintWriter() { method PrintWriter (line 8) | public PrintWriter(int initialCapacity) { method PrintWriter (line 10) | public PrintWriter(Writer out, method append (line 14) | public PrintWriter append(CharSequence csq) { method write (line 17) | public void write (char[] b, int offset, int length) throws IOException { method toString (line 20) | public String toString () { method flush (line 24) | public void flush () { method close (line 27) | public void close () throws IOException { FILE: src/peergos/gwt/emu/java/io/PushbackInputStream.java class PushbackInputStream (line 54) | public class PushbackInputStream extends FilterInputStream method PushbackInputStream (line 82) | public PushbackInputStream(InputStream in) method PushbackInputStream (line 95) | public PushbackInputStream(InputStream in, int size) method available (line 117) | public int available() throws IOException method close (line 134) | public synchronized void close() throws IOException method markSupported (line 147) | public boolean markSupported() method reset (line 158) | public void reset() throws IOException method read (line 176) | public synchronized int read() throws IOException method read (line 208) | public synchronized int read(byte[] b, int off, int len) throws IOExce... method unread (line 244) | public synchronized void unread(int b) throws IOException method unread (line 265) | public synchronized void unread(byte[] b) throws IOException method unread (line 287) | public synchronized void unread(byte[] b, int off, int len) method skip (line 320) | public synchronized long skip(long n) throws IOException FILE: src/peergos/gwt/emu/java/io/RandomAccessFile.java class RandomAccessFile (line 21) | public class RandomAccessFile implements Closeable/* implements DataOutp... method RandomAccessFile (line 23) | public RandomAccessFile (File file, String mode) throws FileNotFoundEx... method close (line 27) | @Override method length (line 31) | public long length () throws IOException { method read (line 35) | public int read () throws IOException { method read (line 39) | public int read (byte b[]) throws IOException { method read (line 43) | public int read (byte b[], int offset, int len) throws IOException { method seek (line 47) | public void seek (long pos) throws IOException { method setLength (line 50) | public void setLength (long newLength) throws IOException { method write (line 53) | public void write (byte b[]) throws IOException { FILE: src/peergos/gwt/emu/java/io/Reader.java class Reader (line 21) | public abstract class Reader { method close (line 30) | public abstract void close() throws IOException; method mark (line 40) | public void mark(int readAheadLimit) throws IOException { method markSupported (line 47) | public boolean markSupported() { method read (line 54) | public int read() throws IOException { method read (line 62) | public int read(char[] buf) throws IOException { method read (line 70) | public abstract int read(char[] buf, int off, int len) throws IOExcept... method ready (line 75) | public boolean ready() throws IOException { method reset (line 82) | public void reset() throws IOException { method skip (line 89) | public long skip(long n) throws IOException { FILE: src/peergos/gwt/emu/java/io/UTFDataFormatException.java class UTFDataFormatException (line 19) | public class UTFDataFormatException extends IOException { method UTFDataFormatException (line 21) | public UTFDataFormatException (String msg) { method UTFDataFormatException (line 25) | public UTFDataFormatException () { FILE: src/peergos/gwt/emu/java/io/UnsupportedEncodingException.java class UnsupportedEncodingException (line 19) | public class UnsupportedEncodingException extends IOException { method UnsupportedEncodingException (line 20) | public UnsupportedEncodingException () { method UnsupportedEncodingException (line 24) | public UnsupportedEncodingException (String s) { FILE: src/peergos/gwt/emu/java/io/Writer.java class Writer (line 30) | public abstract class Writer implements Appendable, Closeable, Flushable { method Writer (line 38) | protected Writer () { method Writer (line 47) | protected Writer (Object lock) { method close (line 57) | public abstract void close () throws IOException; method flush (line 62) | public abstract void flush () throws IOException; method write (line 68) | public void write (char buf[]) throws IOException { method write (line 80) | public abstract void write (char buf[], int offset, int count) throws ... method write (line 86) | public void write (int oneChar) throws IOException { method write (line 98) | public void write (String str) throws IOException { method write (line 110) | public void write (String str, int offset, int count) throws IOExcepti... method append (line 127) | public Writer append (char c) throws IOException { method append (line 139) | public Writer append (CharSequence csq) throws IOException { method append (line 159) | public Writer append (CharSequence csq, int start, int end) throws IOE... method checkError (line 170) | boolean checkError () { FILE: src/peergos/gwt/emu/java/lang/AutoCloseable.java type AutoCloseable (line 3) | public interface AutoCloseable { method close (line 4) | void close() throws Exception; FILE: src/peergos/gwt/emu/java/lang/ClassLoader.java class ClassLoader (line 6) | public class ClassLoader { method getSystemClassLoader (line 8) | public static ClassLoader getSystemClassLoader() { method getResourceAsStream (line 12) | public InputStream getResourceAsStream(String name) { method getResource (line 16) | public URL getResource(String name) { FILE: src/peergos/gwt/emu/java/lang/ClassNotFoundException.java class ClassNotFoundException (line 31) | public class ClassNotFoundException extends Exception { method ClassNotFoundException (line 42) | public ClassNotFoundException () { method ClassNotFoundException (line 49) | public ClassNotFoundException (String s) { method ClassNotFoundException (line 59) | public ClassNotFoundException (String s, Throwable ex) { method getException (line 73) | public Throwable getException () { method getCause (line 82) | public Throwable getCause () { FILE: src/peergos/gwt/emu/java/lang/Exception.java class Exception (line 23) | public class Exception extends Throwable { method Exception (line 25) | public Exception() { method Exception (line 28) | public Exception(String message) { method Exception (line 32) | public Exception(String message, Throwable cause) { method Exception (line 36) | public Exception(Throwable cause) { method Exception (line 40) | protected Exception(String message, Throwable cause, boolean enableSup... method Exception (line 45) | Exception(Object backingJsObject) { FILE: src/peergos/gwt/emu/java/lang/InternalError.java class InternalError (line 35) | public class InternalError extends Error { method InternalError (line 41) | public InternalError() { method InternalError (line 51) | public InternalError(String s) { FILE: src/peergos/gwt/emu/java/lang/InterruptedException.java class InterruptedException (line 13) | public class InterruptedException extends Exception { method InterruptedException (line 14) | public InterruptedException (String message, Throwable cause) { method InterruptedException (line 18) | public InterruptedException (String message) { method InterruptedException (line 22) | public InterruptedException (Throwable cause) { method InterruptedException (line 26) | public InterruptedException () { FILE: src/peergos/gwt/emu/java/lang/OutOfMemoryError.java class OutOfMemoryError (line 3) | public class OutOfMemoryError extends Error { method OutOfMemoryError (line 5) | public OutOfMemoryError() {} method OutOfMemoryError (line 7) | public OutOfMemoryError(String msg) { FILE: src/peergos/gwt/emu/java/lang/Readable.java type Readable (line 22) | public interface Readable { method read (line 23) | int read (CharBuffer cb) throws IOException; FILE: src/peergos/gwt/emu/java/lang/Runnable.java type Runnable (line 5) | @FunctionalInterface method run (line 8) | @JsMethod FILE: src/peergos/gwt/emu/java/lang/RuntimeException.java class RuntimeException (line 23) | public class RuntimeException extends Exception { method RuntimeException (line 25) | public RuntimeException() { method RuntimeException (line 28) | public RuntimeException(String message) { method RuntimeException (line 32) | public RuntimeException(String message, Throwable cause) { method RuntimeException (line 36) | public RuntimeException(Throwable cause) { method RuntimeException (line 40) | protected RuntimeException(String message, Throwable cause, boolean en... method RuntimeException (line 45) | RuntimeException(Object backingJsObject) { FILE: src/peergos/gwt/emu/java/lang/SecurityException.java class SecurityException (line 13) | public class SecurityException extends RuntimeException { method SecurityException (line 14) | public SecurityException (String message, Throwable cause) { method SecurityException (line 18) | public SecurityException (String message) { method SecurityException (line 22) | public SecurityException (Throwable cause) { method SecurityException (line 26) | public SecurityException () { FILE: src/peergos/gwt/emu/java/lang/Thread.java class Thread (line 21) | public class Thread { method Thread (line 23) | public Thread() { method Thread (line 27) | public Thread(Runnable runnable) { method currentThread (line 31) | public static Thread currentThread() { method start (line 35) | public synchronized void start() { method getContextClassLoader (line 39) | public ClassLoader getContextClassLoader() { method sleep (line 43) | public static void sleep (long millis) throws InterruptedException { method setDefaultUncaughtExceptionHandler (line 47) | public static void setDefaultUncaughtExceptionHandler(final Thread.Unc... type UncaughtExceptionHandler (line 62) | public static interface UncaughtExceptionHandler { method uncaughtException (line 63) | void uncaughtException(Thread t, Throwable e); FILE: src/peergos/gwt/emu/java/net/ConnectException.java class ConnectException (line 5) | public class ConnectException extends SocketException { method ConnectException (line 7) | public ConnectException() { method ConnectException (line 11) | @JsConstructor FILE: src/peergos/gwt/emu/java/net/HttpURLConnection.java class HttpURLConnection (line 3) | public class HttpURLConnection extends URLConnection{ method setRequestMethod (line 8) | public void setRequestMethod(String method) throws ProtocolException { method setRequestProperty (line 11) | public void setRequestProperty(String key, String value) { method setUseCaches (line 14) | public void setUseCaches(boolean b) { method setDoInput (line 17) | public void setDoInput(boolean b) { method setConnectTimeout (line 21) | public void setConnectTimeout(int timeout) {} method setReadTimeout (line 22) | public void setReadTimeout(int timeout) {} method getResponseCode (line 23) | public int getResponseCode() { method getContentLength (line 26) | public int getContentLength() { method connect (line 29) | public void connect() { method disconnect (line 31) | public void disconnect() { method getHeaderField (line 33) | public String getHeaderField(String name) { method getResponseMessage (line 37) | public String getResponseMessage() { FILE: src/peergos/gwt/emu/java/net/Inet4Address.java class Inet4Address (line 3) | public class Inet4Address extends InetAddress{ FILE: src/peergos/gwt/emu/java/net/Inet6Address.java class Inet6Address (line 3) | public class Inet6Address extends InetAddress{ FILE: src/peergos/gwt/emu/java/net/InetAddress.java class InetAddress (line 3) | public class InetAddress { method getByName (line 5) | public static InetAddress getByName(String host) method getAddress (line 9) | public byte[] getAddress() { method getByAddress (line 12) | public static InetAddress getByAddress(byte[] addr) method getLocalHost (line 17) | public static InetAddress getLocalHost() throws UnknownHostException { FILE: src/peergos/gwt/emu/java/net/MalformedURLException.java class MalformedURLException (line 5) | public class MalformedURLException extends IOException { method MalformedURLException (line 7) | public MalformedURLException() { method MalformedURLException (line 10) | public MalformedURLException(String msg) { FILE: src/peergos/gwt/emu/java/net/ProtocolException.java class ProtocolException (line 5) | public class ProtocolException extends IOException{ method ProtocolException (line 6) | public ProtocolException() { method ProtocolException (line 9) | public ProtocolException(String msg) { FILE: src/peergos/gwt/emu/java/net/Proxy.java class Proxy (line 3) | public class Proxy { type Type (line 4) | public enum Type {DIRECT, HTTP, SOCKS} method Proxy (line 6) | public Proxy(Type type, SocketAddress addr) {} FILE: src/peergos/gwt/emu/java/net/SocketAddress.java class SocketAddress (line 3) | public class SocketAddress { FILE: src/peergos/gwt/emu/java/net/SocketException.java class SocketException (line 5) | public class SocketException extends IOException{ method SocketException (line 7) | public SocketException() { method SocketException (line 10) | public SocketException(String msg) { FILE: src/peergos/gwt/emu/java/net/SocketTimeoutException.java class SocketTimeoutException (line 5) | public class SocketTimeoutException extends IOException { FILE: src/peergos/gwt/emu/java/net/URL.java class URL (line 6) | public class URL { method URL (line 8) | public URL(String protocol, String host, int port, String file) throws... method URL (line 12) | public URL(String url) throws MalformedURLException method URL (line 16) | public URL(URL context, String spec) throws MalformedURLException { method openConnection (line 20) | public URLConnection openConnection() throws java.io.IOException { method openConnection (line 24) | public URLConnection openConnection(Proxy proxy) throws java.io.IOExce... method openStream (line 28) | public final InputStream openStream() throws java.io.IOException { method getPath (line 32) | public String getPath() { FILE: src/peergos/gwt/emu/java/net/URLConnection.java class URLConnection (line 10) | public class URLConnection { method getInputStream (line 12) | public InputStream getInputStream() throws IOException { method getOutputStream (line 15) | public OutputStream getOutputStream() throws IOException { method getErrorStream (line 18) | public InputStream getErrorStream() throws IOException { method getHeaderFields (line 21) | public Map> getHeaderFields() { method setDoOutput (line 24) | public void setDoOutput(boolean dooutput) { method getContentEncoding (line 27) | public String getContentEncoding() { FILE: src/peergos/gwt/emu/java/net/URLEncoder.java class URLEncoder (line 26) | public class URLEncoder { method URLEncoder (line 33) | private URLEncoder() { method encode (line 50) | @Deprecated method encode (line 90) | public static String encode(String s, String enc) throws UnsupportedEn... method convert (line 125) | private static void convert(String s, StringBuilder buf, String enc) FILE: src/peergos/gwt/emu/java/net/UnknownHostException.java class UnknownHostException (line 5) | public class UnknownHostException extends IOException{ method UnknownHostException (line 7) | public UnknownHostException() { method UnknownHostException (line 10) | public UnknownHostException(String msg) { FILE: src/peergos/gwt/emu/java/nio/Buffer.java class Buffer (line 43) | public abstract class Buffer { method Buffer (line 65) | Buffer (int capacity) { method capacity (line 77) | public final int capacity () { method clear (line 89) | public final Buffer clear () { method flip (line 106) | public final Buffer flip () { method hasRemaining (line 117) | public final boolean hasRemaining () { method isReadOnly (line 125) | public abstract boolean isReadOnly (); method limit (line 131) | public final int limit () { method limit (line 146) | public final Buffer limit (int newLimit) { method mark (line 165) | public final Buffer mark () { method position (line 174) | public final int position () { method position (line 187) | public final Buffer position (int newPosition) { method remaining (line 203) | public final int remaining () { method reset (line 212) | public final Buffer reset () { method rewind (line 227) | public final Buffer rewind () { FILE: src/peergos/gwt/emu/java/nio/BufferOverflowException.java class BufferOverflowException (line 23) | public class BufferOverflowException extends RuntimeException { method BufferOverflowException (line 30) | public BufferOverflowException () { FILE: src/peergos/gwt/emu/java/nio/CharBuffer.java class CharBuffer (line 32) | public abstract class CharBuffer extends Buffer implements Comparable { method name (line 4) | String name(); method value (line 5) | T value(); FILE: src/peergos/gwt/emu/java/security/SecureRandom.java class SecureRandom (line 3) | public class SecureRandom extends java.util.Random{ method SecureRandom (line 5) | public SecureRandom() method getInstance (line 10) | public static SecureRandom getInstance(String algorithm) { FILE: src/peergos/gwt/emu/java/time/Clock.java class Clock (line 4) | public class Clock { method Clock (line 8) | Clock() { method getZone (line 10) | public ZoneId getZone() { method systemDefaultZone (line 13) | public static Clock systemDefaultZone() { method millis (line 16) | public long millis() { method instant (line 20) | public Instant instant() { FILE: src/peergos/gwt/emu/java/time/DateTimeException.java class DateTimeException (line 3) | public class DateTimeException extends RuntimeException { method DateTimeException (line 5) | public DateTimeException(String message) { method DateTimeException (line 9) | public DateTimeException(String message, Throwable cause) { FILE: src/peergos/gwt/emu/java/time/Instant.java class Instant (line 3) | public class Instant { method Instant (line 14) | private Instant(long epochSecond, int nanos) { method getNano (line 19) | public int getNano() { method getEpochSecond (line 22) | public long getEpochSecond() { method create (line 26) | private static Instant create(long seconds, int nanoOfSecond) { method ofEpochSecond (line 36) | public static Instant ofEpochSecond(long epochSecond) { method ofEpochMilli (line 40) | public static Instant ofEpochMilli(long epochMilli) { FILE: src/peergos/gwt/emu/java/time/LocalDate.java class LocalDate (line 11) | @SuppressWarnings("unusable-by-js") method LocalDate (line 33) | public LocalDate(int year, int month, int dayOfMonth) { method plusDays (line 39) | public LocalDate plusDays(int days) { method of (line 43) | public static LocalDate of(int year, int month, int dayOfMonth) { method parse (line 47) | public static LocalDate parse(String text) { method now (line 67) | public static LocalDate now(Clock clock) { method getYear (line 75) | public int getYear() { method getMonthValue (line 79) | public int getMonthValue() { method ofEpochDay (line 83) | public static LocalDate ofEpochDay(long epochDay) { method now (line 114) | public static LocalDate now() { method isLeapYear (line 118) | public static boolean isLeapYear(long prolepticYear) { method toEpochDay (line 122) | public long toEpochDay() { method resolvePreviousValid (line 143) | private static LocalDate resolvePreviousValid(int year, int month, int... method plusMonths (line 158) | public LocalDate plusMonths(long monthsToAdd) { method isBefore (line 170) | public boolean isBefore(LocalDate other) { method isAfter (line 174) | public boolean isAfter(LocalDate other) { method plusWeeks (line 178) | public LocalDate plusWeeks(long weeksToAdd) { method plusYears (line 182) | public LocalDate plusYears(long yearsToAdd) { method compareTo (line 186) | @Override method equals (line 198) | @Override method hashCode (line 209) | @Override method toString (line 217) | @Override FILE: src/peergos/gwt/emu/java/time/LocalDateTime.java class LocalDateTime (line 8) | public class LocalDateTime implements Comparable{ method LocalDateTime (line 22) | private LocalDateTime(LocalDate date, LocalTime time) { method of (line 27) | public static LocalDateTime of(LocalDate date, LocalTime time) { method toLocalTime (line 31) | public LocalTime toLocalTime() { method toLocalDate (line 34) | public LocalDate toLocalDate() { method toEpochSecond (line 38) | @JsMethod method ofEpochSecond (line 46) | public static LocalDateTime ofEpochSecond(long epochSecond, int nanoOf... method now (line 55) | public static LocalDateTime now(Clock clock) { method now (line 61) | public static LocalDateTime now(ZoneId zone) { method now (line 65) | public static LocalDateTime now() { method getNano (line 69) | public int getNano() { method getYear (line 73) | public int getYear() { method getMonthValue (line 77) | public int getMonthValue() { method plusNanos (line 81) | public LocalDateTime plusNanos(long nanos) { method ofInstant (line 85) | public static LocalDateTime ofInstant(Instant instant, ZoneId zone) { method of (line 89) | @JsMethod method toInstant (line 94) | public Instant toInstant(ZoneOffset offset) { method isBefore (line 97) | public boolean isBefore(LocalDateTime other) { method compareTo (line 101) | @JsMethod method equals (line 111) | @Override method hashCode (line 123) | @Override method toString (line 128) | @Override FILE: src/peergos/gwt/emu/java/time/LocalTime.java class LocalTime (line 5) | @SuppressWarnings("unusable-by-js") method LocalTime (line 40) | public LocalTime(int hour, int minute, int second, int nanoOfSecond) { method getNano (line 47) | public int getNano() { method getSecond (line 51) | public int getSecond() { method getMinute (line 55) | public int getMinute() { method getHour (line 59) | public int getHour() { method toSecondOfDay (line 63) | public int toSecondOfDay() { method toNanoOfDay (line 70) | public long toNanoOfDay() { method ofNanoOfDay (line 78) | public static LocalTime ofNanoOfDay(long nanoOfDay) { method create (line 88) | private static LocalTime create(int hour, int minute, int second, int ... method of (line 95) | public static LocalTime of(int hour, int minute) { method of (line 99) | public static LocalTime of(int hour, int minute, int second) { method compareTo (line 103) | @Override method equals (line 118) | @Override method hashCode (line 131) | @Override method toString (line 137) | @Override FILE: src/peergos/gwt/emu/java/time/ZoneId.java class ZoneId (line 3) | public class ZoneId { method ZoneId (line 7) | public ZoneId() method getRules (line 11) | public ZoneRules getRules() { method systemDefault (line 15) | public static ZoneId systemDefault() { FILE: src/peergos/gwt/emu/java/time/ZoneOffset.java class ZoneOffset (line 3) | @SuppressWarnings("unusable-by-js") method ZoneOffset (line 10) | private ZoneOffset(int totalSeconds) { method ofTotalSeconds (line 14) | public static ZoneOffset ofTotalSeconds(int totalSeconds) { method getTotalSeconds (line 18) | public int getTotalSeconds() { FILE: src/peergos/gwt/emu/java/time/ZoneRules.java class ZoneRules (line 3) | public class ZoneRules { method ZoneRules (line 5) | public ZoneRules() method getOffset (line 9) | public ZoneOffset getOffset(Instant instant) { FILE: src/peergos/gwt/emu/java/time/format/DateTimeParseException.java class DateTimeParseException (line 4) | public class DateTimeParseException extends java.time.DateTimeException { method DateTimeParseException (line 6) | public DateTimeParseException(String message) { method DateTimeParseException (line 10) | public DateTimeParseException(String message, Throwable cause) { FILE: src/peergos/gwt/emu/java/util/Base64.java class Base64 (line 5) | public class Base64 { method getDecoder (line 6) | public static Decoder getDecoder() { method getEncoder (line 9) | public static Encoder getEncoder() { class Decoder (line 12) | public static class Decoder { method decode (line 13) | public byte[] decode(String src) { class Encoder (line 17) | public static class Encoder { method encode (line 18) | public byte[] encode(byte[] src) { method encodeToString (line 23) | public String encodeToString(byte[] src) { FILE: src/peergos/gwt/emu/java/util/Optional.java class Optional (line 34) | public final class Optional { method empty (line 35) | @SuppressWarnings("unchecked") method of (line 40) | @JsMethod method ofNullable (line 44) | public static Optional ofNullable(T value) { method Optional (line 49) | private Optional(T ref) { method isPresent (line 52) | @JsMethod method isEmpty (line 56) | @JsMethod method get (line 60) | @JsMethod method ifPresent (line 65) | public void ifPresent(Consumer consumer) { method or (line 71) | public Optional or(Supplier> suppli... method stream (line 81) | public Stream stream() { method filter (line 85) | public Optional filter(Predicate predicate) { method map (line 92) | public Optional map(Function mapper) { method flatMap (line 99) | public Optional flatMap(Function> mapper) { method orElse (line 106) | public T orElse(T other) { method orElseGet (line 109) | public T orElseGet(Supplier other) { method orElseThrow (line 112) | public T orElseThrow(Supplier excep... method equals (line 118) | @Override method hashCode (line 129) | @Override method toString (line 133) | @Override FILE: src/peergos/gwt/emu/java/util/UUID.java class UUID (line 3) | public final class UUID { method UUID (line 6) | private UUID(String uuid) { method randomUUID (line 9) | public static UUID randomUUID() { method toString (line 13) | public String toString() { method uuid (line 50) | private static String uuid() { FILE: src/peergos/gwt/emu/java/util/concurrent/CompletableFuture.java class CompletableFuture (line 11) | public class CompletableFuture implements Future, CompletionStage<... method completedFuture (line 13) | public static CompletableFuture completedFuture(T value) { method CompletableFuture (line 30) | private CompletableFuture(T value, Throwable err, boolean isDone) { method CompletableFuture (line 36) | public CompletableFuture() { method CompletableFuture (line 40) | private CompletableFuture(T value) { method CompletableFuture (line 44) | private CompletableFuture(Throwable err) { method join (line 48) | public T join() { method thenApply (line 52) | @Override method thenAccept (line 73) | @Override method thenCombine (line 94) | @Override method thenCompose (line 99) | @Override method complete (line 125) | @JsMethod method completeExceptionally (line 182) | @JsMethod method isDone (line 232) | @Override method isCancelled (line 237) | @Override method cancel (line 242) | @Override method toCompletableFuture (line 247) | @Override method exceptionally (line 252) | @Override method supplyAsync (line 276) | public static java.util.concurrent.CompletableFuture supplyAsyn... method get (line 280) | @Override method get (line 285) | @Override method thenApplyAsync (line 290) | public CompletionStage thenApplyAsync(Function CompletionStage thenApplyAsync(Function thenAcceptAsync(Consumer actio... method thenAcceptAsync (line 296) | public CompletionStage thenAcceptAsync(Consumer actio... method thenRun (line 298) | public CompletionStage thenRun(Runnable action) { throw new ... method thenRunAsync (line 300) | public CompletionStage thenRunAsync(Runnable action) { throw... method thenRunAsync (line 302) | public CompletionStage thenRunAsync(Runnable action, Executor ex... method thenCombineAsync (line 304) | public CompletionStage thenCombineAsync(CompletionStage CompletionStage thenCombineAsync(CompletionStage CompletionStage thenAcceptBoth(CompletionStage CompletionStage thenAcceptBothAsync(CompletionStage CompletionStage thenAcceptBothAsync(CompletionStage runAfterBoth(CompletionStage other, Ru... method runAfterBothAsync (line 316) | public CompletionStage runAfterBothAsync(CompletionStage othe... method runAfterBothAsync (line 318) | public CompletionStage runAfterBothAsync(CompletionStage othe... method applyToEither (line 320) | public CompletionStage applyToEither(CompletionStage CompletionStage applyToEitherAsync(CompletionStage CompletionStage applyToEitherAsync(CompletionStage acceptEither(CompletionStage... method acceptEitherAsync (line 328) | public CompletionStage acceptEitherAsync(CompletionStage acceptEitherAsync(CompletionStage runAfterEither(CompletionStage other, ... method runAfterEitherAsync (line 333) | public CompletionStage runAfterEitherAsync(CompletionStage ot... method runAfterEitherAsync (line 335) | public CompletionStage runAfterEitherAsync(CompletionStage ot... method thenComposeAsync (line 337) | public CompletionStage thenComposeAsync(Function CompletionStage thenComposeAsync(Function whenComplete(BiConsumer whenCompleteAsync(BiConsumer whenCompleteAsync(BiConsumer CompletionStage handle(BiFunction CompletionStage handleAsync(BiFunction CompletionStage handleAsync(BiFunction { method applyToEither (line 29) | CompletionStage applyToEither(CompletionStage other, method applyToEitherAsync (line 32) | CompletionStage applyToEitherAsync(CompletionStage... method applyToEitherAsync (line 35) | CompletionStage applyToEitherAsync(CompletionStage... method acceptEither (line 38) | CompletionStage acceptEither(CompletionStage other,... method acceptEitherAsync (line 40) | CompletionStage acceptEitherAsync(CompletionStage o... method acceptEitherAsync (line 43) | CompletionStage acceptEitherAsync(CompletionStage o... method thenAccept (line 46) | CompletionStage thenAccept(Consumer action); method thenAcceptAsync (line 48) | CompletionStage thenAcceptAsync(Consumer action); method thenAcceptAsync (line 50) | CompletionStage thenAcceptAsync(Consumer action, Exec... method thenAcceptBoth (line 52) | CompletionStage thenAcceptBoth(CompletionStage ... method thenAcceptBothAsync (line 55) | CompletionStage thenAcceptBothAsync(CompletionStage CompletionStage thenAcceptBothAsync(CompletionStage CompletionStage thenApply(Function fn); method thenApplyAsync (line 63) | CompletionStage thenApplyAsync(Function ... method thenApplyAsync (line 65) | CompletionStage thenApplyAsync(Function ... method thenCombine (line 67) | CompletionStage thenCombine(CompletionStage other, method thenCombineAsync (line 70) | CompletionStage thenCombineAsync(CompletionStage... method thenCombineAsync (line 73) | CompletionStage thenCombineAsync(CompletionStage... method thenCompose (line 76) | CompletionStage thenCompose(Function CompletionStage thenComposeAsync(Function CompletionStage thenComposeAsync(Function thenRun(Runnable action); method thenRunAsync (line 85) | CompletionStage thenRunAsync(Runnable action); method thenRunAsync (line 87) | CompletionStage thenRunAsync(Runnable action, Executor executor); method runAfterBoth (line 89) | CompletionStage runAfterBoth(CompletionStage other, Runnable ... method runAfterBothAsync (line 91) | CompletionStage runAfterBothAsync(CompletionStage other, Runn... method runAfterBothAsync (line 93) | CompletionStage runAfterBothAsync(CompletionStage other, Runn... method runAfterEither (line 95) | CompletionStage runAfterEither(CompletionStage other, Runnabl... method runAfterEitherAsync (line 97) | CompletionStage runAfterEitherAsync(CompletionStage other, Ru... method runAfterEitherAsync (line 99) | CompletionStage runAfterEitherAsync(CompletionStage other, Ru... method whenComplete (line 102) | CompletionStage whenComplete(BiConsumer whenCompleteAsync(BiConsumer whenCompleteAsync(BiConsumer exceptionally(Function fn); method handle (line 111) | CompletionStage handle(BiFunction CompletionStage handleAsync(BiFunction CompletionStage handleAsync(BiFunction toCompletableFuture(); FILE: src/peergos/gwt/emu/java/util/concurrent/ExecutionException.java class ExecutionException (line 3) | public class ExecutionException extends RuntimeException { FILE: src/peergos/gwt/emu/java/util/concurrent/ExecutorService.java type ExecutorService (line 3) | public interface ExecutorService { method execute (line 4) | void execute(Runnable var1); FILE: src/peergos/gwt/emu/java/util/concurrent/ForkJoinPool.java class ForkJoinPool (line 5) | public class ForkJoinPool implements ExecutorService { method ForkJoinPool (line 10) | public ForkJoinPool(JSForkJoinPool pool) { method commonPool (line 14) | public static ForkJoinPool commonPool() { method execute (line 18) | public void execute(Runnable task) { class JSForkJoinPool (line 22) | @JsType(namespace = "ForkJoinJS", isNative = true) method execute (line 24) | public native void execute(Runnable task); FILE: src/peergos/gwt/emu/java/util/concurrent/ScheduledFuture.java type ScheduledFuture (line 3) | public interface ScheduledFuture { FILE: src/peergos/gwt/emu/java/util/concurrent/ScheduledThreadPoolExecutor.java class ScheduledThreadPoolExecutor (line 11) | public class ScheduledThreadPoolExecutor { method ScheduledThreadPoolExecutor (line 15) | public ScheduledThreadPoolExecutor(int corePoolSize) { method schedule (line 18) | public ScheduledFuture schedule(Callable callable, long dela... class CallableWrapper (line 28) | private static class CallableWrapper { method CallableWrapper (line 30) | public CallableWrapper(Callable callable) { method call (line 33) | @JsMethod class NativeJSScheduler (line 38) | @JsType(namespace = "callback", isNative = true) method callAfterDelay (line 40) | public native void callAfterDelay(CallableWrapper func, int delayMs); FILE: src/peergos/gwt/emu/java/util/concurrent/TimeUnit.java type TimeUnit (line 22) | public enum TimeUnit { method toNanos (line 24) | public long toNanos(long d) { return d; } method toMicros (line 25) | public long toMicros(long d) { return d / C1_C0; } method toMillis (line 26) | public long toMillis(long d) { return d / C2_C0; } method toSeconds (line 27) | public long toSeconds(long d) { return d / C3_C0; } method toMinutes (line 28) | public long toMinutes(long d) { return d / C4_C0; } method toHours (line 29) | public long toHours(long d) { return d / C5_C0; } method toDays (line 30) | public long toDays(long d) { return d / C6_C0; } method convert (line 31) | public long convert(long d, TimeUnit u) { return u.toNanos(d); } method excessNanos (line 32) | int excessNanos(long d, long m) { return (int)(d - (m*C2)); } method toNanos (line 35) | public long toNanos(long d) { return x(d, C1_C0, MAX_C1_C0); } method toMicros (line 36) | public long toMicros(long d) { return d; } method toMillis (line 37) | public long toMillis(long d) { return d / C2_C1; } method toSeconds (line 38) | public long toSeconds(long d) { return d / C3_C1; } method toMinutes (line 39) | public long toMinutes(long d) { return d / C4_C1; } method toHours (line 40) | public long toHours(long d) { return d / C5_C1; } method toDays (line 41) | public long toDays(long d) { return d / C6_C1; } method convert (line 42) | public long convert(long d, TimeUnit u) { return u.toMicros(d); } method excessNanos (line 43) | int excessNanos(long d, long m) { return (int)((d*C1) - (m*C2)); } method toNanos (line 46) | public long toNanos(long d) { return x(d, C2_C0, MAX_C2_C0); } method toMicros (line 47) | public long toMicros(long d) { return x(d, C2_C1, MAX_C2_C1); } method toMillis (line 48) | public long toMillis(long d) { return d; } method toSeconds (line 49) | public long toSeconds(long d) { return d / C3_C2; } method toMinutes (line 50) | public long toMinutes(long d) { return d / C4_C2; } method toHours (line 51) | public long toHours(long d) { return d / C5_C2; } method toDays (line 52) | public long toDays(long d) { return d / C6_C2; } method convert (line 53) | public long convert(long d, TimeUnit u) { return u.toMillis(d); } method excessNanos (line 54) | int excessNanos(long d, long m) { return 0; } method toNanos (line 57) | public long toNanos(long d) { return x(d, C3_C0, MAX_C3_C0); } method toMicros (line 58) | public long toMicros(long d) { return x(d, C3_C1, MAX_C3_C1); } method toMillis (line 59) | public long toMillis(long d) { return x(d, C3_C2, MAX_C3_C2); } method toSeconds (line 60) | public long toSeconds(long d) { return d; } method toMinutes (line 61) | public long toMinutes(long d) { return d / C4_C3; } method toHours (line 62) | public long toHours(long d) { return d / C5_C3; } method toDays (line 63) | public long toDays(long d) { return d / C6_C3; } method convert (line 64) | public long convert(long d, TimeUnit u) { return u.toSeconds(d); } method excessNanos (line 65) | int excessNanos(long d, long m) { return 0; } method toNanos (line 68) | public long toNanos(long d) { return x(d, C4_C0, MAX_C4_C0); } method toMicros (line 69) | public long toMicros(long d) { return x(d, C4_C1, MAX_C4_C1); } method toMillis (line 70) | public long toMillis(long d) { return x(d, C4_C2, MAX_C4_C2); } method toSeconds (line 71) | public long toSeconds(long d) { return x(d, C4_C3, MAX_C4_C3); } method toMinutes (line 72) | public long toMinutes(long d) { return d; } method toHours (line 73) | public long toHours(long d) { return d / C5_C4; } method toDays (line 74) | public long toDays(long d) { return d / C6_C4; } method convert (line 75) | public long convert(long d, TimeUnit u) { return u.toMinutes(d); } method excessNanos (line 76) | int excessNanos(long d, long m) { return 0; } method toNanos (line 79) | public long toNanos(long d) { return x(d, C5_C0, MAX_C5_C0); } method toMicros (line 80) | public long toMicros(long d) { return x(d, C5_C1, MAX_C5_C1); } method toMillis (line 81) | public long toMillis(long d) { return x(d, C5_C2, MAX_C5_C2); } method toSeconds (line 82) | public long toSeconds(long d) { return x(d, C5_C3, MAX_C5_C3); } method toMinutes (line 83) | public long toMinutes(long d) { return x(d, C5_C4, MAX_C5_C4); } method toHours (line 84) | public long toHours(long d) { return d; } method toDays (line 85) | public long toDays(long d) { return d / C6_C5; } method convert (line 86) | public long convert(long d, TimeUnit u) { return u.toHours(d); } method excessNanos (line 87) | int excessNanos(long d, long m) { return 0; } method toNanos (line 90) | public long toNanos(long d) { return x(d, C6_C0, MAX_C6_C0); } method toMicros (line 91) | public long toMicros(long d) { return x(d, C6_C1, MAX_C6_C1); } method toMillis (line 92) | public long toMillis(long d) { return x(d, C6_C2, MAX_C6_C2); } method toSeconds (line 93) | public long toSeconds(long d) { return x(d, C6_C3, MAX_C6_C3); } method toMinutes (line 94) | public long toMinutes(long d) { return x(d, C6_C4, MAX_C6_C4); } method toHours (line 95) | public long toHours(long d) { return x(d, C6_C5, MAX_C6_C5); } method toDays (line 96) | public long toDays(long d) { return d; } method convert (line 97) | public long convert(long d, TimeUnit u) { return u.toDays(d); } method excessNanos (line 98) | int excessNanos(long d, long m) { return 0; } method x (line 166) | static long x(long d, long m, long over) { method convert (line 174) | public long convert(long sourceDuration, TimeUnit sourceUnit) { method toNanos (line 178) | public long toNanos(long duration) { method toMicros (line 182) | public long toMicros(long duration) { method toMillis (line 186) | public long toMillis(long duration) { method toSeconds (line 190) | public long toSeconds(long duration) { method toMinutes (line 194) | public long toMinutes(long duration) { method toHours (line 198) | public long toHours(long duration) { method toDays (line 202) | public long toDays(long duration) { method excessNanos (line 206) | abstract int excessNanos(long d, long m); FILE: src/peergos/gwt/emu/java/util/concurrent/TimeoutException.java class TimeoutException (line 22) | public class TimeoutException extends Exception { method TimeoutException (line 23) | public TimeoutException() {} method TimeoutException (line 25) | public TimeoutException(String message) { FILE: src/peergos/gwt/emu/java/util/function/Consumer.java type Consumer (line 6) | @FunctionalInterface method accept (line 10) | void accept(T t); method andThen (line 12) | default java.util.function.Consumer andThen(java.util.function.Cons... FILE: src/peergos/gwt/emu/java/util/function/Function.java type Function (line 29) | @FunctionalInterface method identity (line 33) | @JsOverlay method apply (line 38) | R apply(T t); method andThen (line 40) | @JsOverlay method compose (line 46) | @JsOverlay FILE: src/peergos/gwt/emu/java/util/zip/Adler32.java class Adler32 (line 97) | public class Adler32 implements Checksum method Adler32 (line 114) | public Adler32 () method reset (line 122) | public void reset () method update (line 132) | public void update (int bval) method update (line 150) | public void update (byte[] buffer) method update (line 162) | public void update (byte[] buf, int off, int len) method getValue (line 201) | public long getValue() FILE: src/peergos/gwt/emu/java/util/zip/CRC32.java class CRC32 (line 60) | public class CRC32 implements Checksum method make_crc_table (line 69) | private static int[] make_crc_table () method getValue (line 90) | public long getValue () method reset (line 98) | public void reset () { crc = 0; } method update (line 106) | public void update (int bval) method update (line 120) | public void update (byte[] buf, int off, int len) method update (line 131) | public void update (byte[] buf) { update(buf, 0, buf.length); } FILE: src/peergos/gwt/emu/java/util/zip/Checksum.java type Checksum (line 59) | public interface Checksum method getValue (line 64) | long getValue(); method reset (line 69) | void reset(); method update (line 76) | void update (int bval); method update (line 85) | void update (byte[] buf, int off, int len); FILE: src/peergos/gwt/emu/java/util/zip/Deflater.java class Deflater (line 51) | public class Deflater method Deflater (line 164) | public Deflater() method Deflater (line 175) | public Deflater(int lvl) method Deflater (line 189) | public Deflater(int lvl, boolean nowrap) method reset (line 209) | public void reset() method end (line 225) | public void end() method getAdler (line 236) | public int getAdler() method getTotalIn (line 244) | @Deprecated method getBytesRead (line 254) | public long getBytesRead() method getTotalOut (line 262) | @Deprecated method getBytesWritten (line 272) | public long getBytesWritten() method finalize (line 280) | protected void finalize() method flush (line 292) | void flush() { method finish (line 301) | public void finish() { method finished (line 309) | public boolean finished() method needsInput (line 321) | public boolean needsInput() method setInput (line 337) | public void setInput(byte[] input) method setInput (line 353) | public void setInput(byte[] input, int off, int len) method setLevel (line 367) | public void setLevel(int lvl) method setStrategy (line 389) | public void setStrategy(int stgy) method deflate (line 403) | public int deflate(byte[] output) method deflate (line 419) | public int deflate(byte[] output, int offset, int length) method setDictionary (line 513) | public void setDictionary(byte[] dict) method setDictionary (line 531) | public void setDictionary(byte[] dict, int offset, int length) FILE: src/peergos/gwt/emu/java/util/zip/DeflaterConstants.java type DeflaterConstants (line 40) | interface DeflaterConstants FILE: src/peergos/gwt/emu/java/util/zip/DeflaterEngine.java class DeflaterEngine (line 40) | class DeflaterEngine implements DeflaterConstants method DeflaterEngine (line 125) | DeflaterEngine(DeflaterPending pending) { method reset (line 140) | public void reset() method resetAdler (line 155) | public final void resetAdler() method getAdler (line 160) | public final int getAdler() method getTotalIn (line 166) | public final int getTotalIn() method setStrategy (line 171) | public final void setStrategy(int strat) method setLevel (line 176) | public void setLevel(int lvl) method updateHash (line 224) | private void updateHash() { method insertString (line 234) | private int insertString() { method slideWindow (line 256) | private void slideWindow() method fillWindow (line 288) | private void fillWindow() method findLongestMatch (line 328) | private boolean findLongestMatch(int curMatch) { method setDictionary (line 402) | void setDictionary(byte[] buffer, int offset, int length) { method deflateStored (line 426) | private boolean deflateStored(boolean flush, boolean finish) method deflateFast (line 459) | private boolean deflateFast(boolean flush, boolean finish) method deflateSlow (line 542) | private boolean deflateSlow(boolean flush, boolean finish) method deflate (line 643) | public boolean deflate(boolean flush, boolean finish) method setInput (line 674) | public void setInput(byte[] buf, int off, int len) method needsInput (line 693) | public final boolean needsInput() FILE: src/peergos/gwt/emu/java/util/zip/DeflaterHuffman.java class DeflaterHuffman (line 49) | class DeflaterHuffman class Tree (line 65) | class Tree { method Tree (line 73) | Tree(int elems, int minCodes, int maxLength) { method reset (line 80) | void reset() { method writeSymbol (line 87) | final void writeSymbol(int code) method checkEmpty (line 97) | final void checkEmpty() method setStaticCodes (line 111) | void setStaticCodes(short[] stCodes, byte[] stLength) method buildCodes (line 117) | public void buildCodes() { method buildLength (line 150) | private void buildLength(int childs[]) method buildTree (line 253) | void buildTree() method getEncodedLength (line 381) | int getEncodedLength() method calcBLFreq (line 389) | void calcBLFreq(Tree blTree) { method writeTree (line 436) | void writeTree(Tree blTree) method bitReverse (line 515) | static short bitReverse(int value) { method DeflaterHuffman (line 554) | public DeflaterHuffman(DeflaterPending pending) method reset (line 566) | public final void reset() { method l_code (line 574) | private int l_code(int len) { method d_code (line 587) | private int d_code(int distance) { method sendAllTrees (line 597) | public void sendAllTrees(int blTreeCodes) { method compressBlock (line 612) | public void compressBlock() { method flushStoredBlock (line 658) | public void flushStoredBlock(byte[] stored, method flushBlock (line 672) | public void flushBlock(byte[] stored, int stored_offset, int stored_len, method isFull (line 737) | public final boolean isFull() method tallyLit (line 742) | public final boolean tallyLit(int lit) method tallyDist (line 757) | public final boolean tallyDist(int dist, int len) FILE: src/peergos/gwt/emu/java/util/zip/DeflaterOutputStream.java class DeflaterOutputStream (line 62) | public class DeflaterOutputStream extends FilterOutputStream method deflate (line 80) | protected void deflate() throws IOException method DeflaterOutputStream (line 101) | public DeflaterOutputStream(OutputStream out) method DeflaterOutputStream (line 112) | public DeflaterOutputStream(OutputStream out, Deflater defl) method DeflaterOutputStream (line 125) | public DeflaterOutputStream(OutputStream out, Deflater defl, int bufsize) method flush (line 140) | public void flush() throws IOException method finish (line 152) | public void finish() throws IOException method close (line 170) | public void close() throws IOException method write (line 180) | public void write(int bval) throws IOException method write (line 193) | public void write(byte[] buf, int off, int len) throws IOException FILE: src/peergos/gwt/emu/java/util/zip/DeflaterPending.java class DeflaterPending (line 47) | class DeflaterPending extends PendingBuffer method DeflaterPending (line 49) | public DeflaterPending() FILE: src/peergos/gwt/emu/java/util/zip/GZIPInputStream.java class GZIPInputStream (line 25) | public class GZIPInputStream extends InflaterInputStream { method GZIPInputStream (line 26) | public GZIPInputStream (InputStream in, int size) { method GZIPInputStream (line 29) | public GZIPInputStream(InputStream in) throws IOException { FILE: src/peergos/gwt/emu/java/util/zip/InflaterInputStream.java class InflaterInputStream (line 25) | public class InflaterInputStream extends InputStream { method InflaterInputStream (line 28) | public InflaterInputStream (InputStream in) { method read (line 32) | @Override method close (line 37) | @Override FILE: src/peergos/gwt/emu/java/util/zip/PendingBuffer.java class PendingBuffer (line 51) | class PendingBuffer method PendingBuffer (line 60) | public PendingBuffer() method PendingBuffer (line 65) | public PendingBuffer(int bufsize) method reset (line 70) | public final void reset() { method writeByte (line 74) | public final void writeByte(int b) method writeShort (line 81) | public final void writeShort(int s) method writeInt (line 89) | public final void writeInt(int s) method writeBlock (line 99) | public final void writeBlock(byte[] block, int offset, int len) method getBitCount (line 107) | public final int getBitCount() { method alignToByte (line 111) | public final void alignToByte() { method writeBits (line 124) | public final void writeBits(int b, int count) method writeShortMSB (line 140) | public final void writeShortMSB(int s) { method isFlushed (line 147) | public final boolean isFlushed() { method flush (line 161) | public final int flush(byte[] output, int offset, int length) { method toByteArray (line 189) | public final byte[] toByteArray() FILE: src/peergos/gwt/emu/javafx/application/Platform.java class Platform (line 3) | public final class Platform { method runLater (line 5) | public static void runLater(Runnable runnable) {} FILE: src/peergos/gwt/emu/javafx/embed/swing/JFXPanel.java class JFXPanel (line 3) | public final class JFXPanel { method JFXPanel (line 4) | public JFXPanel(){ FILE: src/peergos/gwt/emu/javafx/embed/swing/SwingFXUtils.java class SwingFXUtils (line 6) | public final class SwingFXUtils { method fromFXImage (line 7) | public static BufferedImage fromFXImage(Image img, BufferedImage bimg) { FILE: src/peergos/gwt/emu/javafx/scene/SnapshotParameters.java class SnapshotParameters (line 3) | public final class SnapshotParameters { FILE: src/peergos/gwt/emu/javafx/scene/image/Image.java class Image (line 3) | public class Image{ method Image (line 5) | public Image() { FILE: src/peergos/gwt/emu/javafx/scene/image/WritableImage.java class WritableImage (line 3) | public final class WritableImage extends Image { method WritableImage (line 4) | public WritableImage(int width, int height) { FILE: src/peergos/gwt/emu/javafx/scene/media/Media.java class Media (line 5) | public final class Media { method Media (line 6) | public Media(String source){ method getDuration (line 9) | public final Duration getDuration() { FILE: src/peergos/gwt/emu/javafx/scene/media/MediaPlayer.java class MediaPlayer (line 4) | public final class MediaPlayer{ method MediaPlayer (line 5) | public MediaPlayer(Media media){ method seek (line 8) | public void seek(Duration seekTime) { FILE: src/peergos/gwt/emu/javafx/scene/media/MediaView.java class MediaView (line 5) | public final class MediaView{ method MediaView (line 6) | public MediaView() { method setFitWidth (line 9) | public void setFitWidth(int width){ method setFitHeight (line 12) | public void setFitHeight(int height) { method setMediaPlayer (line 15) | public void setMediaPlayer(MediaPlayer mediaPlayer){ method setPreserveRatio (line 18) | public void setPreserveRatio(boolean preserverRatio) { method snapshot (line 21) | public WritableImage snapshot(SnapshotParameters params, WritableImage... FILE: src/peergos/gwt/emu/javafx/util/Duration.java class Duration (line 3) | public final class Duration { method seconds (line 5) | public static Duration seconds(double s) { method isUnknown (line 9) | public boolean isUnknown() { method toSeconds (line 12) | public double toSeconds() { FILE: src/peergos/gwt/emu/javax/crypto/Mac.java class Mac (line 5) | public class Mac { method getInstance (line 7) | public static Mac getInstance(String algo) method init (line 12) | public void init(SecretKeySpec spec) method getMacLength (line 17) | public int getMacLength() method update (line 22) | public void update(byte[] b) method doFinal (line 27) | public void doFinal(byte[] a, int i) FILE: src/peergos/gwt/emu/javax/crypto/spec/SecretKeySpec.java class SecretKeySpec (line 3) | public class SecretKeySpec { method SecretKeySpec (line 7) | public SecretKeySpec(byte[] key, String algorithm) method getEncoded (line 13) | public byte[] getEncoded() { FILE: src/peergos/gwt/emu/javax/imageio/ImageIO.java class ImageIO (line 12) | public class ImageIO { method read (line 14) | public static BufferedImage read(InputStream input) throws IOException { method write (line 18) | public static boolean write(RenderedImage im, FILE: src/peergos/server/AggregatedMetrics.java class AggregatedMetrics (line 14) | public class AggregatedMetrics { method build (line 15) | private static Counter build(String name, String help) { method startExporter (line 89) | public static synchronized void startExporter(String address, int port... FILE: src/peergos/server/Builder.java class Builder (line 50) | public class Builder { method disableLog (line 52) | public static void disableLog() { method initNativeCrypto (line 56) | public static Crypto initNativeCrypto(Salsa20Poly1305 symmetric, Ed255... method initCrypto (line 61) | public static Crypto initCrypto() { method initCrypto (line 65) | public static Crypto initCrypto(Hasher h) { method getDBConnector (line 80) | public static Supplier getDBConnector(Args a, String dbNam... method getPostgresConnector (line 87) | public static Supplier getPostgresConnector(Args a, String... method getDBConnector (line 114) | public static Supplier getDBConnector(Args a, String dbNam... method buildEphemeralSqlite (line 133) | public static Supplier buildEphemeralSqlite() { method buildIpfsApi (line 144) | public static JavaPoster buildIpfsApi(Args a) { method buildP2pHttpProxy (line 154) | public static JavaPoster buildP2pHttpProxy(Args a) { method bloomfilterSizeBytes (line 171) | public static int bloomfilterSizeBytes(double falsePositivesProbabilit... method blockstorePath (line 183) | public static Path blockstorePath(Args args) { method buildS3Properties (line 187) | private static BlockStoreProperties buildS3Properties(Args a) { method buildBlockMetadata (line 197) | public static BlockMetadataStore buildBlockMetadata(Args a) { method buildP2PBlockRetrieverForS3 (line 212) | public static ContentAddressedStorageProxy buildP2PBlockRetrieverForS3... method buildLocalStorage (line 227) | public static DeletableContentAddressedStorage buildLocalStorage(Args a, method blockAuthoriser (line 321) | public static BlockRequestAuthoriser blockAuthoriser(Args a, method getSqlCommands (line 333) | public static SqlSupplier getSqlCommands(Args a) { method buildTransactionStore (line 338) | public static TransactionStore buildTransactionStore(Args a, Supplier<... method isPaidInstance (line 342) | public static boolean isPaidInstance(Args a) { method buildSpaceQuotas (line 346) | public static QuotaAdmin buildSpaceQuotas(Args a, method buildPaidQuotas (line 371) | public static QuotaAdmin buildPaidQuotas(Args a) { method buildPkiCorenode (line 376) | public static CoreNode buildPkiCorenode(MutablePointers mutable, method getPkiServerId (line 410) | public static Multihash getPkiServerId(Args a) { method buildCorenode (line 414) | public static CoreNode buildCorenode(Args a, method buildRawPointers (line 449) | public static JdbcIpnsAndSocial buildRawPointers(Args a, Supplier buildJavaGatewayAccess(... method buildJavaNetworkAccess (line 462) | public static CompletableFuture buildJavaNetworkAccess(... method buildJavaNetworkAccess (line 469) | public static CompletableFuture buildJavaNetworkAccess(... method buildNonCachingJavaNetworkAccess (line 477) | public static CompletableFuture buildNonCachingJavaNetw... method buildLocalJavaNetworkAccess (line 489) | public static CompletableFuture buildLocalJavaNetworkAc... FILE: src/peergos/server/Command.java class Command (line 10) | public class Command { class Arg (line 11) | public static class Arg { method Arg (line 16) | public Arg(String name, String description, boolean isRequired) { method Arg (line 23) | public Arg(String name, String description, boolean isRequired, Stri... method Command (line 36) | public Command(String name, String description, method Command (line 42) | public Command(String name, String description, method main (line 53) | public V main(Args args) { method ensureArgs (line 78) | private void ensureArgs(Args args) { method helpMessage (line 90) | public String helpMessage() { FILE: src/peergos/server/DesktopApp.java class DesktopApp (line 11) | public class DesktopApp { method launch (line 13) | public static void launch(Args args, int port, URI api) throws IOExcep... FILE: src/peergos/server/DirectOnlyStorage.java class DirectOnlyStorage (line 9) | public class DirectOnlyStorage extends DelegatingStorage { method DirectOnlyStorage (line 12) | public DirectOnlyStorage(ContentAddressedStorage target) { method directToOrigin (line 17) | @Override method blockStoreProperties (line 22) | @Override FILE: src/peergos/server/HostDirChooser.java type HostDirChooser (line 10) | public interface HostDirChooser { method chooseDir (line 11) | CompletableFuture chooseDir(); class Flatpak (line 13) | class Flatpak implements HostDirChooser { method chooseDir (line 14) | @Override method persistFlatpakPermission (line 43) | private static void persistFlatpakPermission(String path) throws Exc... method getAppId (line 54) | private static String getAppId() { FILE: src/peergos/server/HostDirEnumerator.java type HostDirEnumerator (line 15) | public interface HostDirEnumerator { method getHostDirs (line 17) | CompletableFuture> getHostDirs(String prefix, int maxDepth); class Java (line 19) | class Java implements HostDirEnumerator { method getHostDirs (line 20) | @Override method recurse (line 49) | private void recurse(File dir, List res, int maxDepth) { FILE: src/peergos/server/JavaCrypto.java class JavaCrypto (line 11) | public class JavaCrypto { method init (line 13) | public static Crypto init() { FILE: src/peergos/server/JdbcAddressLRU.java class JdbcAddressLRU (line 28) | public class JdbcAddressLRU implements AddressBook { method JdbcAddressLRU (line 42) | public JdbcAddressLRU(int maxSize, Supplier conn, SqlSuppl... method getConnection (line 48) | private Connection getConnection() { method init (line 59) | private synchronized void init(SqlSupplier commands) { method addAddrs (line 73) | @NotNull method getAddrs (line 86) | @NotNull method size (line 109) | public int size() { method removeOldest (line 121) | private void removeOldest(int toRemove) { method setAddrs (line 132) | @NotNull method close (line 155) | public synchronized void close() { method buildSqlite (line 162) | public static JdbcAddressLRU buildSqlite(int maxSize, String db) { FILE: src/peergos/server/JdbcPkiCache.java class JdbcPkiCache (line 16) | public class JdbcPkiCache implements PkiCache { method JdbcPkiCache (line 27) | public JdbcPkiCache(Supplier conn, SqlSupplier commands) { method getConnection (line 32) | private Connection getConnection() { method init (line 43) | private synchronized void init(SqlSupplier commands) { method hasUser (line 56) | private boolean hasUser(String username) { method getChain (line 72) | public CompletableFuture> getChain(String user... method setChain (line 88) | public CompletableFuture setChain(String username, List getUsername(PublicKeyHash identity) { method close (line 135) | public synchronized void close() { FILE: src/peergos/server/JdbcRecordLRU.java class JdbcRecordLRU (line 26) | public class JdbcRecordLRU implements RecordStore { method JdbcRecordLRU (line 44) | public JdbcRecordLRU(int maxSize, Supplier conn, SqlSuppli... method getConnection (line 50) | private Connection getConnection() { method init (line 61) | private synchronized void init(SqlSupplier commands) { method hashToKey (line 76) | private String hashToKey(Multihash hash) { method put (line 82) | @Override method get (line 103) | @Override method remove (line 138) | @Override method size (line 149) | public int size() { method removeOldest (line 161) | private void removeOldest(int toRemove) { method close (line 172) | public synchronized void close() { method buildSqlite (line 179) | public static JdbcRecordLRU buildSqlite(int maxSize, String db) { FILE: src/peergos/server/LinkIdentity.java class LinkIdentity (line 18) | public class LinkIdentity { method link (line 27) | public static void link(Args a, NetworkAccess network, Crypto crypto) { method uploadProof (line 62) | private static void uploadProof(IdentityLinkProof proof, UserContext c... method verify (line 74) | public static void verify(Args a, NetworkAccess network) { FILE: src/peergos/server/Login.java class Login (line 12) | public class Login { method main (line 14) | public static void main(String[] args) throws Exception { FILE: src/peergos/server/LoginUpdate.java class LoginUpdate (line 29) | public class LoginUpdate { method main (line 31) | public static void main(String[] a) throws Exception { FILE: src/peergos/server/LookupOwner.java class LookupOwner (line 18) | public class LookupOwner { method main (line 20) | public static void main(String[] args) throws Exception { FILE: src/peergos/server/Main.java class Main (line 67) | public class Main extends Builder { method bootstrap (line 188) | private static Args bootstrap(Args args) { method poststrap (line 232) | public static final void poststrap(Args args) { method isLanIP (line 733) | public static boolean isLanIP(String host) { method isLoopbackHost (line 744) | private static boolean isLoopbackHost(String host) { method getAppServerUrl (line 752) | private static String getAppServerUrl(Args args) { method readSavedServerUrl (line 767) | private static Optional readSavedServerUrl(Path peergosDir) { method getPkiKey (line 786) | private static PublicKeyHash getPkiKey(PublicKeyHash pkiOwnerIdentity, method startPeergos (line 801) | public static ServerProcesses startPeergos(Args a) { method startGateway (line 1127) | public static PublicGateway startGateway(Args a) { method startFuse (line 1150) | public static FuseProcess startFuse(Args a) { method getMfaResponseCLI (line 1186) | public static CompletableFuture getMfaRespons... method startIpfs (line 1197) | public static IpfsWrapper startIpfs(Args a) { method startShell (line 1206) | public static Boolean startShell(Args args) { method migrate (line 1216) | public static boolean migrate(Args a) { method getLocalMultiAddress (line 1332) | public static MultiAddress getLocalMultiAddress(int port) { method getLocalBootstrapAddress (line 1336) | public static MultiAddress getLocalBootstrapAddress(int port, Multihas... method main (line 1340) | public static void main(String[] args) { FILE: src/peergos/server/Mirror.java class Mirror (line 28) | public class Mirror { method mirrorNode (line 106) | public static int mirrorNode(Multihash nodeId, method mirrorUser (line 187) | public static Map mirrorUser(String username, method mirrorMutableSubspace (line 244) | public static Optional mirrorMutableSubspace(String username, method mirrorMerkleTree (line 267) | public static void mirrorMerkleTree(String username, FILE: src/peergos/server/NonWriteThroughNetwork.java class NonWriteThroughNetwork (line 19) | public class NonWriteThroughNetwork extends NetworkAccess { method NonWriteThroughNetwork (line 21) | protected NonWriteThroughNetwork(CoreNode coreNode, method build (line 36) | public static NetworkAccess build(NetworkAccess source) { FILE: src/peergos/server/Playground.java class Playground (line 19) | public class Playground { method main (line 22) | public static void main(String[] args) throws Exception { method experiment (line 41) | private static void experiment(String username, FILE: src/peergos/server/PublicGateway.java class PublicGateway (line 18) | public class PublicGateway { method PublicGateway (line 26) | public PublicGateway(String domainSuffix, Crypto crypto, NetworkAccess... method shutdown (line 32) | public void shutdown() { method initAndStart (line 36) | public void initAndStart(InetSocketAddress local, FILE: src/peergos/server/Publisher.java class Publisher (line 14) | public class Publisher { method main (line 16) | public static void main(String[] args) throws Exception { FILE: src/peergos/server/Renew.java class Renew (line 11) | public class Renew { method main (line 13) | public static void main(String[] args) throws Exception { FILE: src/peergos/server/RenewUsernameClaim.java class RenewUsernameClaim (line 11) | public class RenewUsernameClaim { method main (line 13) | public static void main(String[] args) throws Exception { FILE: src/peergos/server/ServerAdmin.java class ServerAdmin (line 34) | public class ServerAdmin { method deleteOwnedKeys (line 38) | private static void deleteOwnedKeys(PublicKeyHash id, method deleteOwnedKeysRecurse (line 47) | private static void deleteOwnedKeysRecurse(PublicKeyHash id, FILE: src/peergos/server/ServerIdentity.java class ServerIdentity (line 25) | public class ServerIdentity extends Builder { method generateSignedIpnsRecord (line 85) | public static byte[] generateSignedIpnsRecord(PrivKey peerPrivate, Opt... method generateNextIdentity (line 96) | public static PrivKey generateNextIdentity(String password, PeerId cur... FILE: src/peergos/server/ServerMessages.java class ServerMessages (line 27) | public class ServerMessages extends Builder { method buildQuotaStore (line 102) | private static QuotaAdmin buildQuotaStore(Args a) { FILE: src/peergos/server/ServerProcesses.java class ServerProcesses (line 5) | public class ServerProcesses { method ServerProcesses (line 10) | public ServerProcesses(UserService localApi, UserService p2pApi, IpfsW... FILE: src/peergos/server/SyncProperties.java class SyncProperties (line 9) | public class SyncProperties { method SyncProperties (line 16) | public SyncProperties(SyncConfig config, Path peergosDir, SyncRunner s... FILE: src/peergos/server/UserCleanup.java class UserCleanup (line 23) | public class UserCleanup { method main (line 25) | public static void main(String[] args) throws Exception { method clearUnreachableChampNodes (line 42) | public static void clearUnreachableChampNodes(UserContext c) { method checkRawUsage (line 169) | public static void checkRawUsage(UserContext c) { method checkRawUsage (line 178) | public static void checkRawUsage(PublicKeyHash owner, method getAllBlocksWithSize (line 197) | private static void getAllBlocksWithSize(PublicKeyHash owner, type ChunkProcessor (line 220) | interface ChunkProcessor { method apply (line 221) | boolean apply(SigningPrivateKeyAndPublicHash signer, AbsoluteCapabil... method traverseDescendants (line 224) | private static void traverseDescendants(FileWrapper dir, FILE: src/peergos/server/UserService.java class UserService (line 34) | public class UserService { method initTLS (line 40) | private static void initTLS() { method printSecurityProperties (line 76) | static void printSecurityProperties() { method UserService (line 98) | public UserService(ContentAddressedStorage storage, class TlsProperties (line 127) | public static class TlsProperties { method TlsProperties (line 130) | public TlsProperties(String hostname, String keyfilePassword) { class LocalAppProperties (line 136) | public static class LocalAppProperties { method LocalAppProperties (line 140) | public LocalAppProperties(Path peergosDir, String currentServerUrl) { method stop (line 146) | public void stop() { method initAndStart (line 154) | public boolean initAndStart(InetSocketAddress local, method addHandler (line 323) | private static void addHandler(HttpServer localhostServer, method getKeyStore (line 353) | public static KeyStore getKeyStore(String filename, char[] password) FILE: src/peergos/server/UserStats.java class UserStats (line 21) | public class UserStats { method main (line 23) | public static void main(String[] args) throws Exception { method sortAndPrint (line 72) | private static void sortAndPrint(List stats, class Summary (line 83) | private static class Summary { method Summary (line 90) | public Summary(String username, LocalDate expiry, List st... method toString (line 99) | public String toString() { FILE: src/peergos/server/ValidateUser.java class ValidateUser (line 20) | public class ValidateUser { method main (line 22) | public static void main(String[] args) throws Exception { method validateWriter (line 34) | private static void validateWriter(PublicKeyHash owner, PublicKeyHash ... method validateBlock (line 44) | private static void validateBlock(PublicKeyHash owner, Multihash targe... FILE: src/peergos/server/apps/email/EmailBridgeClient.java class EmailBridgeClient (line 19) | public class EmailBridgeClient { method EmailBridgeClient (line 28) | public EmailBridgeClient(String clientUsername, UserContext clientWrit... method pendingFolder (line 36) | private FileWrapper pendingFolder() { method listOutbox (line 41) | public List listOutbox() { method getPendingEmail (line 50) | public Pair getPendingEmail(String filename) { method getOutgoingAttachment (line 57) | public byte[] getOutgoingAttachment(String filename) { method encryptAndMoveEmailToSent (line 64) | public void encryptAndMoveEmailToSent(FileWrapper file, EmailMessage e... method uploadAttachment (line 98) | public Attachment uploadAttachment(String filename, int size, String t... method uploadAttachment (line 108) | private CompletableFuture uploadAttachment(AsyncReader reader,... method addToInbox (line 119) | public void addToInbox(EmailMessage m) { method encryptEmail (line 131) | private CompletableFuture encryptEmail(Em... method encryptAttachment (line 136) | private CompletableFuture encryptAttachme... method getEncryptionTarget (line 141) | private static PublicBoxingKey getEncryptionTarget(NetworkAccess netwo... method build (line 146) | public static EmailBridgeClient build(SecretLink emailConfigFileLink, ... FILE: src/peergos/server/cli/CLI.java class CLI (line 49) | public class CLI implements Runnable { method disableLogSpam (line 51) | private static void disableLogSpam() { method CLI (line 69) | public CLI(CLIContext cliContext) { method resolvedRemotePath (line 91) | public Path resolvedRemotePath(String path) { method resolveToPath (line 95) | public Path resolveToPath(String arg, Path pathToResolveTo) { method resolveToPath (line 102) | public Path resolveToPath(String arg) { method fromLine (line 106) | public static ParsedCommand fromLine(String line) { method formatHelp (line 120) | static String formatHelp() { method handle (line 136) | private String handle(ParsedCommand parsedCommand, Terminal terminal, ... method ls (line 191) | public String ls(ParsedCommand cmd) { method lls (line 206) | public String lls(ParsedCommand cmd) { method checkPath (line 224) | private Stat checkPath(Path remotePath) { method get (line 234) | public String get(ParsedCommand cmd, PrintWriter writerForProgress) th... method copyDir (line 275) | private void copyDir(Path remote, Path local, boolean skipExisting, Pr... method convert (line 312) | private static List convert(Path p) { method reader (line 319) | private static AsyncReader reader(File f) { type ProgressCreator (line 323) | public interface ProgressCreator { method create (line 324) | ProgressConsumer create(Path remoteRelativeDir, String filenam... method parseLocalFolder (line 327) | public static Stream parseLocalFol... method put (line 355) | public String put(ParsedCommand cmd, PrintWriter writerForProgress) th... method mkdir (line 386) | public String mkdir(ParsedCommand cmd) throws IOException { method rm (line 394) | public String rm(ParsedCommand cmd) { method exit (line 418) | public String exit(ParsedCommand cmd) { method passwd (line 426) | public String passwd(ParsedCommand cmd, Terminal terminal, LineReader ... method space (line 440) | public String space(ParsedCommand cmd) { method getFollowRequests (line 447) | public String getFollowRequests(ParsedCommand cmd) { method processFollowRequest (line 461) | public String processFollowRequest(ParsedCommand cmd) { method shareReadAccess (line 507) | public String shareReadAccess(ParsedCommand cmd) { method follow (line 533) | public String follow(ParsedCommand cmd) { method cd (line 548) | public String cd(ParsedCommand cmd) { method lcd (line 561) | public String lcd(ParsedCommand cmd) { method pwd (line 571) | public String pwd(ParsedCommand cmd) { method lpwd (line 575) | public String lpwd(ParsedCommand cmd) { method help (line 580) | public String help(ParsedCommand cmd) { method buildPrompt (line 585) | public String buildPrompt() { method localFilesLsFiles (line 597) | private List localFilesLsFiles(String pathArgument, boolean fi... method listFollowers (line 621) | private List listFollowers() { method listPendingFollowers (line 626) | private List listPendingFollowers() { method listAllUsernames (line 634) | private List listAllUsernames() { method remoteFilesLsFiles (line 644) | private List remoteFilesLsFiles(String pathArgument, boolean f... method getCompleter (line 675) | private Completer getCompleter(Command.Argument arg) { method buildCompletionNode (line 698) | private Completer buildCompletionNode(Command cmd) { method buildCompleter (line 718) | public Completer buildCompleter() { method buildContextFromCLI (line 733) | public static CLIContext buildContextFromCLI(Args args) { method mfa (line 799) | private static CompletableFuture mfa(MultiFac... method buildTerminal (line 811) | public static Terminal buildTerminal() { method run (line 822) | @Override method buildAndRun (line 872) | public static void buildAndRun(Args args) { FILE: src/peergos/server/cli/CLIContext.java class CLIContext (line 9) | public class CLIContext { method CLIContext (line 16) | public CLIContext(Terminal terminal, UserContext userContext, String s... FILE: src/peergos/server/cli/Command.java type Command (line 9) | public enum Command { method Command (line 35) | Command(String description, String example, Set flags, Argument ... method Command (line 49) | Command(String description, String example, Set flags, Argument ... method Command (line 53) | Command(String description, String example, Argument firstArg, Argumen... method Command (line 57) | Command(String description, String example, Set flags, Argument ... method Command (line 61) | Command(String description, String example, Argument firstArg) { method Command (line 65) | Command(String description, String example, Set flags) { method Command (line 69) | Command(String description, Set flags) { method Command (line 73) | Command(String description) { method maxLength (line 77) | public static int maxLength() { method example (line 84) | public String example() { method parse (line 88) | public static Command parse(String cmd) { type Argument (line 98) | public enum Argument { type Flag (line 110) | public enum Flag { method Flag (line 116) | Flag(String flag) { type ProcessFollowRequestAction (line 121) | public enum ProcessFollowRequestAction { method ProcessFollowRequestAction (line 128) | ProcessFollowRequestAction() { method ProcessFollowRequestAction (line 131) | ProcessFollowRequestAction(String alternative) { method parse (line 135) | public static ProcessFollowRequestAction parse(String s) { method altOrName (line 148) | public String altOrName() { FILE: src/peergos/server/cli/ListFilesCompleter.java class ListFilesCompleter (line 8) | public class ListFilesCompleter implements Completer { method ListFilesCompleter (line 17) | public ListFilesCompleter(Function> lsSupplier) { method complete (line 21) | @Override FILE: src/peergos/server/cli/ParsedCommand.java class ParsedCommand (line 8) | public class ParsedCommand { method ParsedCommand (line 14) | ParsedCommand(Command cmd, String line, List args) { method hasArguments (line 52) | public boolean hasArguments() { method hasSecondArgument (line 56) | public boolean hasSecondArgument() { method hasThirdArgument (line 60) | public boolean hasThirdArgument() { method firstArgument (line 64) | public String firstArgument() { method secondArgument (line 70) | public String secondArgument() { method thirdArgument (line 76) | public String thirdArgument() { method toString (line 82) | @Override FILE: src/peergos/server/cli/ProgressBar.java class ProgressBar (line 8) | public class ProgressBar { method ProgressBar (line 19) | public ProgressBar(AtomicLong currentFile, AtomicLong totalFiles, Path... method prefix (line 26) | private String prefix() { method update (line 30) | public void update(PrintWriter writer, long bytesSoFar, long totalByte... method progressBar (line 36) | private String progressBar(long bytes, long total) { method format (line 52) | private String format(long bytes, long total) { method updateAndGetAnimation (line 73) | private String updateAndGetAnimation() { method main (line 77) | public static void main(String[] args) throws Exception { FILE: src/peergos/server/cli/SupplierCompleter.java class SupplierCompleter (line 14) | public class SupplierCompleter implements Completer { method SupplierCompleter (line 17) | public SupplierCompleter(Supplier> optionsSuppllier) { method complete (line 21) | @Override FILE: src/peergos/server/corenode/CorenodeEvent.java class CorenodeEvent (line 8) | public class CorenodeEvent { method CorenodeEvent (line 13) | public CorenodeEvent(String username, PublicKeyHash keyHash) { FILE: src/peergos/server/corenode/CorenodeEventPropagator.java class CorenodeEventPropagator (line 21) | public class CorenodeEventPropagator implements CoreNode { method CorenodeEventPropagator (line 26) | public CorenodeEventPropagator(CoreNode target) { method addListener (line 30) | public void addListener(Function processEvent(List keyHash(ByteArrayWrapper usern... method update (line 102) | private synchronized void update(MaybeMultihash newRoot, Optional getWriterData(Lis... method getTreeRoot (line 124) | public static MaybeMultihash getTreeRoot(List peerIds, method applyToDiff (line 137) | public static CompletableFuture applyToD... method updateAllMappings (line 241) | public static void updateAllMappings(List peerIds, method updateMapping (line 267) | public static void updateMapping(List peerIds, method applyOpLog (line 326) | public static void applyOpLog(String username, method signup (line 369) | @Override method startPaidSignup (line 384) | @Override method completePaidSignup (line 400) | @Override method startMirror (line 417) | @Override method startPaidMirror (line 422) | @Override method completePaidMirror (line 427) | @Override method getSnapshots (line 432) | @Override method enforceRateLimit (line 437) | private Optional enforceRateLimit(ProofOfWork proo... method updateChain (line 456) | @Override method updateChain (line 464) | synchronized CompletableFuture> updateCha... method getChain (line 532) | @Override method getUsername (line 537) | @Override method getUsernames (line 543) | @Override method getNextServerId (line 548) | @Override method migrateUser (line 554) | @Override method close (line 565) | @Override FILE: src/peergos/server/corenode/JdbcIpnsAndSocial.java class JdbcIpnsAndSocial (line 22) | public class JdbcIpnsAndSocial { class FollowRequestData (line 38) | private class FollowRequestData { method FollowRequestData (line 43) | FollowRequestData(PublicKeyHash owner, byte[] publicKey) { method FollowRequestData (line 47) | FollowRequestData(String name, byte[] data) { method FollowRequestData (line 51) | FollowRequestData(String name, String d) { method FollowRequestData (line 55) | FollowRequestData(String name, byte[] data, String b64string) { method insert (line 61) | public boolean insert() { method select (line 74) | public FollowRequestData[] select() { method delete (line 93) | public boolean delete() { method JdbcIpnsAndSocial (line 110) | public JdbcIpnsAndSocial(Supplier conn, SqlSupplier comman... method getConnection (line 115) | private Connection getConnection() { method getConnection (line 119) | private Connection getConnection(boolean autoCommit) { method init (line 130) | private synchronized void init(SqlSupplier commands) { method addFollowRequest (line 142) | public CompletableFuture addFollowRequest(PublicKeyHash owner... method removeFollowRequest (line 154) | public CompletableFuture removeFollowRequest(PublicKeyHash ow... method getFollowRequests (line 159) | public CompletableFuture getFollowRequests(PublicKeyHash owner) { method getRawFollowRequests (line 172) | public List getRawFollowRequests(PublicKeyHash owner) { method getAndParseFollowRequests (line 184) | public List getAndParseFollowRequests(PublicKeyHas... method removePointer (line 194) | public void removePointer(PublicKeyHash writingKey) { method setPointer (line 205) | public CompletableFuture setPointer(PublicKeyHash writingKey,... method setPointers (line 235) | public synchronized CompletableFuture setPointers(List> getPointer(PublicKeyHash wr... method getAllEntries (line 293) | public Map getAllEntries() { method close (line 311) | public synchronized void close() { FILE: src/peergos/server/corenode/MirrorCoreNode.java class MirrorCoreNode (line 35) | public class MirrorCoreNode implements CoreNode { method MirrorCoreNode (line 66) | public MirrorCoreNode(CoreNode writeTarget, method initialize (line 116) | @Override method mirrorExternalUsers (line 149) | private void mirrorExternalUsers() { class CorenodeRoots (line 198) | private static class CorenodeRoots { method CorenodeRoots (line 202) | public CorenodeRoots(PublicKeyHash pkiOwnerIdentity, PublicKeyHash p... method equals (line 209) | @Override method hashCode (line 217) | @Override class CorenodeState (line 223) | private static class CorenodeState implements Cborable { method CorenodeState (line 230) | public CorenodeState(CorenodeRoots roots, method buildEmpty (line 240) | public static CorenodeState buildEmpty(PublicKeyHash pkiOwnerIdentity, method load (line 248) | public void load(CorenodeState other) { method toCbor (line 255) | @Override method fromCbor (line 288) | public static CorenodeState fromCbor(CborObject cbor) { method start (line 309) | public void start() { method saveState (line 325) | private synchronized void saveState() { method load (line 338) | private static CorenodeState load(Path statePath, PublicKeyHash pkiNod... method getPkiState (line 346) | private Pair getPkiState() { method update (line 370) | public boolean update() { method signup (line 446) | @Override method startPaidSignup (line 470) | @Override method completePaidSignup (line 479) | @Override method startMirror (line 506) | @Override method startPaidMirror (line 522) | @Override method completePaidMirror (line 530) | @Override method getChain (line 541) | @Override method updateChain (line 552) | @Override method update (line 565) | private UserSnapshot update(UserSnapshot in) { method getUserSnapshotRecursive (line 579) | public static CompletableFuture> getUserSna... method getUserSnapshot (line 615) | public static CompletableFuture> getUserSna... method isHome (line 624) | private boolean isHome(String username, Set ourIds) { method getSnapshots (line 632) | @Override method migrateUser (line 662) | @Override method commitUpdate (line 748) | private void commitUpdate(UserSnapshot res, method getUsername (line 782) | @Override method getUsernames (line 792) | @Override method getStorageProviders (line 801) | @Override method getNextServerId (line 816) | @Override method close (line 827) | @Override FILE: src/peergos/server/corenode/NonWriteThroughCoreNode.java class NonWriteThroughCoreNode (line 18) | public class NonWriteThroughCoreNode implements CoreNode { method NonWriteThroughCoreNode (line 25) | public NonWriteThroughCoreNode(CoreNode source, ContentAddressedStorag... method getPublicKeyHash (line 32) | @Override method getUsername (line 46) | @Override method getChain (line 58) | @Override method signup (line 70) | @Override method startPaidSignup (line 79) | @Override method completePaidSignup (line 84) | @Override method startMirror (line 89) | @Override method startPaidMirror (line 94) | @Override method completePaidMirror (line 99) | @Override method getSnapshots (line 104) | @Override method updateChain (line 109) | @Override method getUsernames (line 128) | @Override method migrateUser (line 142) | @Override method getNextServerId (line 153) | @Override method close (line 158) | @Override FILE: src/peergos/server/corenode/SignUpFilter.java class SignUpFilter (line 23) | public class SignUpFilter implements CoreNode { method SignUpFilter (line 36) | public SignUpFilter(CoreNode target, method signup (line 54) | @Override method startPaidSignup (line 76) | @Override method completePaidSignup (line 105) | @Override method startMirror (line 140) | @Override method startPaidMirror (line 148) | @Override method completePaidMirror (line 174) | @Override method getSnapshots (line 209) | @Override method getChain (line 214) | @Override method updateChain (line 219) | @Override method forUs (line 227) | private boolean forUs(List chain) { method getUsername (line 231) | @Override method getUsernames (line 236) | @Override method migrateUser (line 241) | @Override method getNextServerId (line 263) | @Override method close (line 268) | @Override FILE: src/peergos/server/corenode/UserRepository.java class UserRepository (line 22) | public class UserRepository implements SocialNetwork, MutablePointers { method UserRepository (line 30) | public UserRepository(DeletableContentAddressedStorage ipfs, JdbcIpnsA... method getFollowRequests (line 37) | @Override method sendFollowRequest (line 43) | @Override method removeFollowRequest (line 48) | @Override method getPointer (line 60) | @Override method setPointer (line 65) | @Override method setPointers (line 101) | @Override method validateUpdate (line 111) | private CompletableFuture> validateUpdate(PublicKeyHa... method clearCache (line 141) | @Override method build (line 146) | public static UserRepository build(DeletableContentAddressedStorage ip... FILE: src/peergos/server/corenode/UsernameValidator.java class UsernameValidator (line 13) | public final class UsernameValidator { method isValidUsername (line 37) | public static boolean isValidUsername(String username) { FILE: src/peergos/server/crypto/JniTweetNacl.java class JniTweetNacl (line 12) | public class JniTweetNacl { method JniTweetNacl (line 14) | private JniTweetNacl() {} method build (line 16) | public static JniTweetNacl build() { method canonicaliseArchitecture (line 20) | private static String canonicaliseArchitecture(String arch) { method crypto_box_keypair (line 58) | public static native int crypto_box_keypair(byte[] y, byte[] x); method crypto_box_open (line 60) | public static native int crypto_box_open(byte[] m, byte[]c, long d, by... method crypto_box (line 62) | public static native int crypto_box(byte[] c, byte[] m, long d, byte[]... method crypto_sign_open (line 65) | public static native int crypto_sign_open(byte[] m, long mlen, byte[] ... method crypto_sign (line 67) | public static native int crypto_sign(byte[] sm, long smlen, byte[] m, ... method crypto_sign_keypair (line 69) | public static native int crypto_sign_keypair(byte[] pk, byte[] sk); method crypto_secretbox_open (line 72) | public static native int crypto_secretbox_open(byte[] m, byte[] c, lon... method crypto_secretbox (line 74) | public static native int crypto_secretbox(byte[] c, byte[] m, long d, ... method crypto_scalarmult_base (line 77) | public static native int crypto_scalarmult_base(byte[] q, byte[] n); method ld32 (line 79) | public static native int ld32(byte[] b); class Signer (line 81) | public static class Signer implements Ed25519 { method Signer (line 85) | public Signer(JniTweetNacl impl) { method crypto_sign_open (line 89) | @Override method crypto_sign (line 98) | @Override method crypto_sign_keypair (line 105) | @Override class Symmetric (line 111) | public static class Symmetric implements peergos.shared.crypto.symmetr... method Symmetric (line 115) | public Symmetric(JniTweetNacl impl) { method secretbox (line 119) | @Override method secretbox_open (line 130) | @Override FILE: src/peergos/server/crypto/TweetNaCl.java class TweetNaCl (line 14) | public class TweetNaCl { class InvalidSignatureException (line 33) | public static class InvalidSignatureException extends RuntimeException {} method crypto_sign_keypair (line 35) | public static void crypto_sign_keypair(byte[] pk, byte[] sk, boolean i... method crypto_box_keypair (line 54) | public static int crypto_box_keypair(byte[] y,byte[] x, boolean isSeeded) method crypto_scalarmult_base (line 61) | public static int crypto_scalarmult_base(byte[] q,byte[] n) method crypto_sign (line 66) | public static byte[] crypto_sign(byte[] message, byte[] secretSigningK... method crypto_sign_open (line 72) | public static byte[] crypto_sign_open(byte[] signed, byte[] publicSign... method crypto_box (line 80) | public static byte[] crypto_box(byte[] message, byte[] nonce, byte[] t... method crypto_box_open (line 90) | public static byte[] crypto_box_open(byte[] cipher, byte[] nonce, byte... method secretbox (line 100) | public static byte[] secretbox(byte[] mesage, byte[] nonce, byte[] key) { method secretbox_open (line 110) | public static byte[] secretbox_open(byte[] cipher, byte[] nonce, byte[... method L32 (line 138) | private static int L32(int x,int c) { return (x << c) | (x >>> (32 - c... method ld32 (line 140) | public static int ld32(byte[] x, int off) method st32 (line 148) | private static void st32(byte[] x, int off, int u) method vn (line 154) | private static int vn(byte[] x, int xOff, byte[] y,int n) method crypto_verify_16 (line 161) | private static int crypto_verify_16(byte[] x, int xOff, byte[] y) method crypto_verify_32 (line 166) | private static int crypto_verify_32(byte[] x,byte[] y) method core (line 171) | private static void core(byte[] out,byte[] in,byte[] k,byte[] c,int h) method crypto_core_salsa20 (line 211) | private static int crypto_core_salsa20(byte[] out,byte[] in,byte[] k,b... method crypto_core_hsalsa20 (line 217) | private static int crypto_core_hsalsa20(byte[] out,byte[] in,byte[] k,... method crypto_stream_salsa20_xor (line 225) | private static int crypto_stream_salsa20_xor(byte[] c,byte[] m,long b,... method crypto_stream_salsa20 (line 254) | private static int crypto_stream_salsa20(byte[] c,long d,byte[] n, int... method crypto_stream (line 259) | private static int crypto_stream(byte[] c,long d,byte[] n,byte[] k) method crypto_stream_xor (line 266) | private static int crypto_stream_xor(byte[] c,byte[] m,long d,byte[] n... method add1305 (line 273) | private static void add1305(int[] h,int[] c) method crypto_onetimeauth (line 287) | private static int crypto_onetimeauth(byte[] out, int outOff, byte[] m... method crypto_onetimeauth_verify (line 348) | private static int crypto_onetimeauth_verify(byte[] h, int hOff, byte[... method crypto_secretbox (line 355) | private static int crypto_secretbox(byte[] c,byte[] m,long d,byte[] n,... method crypto_secretbox_open (line 365) | private static int crypto_secretbox_open(byte[] m,byte[] c,long d,byte... method set25519 (line 377) | private static void set25519(long[] /*gf*/ r, long[] /*gf*/ a) method car25519 (line 383) | private static void car25519(long[] /*gf*/ o, int oOff) method sel25519 (line 393) | private static void sel25519(long[] /*gf*/ p,long[] /*gf*/ q,int b) method pack25519 (line 404) | private static void pack25519(byte[] o,long[] /*gf*/ n, int nOff) method neq25519 (line 429) | private static int neq25519(long[] /*gf*/ a, long[] /*gf*/ b) method par25519 (line 437) | private static byte par25519(long[] /*gf*/ a) method unpack25519 (line 444) | private static void unpack25519(long[] /*gf*/ o, byte[] n) method A (line 452) | private static void A(long[] /*gf*/ o,long[] /*gf*/ a,long[] /*gf*/ b) method Z (line 458) | private static void Z(long[] /*gf*/ o,long[] /*gf*/ a,long[] /*gf*/ b) method M (line 464) | private static void M(long[] /*gf*/ o, int oOff, long[] /*gf*/ a, int ... method S (line 475) | private static void S(long[] /*gf*/ o,long[] /*gf*/ a) method inv25519 (line 480) | private static void inv25519(long[] /*gf*/ o, int oOff, long[] /*gf*/ ... method pow2523 (line 492) | private static void pow2523(long[] /*gf*/ o,long[] /*gf*/ i) method crypto_scalarmult (line 504) | private static int crypto_scalarmult(byte[] q,byte[] n,byte[] p) method crypto_box_beforenm (line 563) | private static int crypto_box_beforenm(byte[] k,byte[] y,byte[] x) method crypto_box_afternm (line 570) | private static int crypto_box_afternm(byte[] c,byte[] m,long d,byte[] ... method crypto_box_open_afternm (line 575) | private static int crypto_box_open_afternm(byte[] m,byte[] c,long d,by... method crypto_box (line 580) | private static int crypto_box(byte[] c,byte[] m,long d,byte[] nonce, b... method crypto_box_open (line 587) | private static int crypto_box_open(byte[] m,byte[] c,long d,byte[] n,b... method crypto_hash (line 594) | private static int crypto_hash(byte[] out, byte[] m, int n) { method jsts64 (line 633) | private static void jsts64(byte[] x, int i, int h, int l) { method crypto_hashblocks_hl (line 687) | private static int crypto_hashblocks_hl(int[] hh, int[] hl, byte[] m, ... method add (line 1048) | private static void add(long[][] /*gf*/ p/*[4]*/,long[][] /*gf*/ q/*[4... method cswap (line 1075) | private static void cswap(long[][] /*gf*/ p/*[4]*/,long[][] /*gf*/ q/*... method pack (line 1082) | private static void pack(byte[] r,long[][] /*gf*/ p/*[4]*/) method scalarmult (line 1092) | private static void scalarmult(long[][] /*gf*/ p/*[4]*/,long[][] /*gf*... method scalarbase (line 1108) | private static void scalarbase(long[][] /*gf*/ p/*[4]*/,byte[] s, int... method modL (line 1123) | private static void modL(byte[] r, int rOff, long[] x/*[64]*/) method reduce (line 1150) | private static void reduce(byte[] r) method crypto_sign (line 1158) | private static int crypto_sign(byte[] sm, byte[] m,int n,byte[] sk) method unpackneg (line 1189) | private static int unpackneg(long[][] /*gf*/ r/*[4]*/,byte[] p/*[32]*/) method crypto_sign_open (line 1226) | private static int crypto_sign_open(byte[] m, byte[] sm, int n, byte[]... method getSecureRandom (line 1260) | private static SecureRandom getSecureRandom() { method randombytes (line 1264) | private static void randombytes(byte[] b, int len) { method randomBytes (line 1270) | public static void randomBytes(byte[] b, int offset, int len) { FILE: src/peergos/server/crypto/asymmetric/curve25519/Curve25519Java.java class Curve25519Java (line 6) | public class Curve25519Java implements Curve25519 { method crypto_box_open (line 8) | @Override method crypto_box (line 13) | @Override method crypto_box_keypair (line 18) | @Override FILE: src/peergos/server/crypto/asymmetric/curve25519/Ed25519Java.java class Ed25519Java (line 9) | public class Ed25519Java implements Ed25519 { method crypto_sign_open (line 10) | @Override method crypto_sign (line 15) | @Override method crypto_sign_keypair (line 20) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/CryptoUtils.java class CryptoUtils (line 7) | public class CryptoUtils { method pow (line 13) | public static int pow(int base, int exponent) { method mod (line 28) | public static int mod(int val, int base) { method bytesToLong (line 32) | public static long bytesToLong(ByteOrder order, byte[] bytes, int offs... method zero (line 45) | public static void zero(byte[] toZero) { method zero (line 49) | public static void zero(int[] toZero) { method zero (line 53) | public static void zero(int[][] toZero) { method zero (line 59) | public static void zero(int[][][] toZero) { FILE: src/peergos/server/crypto/asymmetric/mlkem/JavaMlkem.java class JavaMlkem (line 22) | public class JavaMlkem implements Mlkem { method generateKeyPair (line 26) | @Override method encapsulate (line 34) | @Override method decapsulate (line 46) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/MlkemSecureRandom.java class MlkemSecureRandom (line 10) | public class MlkemSecureRandom { method getSecureRandom (line 14) | public static SecureRandom getSecureRandom(int minSecurityStrength) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/Constants.java class Constants (line 14) | public class Constants { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/FIPS202.java type FIPS202 (line 5) | public interface FIPS202 { method keccakPermutation (line 7) | MimicloneKeccak keccakPermutation(MimicloneKeccak.Permutation permutat... FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/MimicloneFIPS202.java class MimicloneFIPS202 (line 5) | public class MimicloneFIPS202 implements FIPS202 { method keccakPermutation (line 7) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/MimicloneKeccak.java class MimicloneKeccak (line 20) | public class MimicloneKeccak { type Permutation (line 22) | public enum Permutation { method Permutation (line 33) | private Permutation() { method MimicloneKeccak (line 78) | public MimicloneKeccak(Permutation permutation) { method mod (line 82) | int mod(int val, int base) { method convert (line 86) | long convert(BitSet bits) { method permute (line 94) | public BitSet[][] permute(BitSet[][] a) { method printState (line 130) | private void printState(String label, long[][] data) { method theta (line 151) | long[][] theta(long[][] state) { method rhopi (line 205) | long[][] rhopi(long[][] state) { method chi (line 225) | long[][] chi(long[][] state) { method round (line 237) | public long[][] round(long[][] a, long rc) { method sponge (line 255) | String sponge(String message, long digestLength) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/core/AbstractKeccakMessageDigest.java class AbstractKeccakMessageDigest (line 9) | public abstract class AbstractKeccakMessageDigest extends MessageDigest { method AbstractKeccakMessageDigest (line 20) | public AbstractKeccakMessageDigest(XOFParameterSet params) method engineDigest (line 29) | @Override method engineReset (line 41) | @Override method engineUpdateBits (line 46) | public void engineUpdateBits(byte[] bits, long bitOff, long bitLength) method engineUpdate (line 51) | @Override method engineUpdate (line 56) | @Override method getRateBits (line 61) | public byte[] getRateBits(int boff, int len) method getRateBits (line 66) | public int getRateBits() { method engineGetDigestLength (line 70) | @Override method getSponge (line 75) | public KeccakSponge getSponge() { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/core/DuplexRandom.java class DuplexRandom (line 16) | public final class DuplexRandom { class ForgettingByteArrayOutputStream (line 17) | class ForgettingByteArrayOutputStream extends ByteArrayOutputStream { method forget (line 18) | public void forget() { method getBuf (line 23) | public byte[] getBuf() { method DuplexRandom (line 58) | public DuplexRandom(int capacityInBits) { method seed (line 75) | public void seed(byte[] seed, int off, int len) { method seed (line 89) | public void seed() { method getSeedBytes (line 108) | public static void getSeedBytes(byte[] buf, int off, int len) { method getBytes (line 118) | public void getBytes(byte[] buf, int off, int len) { method feed (line 145) | private void feed(byte[] buf, int off, int len) { method forget (line 167) | public void forget() { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/core/Keccak1600.java class Keccak1600 (line 21) | public final class Keccak1600 { method Keccak1600 (line 23) | public Keccak1600() method Keccak1600 (line 28) | public Keccak1600(int bitCapacity) { method Keccak1600 (line 32) | public Keccak1600(int bitCapacity, int rounds) { method byteOp (line 41) | byte byteOp(StateOp stateOp, int stateByteOff, byte in) method bytesOp (line 46) | void bytesOp(StateOp stateOp, int stateByteOff, byte[] out, int outpos... method bitsOp (line 51) | void bitsOp(StateOp stateOp, int stateBitOff, byte[] out, long outpos,... method validateBytes (line 56) | public void validateBytes(int stateByteOff, byte[] buf, int bufByteOff... method wrapBytes (line 60) | public void wrapBytes(int stateByteOff, byte[] outBuf, int outBufOff, ... method unwrapBytes (line 64) | public void unwrapBytes(int stateByteOff, byte[] outBuf, int outBufOff... method getBytes (line 68) | public void getBytes(int stateByteOff, byte[] buf, int bufByteOff, int... method setXorByte (line 72) | public void setXorByte(int stateByteOff, byte val) { method setXorBytes (line 76) | public void setXorBytes(int stateByteOff, byte[] buf, int bufByteOff, ... method zeroBytes (line 80) | public void zeroBytes(int stateByteOff, int lenBytes) { method getBits (line 84) | public void getBits(int stateBitOff, byte[] buf, long bufBitOff, int l... method setXorBits (line 88) | public final void setXorBits(int stateBitOff, byte[] buf, long bufBitO... method zeroBits (line 92) | public void zeroBits(int stateBitOff, int lenBits) { method validateBits (line 96) | public void validateBits(int stateBitOff, byte[] buf, int bufBitOff, i... method wrapBits (line 100) | public void wrapBits(int stateBitOff, byte[] outBuf, int outBufOff, by... method unwrapBits (line 104) | public void unwrapBits(int stateBitOff, byte[] outBuf, int outBufOff, ... method remainingLongs (line 108) | public int remainingLongs(int longOff) { method remainingBytes (line 112) | public int remainingBytes(int byteOff) { method remainingBits (line 116) | public int remainingBits(int bitOff) { method pad (line 120) | public void pad(byte domainBits, int domainBitLength, int bitPosition) method pad (line 162) | public void pad(int padBitPosition) method permute (line 183) | public void permute() method clear (line 358) | public void clear() { method index (line 372) | final static int index(int x, int y) method rol64 (line 377) | final static long rol64(long l, int offset) { method KeccakF1600_InitializeRoundConstants (line 389) | final static void KeccakF1600_InitializeRoundConstants() method LFSR86540 (line 404) | final static boolean LFSR86540(byte[] LFSR) method KeccakF1600_InitializeRhoOffsets (line 415) | final static void KeccakF1600_InitializeRhoOffsets() method theta (line 431) | final void theta() method rho (line 449) | final void rho() method pi (line 457) | final void pi() method chi (line 468) | final void chi() method iota (line 481) | void iota(int indexRound) method getRateBits (line 486) | public int getRateBits() { method getCapacityBits (line 490) | public int getCapacityBits() { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/core/KeccakSponge.java class KeccakSponge (line 22) | public class KeccakSponge { class SqueezeStream (line 34) | private final class SqueezeStream extends BitInputStream { method SqueezeStream (line 37) | public SqueezeStream() { method close (line 41) | @Override method open (line 50) | void open() { method readBits (line 60) | @Override method transformBits (line 88) | @Override class AbsorbStream (line 116) | private final class AbsorbStream extends BitOutputStream { method close (line 119) | @Override method writeBits (line 129) | @Override method open (line 153) | public void open() { method KeccakSponge (line 167) | public KeccakSponge(XOFParameterSet params) { method KeccakSponge (line 173) | public KeccakSponge(int capacityInBits, byte domainPadding, int domain... method reset (line 180) | public void reset() { method getSqueezeStream (line 186) | public BitInputStream getSqueezeStream() { method getAbsorbStream (line 195) | public BitOutputStream getAbsorbStream() { method getTransformingSqueezeStream (line 204) | public java.io.FilterOutputStream getTransformingSqueezeStream(final j... method getRateBits (line 239) | public byte[] getRateBits(int boff, int len) method getRateBits (line 246) | public int getRateBits() { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/core/KeccakStateUtils.java class KeccakStateUtils (line 17) | final class KeccakStateUtils { type StateOp (line 19) | public enum StateOp { method isIn (line 23) | public boolean isIn() { method isOut (line 27) | public boolean isOut() { method longOp (line 45) | public static long longOp(StateOp stateOp, long[] state, int position,... method getMask (line 130) | private static long getMask(int bitOffset, int bitLength) { method longOp (line 157) | public static long longOp(StateOp operation, long[] state, int positio... method intOp (line 170) | public static int intOp(StateOp operation, long[] state, int position,... method shortOp (line 198) | public static short shortOp(StateOp stateOp, long[] state, int pos, sh... method byteOp (line 225) | public static byte byteOp(StateOp stateOp, long[] state, int pos, byte... method bitOp (line 252) | public static boolean bitOp(StateOp stateOp, long[] state, int pos, bo... method longsOp (line 283) | public static void longsOp(StateOp operation, long[] state, int position, method intsOp (line 336) | public static void intsOp(StateOp operation, long[] state, int position, method shortsOp (line 407) | public static void shortsOp(StateOp stateOp, long[] state, int pos, method bytesOp (line 473) | public static void bytesOp(StateOp stateOp, long[] state, int pos, method bitsOp (line 542) | public static byte bitsOp(StateOp stateOp, long[] state, int pos, byte... method bitsOp (line 583) | public static void bitsOp(StateOp stateOp, long[] state, int pos, method setBitsInLong (line 617) | static long setBitsInLong(byte[] src, long srcoff, long l, int off, i... method setBitsFromLong (line 655) | static void setBitsFromLong(byte[] dst, long dstoff, long l, int off,... FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/core/KeccakStateValidationFailedException.java class KeccakStateValidationFailedException (line 14) | public class KeccakStateValidationFailedException extends RuntimeExcepti... FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/io/BitInputStream.java class BitInputStream (line 16) | public abstract class BitInputStream extends InputStream { method close (line 17) | @Override method read (line 21) | @Override method transform (line 36) | public int transform(byte[] input, int inputOff, byte[] output, int ou... method read (line 41) | @Override method transform (line 54) | public int transform(byte[] input, byte[] output) { method read (line 59) | @Override method readBits (line 68) | public abstract long readBits(byte[] arg, long bitOff, long bitLen); method transformBits (line 80) | public abstract long transformBits(byte[] input, long inputOff, byte[]... FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/io/BitOutputStream.java class BitOutputStream (line 16) | public abstract class BitOutputStream extends OutputStream { method close (line 18) | @Override method write (line 21) | @Override method write (line 26) | @Override method write (line 31) | @Override method writeBits (line 36) | public abstract void writeBits(byte[] arg, long bitOff, long bitLen); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/AbstractCipher.java class AbstractCipher (line 31) | public abstract class AbstractCipher extends CipherSpi { method setKey (line 36) | private void setKey(Key key) throws InvalidKeyException method engineInit (line 49) | @Override method engineInit (line 64) | @Override method reset (line 71) | public void reset() { method getKey (line 76) | protected byte[] getKey() { method getNonce (line 79) | protected byte[] getNonce() { method update (line 83) | public byte[] update(byte[] input) { method update (line 87) | public byte[] update(byte[] input, int inputOffset, int inputLen) { method update (line 91) | public int update(byte[] input, int inputOffset, int inputLen, byte[] ... method update (line 95) | public int update(byte[] input, int inputOffset, int inputLen, byte[] ... method engineGetBlockSize (line 99) | @Override method engineGetIV (line 104) | @Override method engineGetParameters (line 112) | @Override method engineDoFinal (line 117) | @Override method engineDoFinal (line 125) | @Override method engineGetOutputSize (line 139) | @Override method engineSetMode (line 144) | @Override method engineSetPadding (line 148) | @Override method engineUpdate (line 155) | @Override method init (line 163) | protected abstract void init() throws InvalidKeyException; method unwrap (line 165) | public Key unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int w... method update (line 169) | public int update(ByteBuffer input, ByteBuffer output) throws ShortBuf... method updateAAD (line 173) | public void updateAAD(byte[] src) { method updateAAD (line 177) | public void updateAAD(byte[] src, int offset, int len) { method updateAAD (line 181) | public void updateAAD(ByteBuffer src) { method wrap (line 185) | public byte[] wrap(Key key) throws InvalidKeyException, IllegalBlockSi... method engineInit (line 189) | @Override method init (line 198) | public void init(int opmode, Key key, AlgorithmParameterSpec params) t... method doFinal (line 203) | public byte[] doFinal() throws ShortBufferException, IllegalBlockSizeE... method doFinal (line 210) | public byte[] doFinal(byte[] input) throws IllegalBlockSizeException, ... method doFinal (line 214) | public int doFinal(byte[] output, int outputOffset) throws ShortBuffer... method doFinal (line 218) | public byte[] doFinal(byte[] input, int inputOffset, int inputLen) thr... method doFinal (line 223) | public int doFinal(byte[] input, int inputOffset, int inputLen, byte[]... method doFinal (line 227) | public int doFinal(byte[] input, int inputOffset, int inputLen, byte[]... method doFinal (line 231) | public int doFinal(ByteBuffer input, ByteBuffer output) throws ShortBu... method getMode (line 235) | protected int getMode() { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/AbstractSpongeStreamCipher.java class AbstractSpongeStreamCipher (line 19) | public abstract class AbstractSpongeStreamCipher extends AbstractCipher{ method reset (line 21) | @Override method init (line 27) | @Override method engineUpdate (line 38) | @Override method engineUpdate (line 43) | @Override method getSponge (line 51) | abstract KeccakSponge getSponge(); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/KeccakRnd128.java class KeccakRnd128 (line 27) | public final class KeccakRnd128 extends SecureRandomSpi { method KeccakRnd128 (line 34) | public KeccakRnd128() { method engineGenerateSeed (line 38) | @Override method engineNextBytes (line 48) | @Override method engineSetSeed (line 59) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/KeccakRnd256.java class KeccakRnd256 (line 25) | public final class KeccakRnd256 extends SecureRandomSpi { method engineGenerateSeed (line 28) | @Override method engineNextBytes (line 38) | @Override method engineSetSeed (line 44) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/RawKey.java class RawKey (line 18) | public abstract class RawKey implements SecretKey { method RawKey (line 22) | public RawKey() { method RawKey (line 26) | public RawKey(byte[] rawKey) throws InvalidKeyException { method getEncoded (line 30) | @Override method setRaw (line 36) | public void setRaw(byte[] rawKey) throws InvalidKeyException { method getFormat (line 42) | @Override method getMinKeyLength (line 47) | public int getMinKeyLength() { method getMaxKeyLength (line 51) | public int getMaxKeyLength() { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/Shake128Key.java class Shake128Key (line 16) | public class Shake128Key extends RawKey { method getAlgorithm (line 18) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/Shake128StreamCipher.java class Shake128StreamCipher (line 17) | public final class Shake128StreamCipher extends AbstractSpongeStreamCiph... method getSponge (line 20) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/Shake256Key.java class Shake256Key (line 16) | public class Shake256Key extends RawKey { method getAlgorithm (line 18) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/spi/Shake256StreamCipher.java class Shake256StreamCipher (line 17) | public class Shake256StreamCipher extends AbstractSpongeStreamCipher { method getSponge (line 21) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips202/keccak/sponge/MimicloneKeccakSponge.java class MimicloneKeccakSponge (line 10) | public class MimicloneKeccakSponge { method MimicloneKeccakSponge (line 22) | private MimicloneKeccakSponge(int bitLength) { method create (line 35) | public static MimicloneKeccakSponge create(int bitLength) { method pad (line 41) | byte[] pad(int messageLengthInBytes) { method absorb (line 102) | void absorb(byte[] data, int offset, int length) { method padAndSwitchToSqueezingPhase (line 154) | void padAndSwitchToSqueezingPhase() { method squeeze (line 181) | void squeeze(byte[] output, int offset, long outputBitLength) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/FIPS203.java type FIPS203 (line 10) | public interface FIPS203 { method getParameterSet (line 15) | ParameterSet getParameterSet(); method generateKeyPair (line 20) | KeyPair generateKeyPair() throws KeyPairGenerationException; method keyPairCheck (line 22) | void keyPairCheck(KeyPair keyPair) throws KeyPairCheckException; method encapsulate (line 28) | Encapsulation encapsulate(EncapsulationKey key); method decapsulate (line 34) | SharedSecretKey decapsulate(DecapsulationKey key, CipherText cipherText); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/FIPS203Exception.java class FIPS203Exception (line 3) | public class FIPS203Exception extends RuntimeException { method FIPS203Exception (line 4) | public FIPS203Exception(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/MimicloneFIPS203.java class MimicloneFIPS203 (line 23) | public class MimicloneFIPS203 implements FIPS203 { method create (line 25) | public static FIPS203 create(ParameterSet params) { method MimicloneFIPS203 (line 38) | private MimicloneFIPS203(ParameterSet parameterSet) { method getParameterSet (line 56) | @Override method generateKeyPair (line 66) | @Override method keyPairCheck (line 102) | @Override method encapsulate (line 116) | @Override method decapsulate (line 144) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/ParameterSet.java type ParameterSet (line 3) | public enum ParameterSet { method ParameterSet (line 123) | ParameterSet(String name, int k, int eta1, int eta2, int du, int dv, i... method getName (line 137) | public String getName() { method getK (line 141) | public int getK() { method getMinSecurityStrength (line 145) | public int getMinSecurityStrength() { method getQ (line 149) | public int getQ() { method getN (line 153) | public int getN() { method getEta1 (line 157) | public int getEta1() { method getEta2 (line 161) | public int getEta2() { method getDu (line 165) | public int getDu() { method getDv (line 169) | public int getDv() { method getSharedSecretKeyLength (line 173) | public int getSharedSecretKeyLength() { method getCiphertextLength (line 177) | public int getCiphertextLength() { method getDecapsulationKeyLength (line 181) | public int getDecapsulationKeyLength() { method getEncapsulationKeyLength (line 185) | public int getEncapsulationKeyLength() { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/codec/Codec.java type Codec (line 3) | public interface Codec { method byteEncode (line 5) | byte[] byteEncode(int d, int[] f); method compress (line 7) | int[] compress(int d, int[] x); method byteDecode (line 9) | int[] byteDecode(int d, byte[] f); method decompress (line 11) | int[] decompress(int d, int[] y); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/codec/MLKEMCodec.java class MLKEMCodec (line 11) | public class MLKEMCodec implements Codec { method MLKEMCodec (line 15) | public MLKEMCodec(ParameterSet parameterSet) { method create (line 19) | public static MLKEMCodec create(ParameterSet parameterSet) { method byteEncode (line 34) | @Override method compress (line 71) | @Override method byteDecode (line 85) | @Override method decompress (line 104) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/decaps/DecapsulationException.java class DecapsulationException (line 3) | public class DecapsulationException extends RuntimeException { method DecapsulationException (line 4) | public DecapsulationException(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/decaps/Decapsulator.java type Decapsulator (line 7) | public interface Decapsulator { method decapsulate (line 9) | SharedSecretKey decapsulate(DecapsulationKey key, CipherText cipherTex... FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/decaps/mlkem/MLKEMDecapsulator.java class MLKEMDecapsulator (line 19) | public class MLKEMDecapsulator implements peergos.server.crypto.asymmetr... method MLKEMDecapsulator (line 27) | private MLKEMDecapsulator(ParameterSet parameterSet, Hash hash, Encryp... method create (line 34) | public static MLKEMDecapsulator create(ParameterSet parameterSet) { method decapsulate (line 43) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/decaps/provider/MLKEMDecapsulatorProvider.java class MLKEMDecapsulatorProvider (line 13) | public class MLKEMDecapsulatorProvider implements KEMSpi.DecapsulatorSpi { method MLKEMDecapsulatorProvider (line 17) | public MLKEMDecapsulatorProvider(Decapsulator decapsulator) { method getInstance (line 21) | public static MLKEMDecapsulatorProvider getInstance(PrivateKey private... method engineDecapsulate (line 25) | @Override method engineSecretSize (line 32) | @Override method engineEncapsulationSize (line 37) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/decrypt/DecryptionException.java class DecryptionException (line 3) | public class DecryptionException extends RuntimeException { method DecryptionException (line 4) | public DecryptionException(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/decrypt/Decryptor.java type Decryptor (line 3) | public interface Decryptor { method decrypt (line 5) | byte[] decrypt(byte[] dkPKE, byte[] cipherText); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/decrypt/kpke/KPKEDecryptor.java class KPKEDecryptor (line 12) | public class KPKEDecryptor implements Decryptor { method KPKEDecryptor (line 18) | private KPKEDecryptor(ParameterSet parameterSet, Codec codec, Transfor... method create (line 24) | public static KPKEDecryptor create(ParameterSet parameterSet) { method decrypt (line 32) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encaps/Encapsulation.java type Encapsulation (line 6) | public interface Encapsulation { method getSharedSecretKey (line 8) | SharedSecretKey getSharedSecretKey(); method getCipherText (line 10) | CipherText getCipherText(); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encaps/EncapsulationException.java class EncapsulationException (line 3) | public class EncapsulationException extends RuntimeException { method EncapsulationException (line 4) | public EncapsulationException(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encaps/Encapsulator.java type Encapsulator (line 6) | public interface Encapsulator { method encapsulate (line 8) | Encapsulation encapsulate(EncapsulationKey ek, byte[] entropy) throws ... FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encaps/mlkem/MLKEMEncapsulation.java class MLKEMEncapsulation (line 9) | public class MLKEMEncapsulation implements Encapsulation { method MLKEMEncapsulation (line 14) | public MLKEMEncapsulation(SharedSecretKey sharedSecretKey, CipherText ... method build (line 19) | static MLKEMEncapsulation build(byte[] sharedSecretKeyBytes, byte[] ci... method getSharedSecretKey (line 25) | @Override method getCipherText (line 30) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encaps/mlkem/MLKEMEncapsulator.java class MLKEMEncapsulator (line 14) | public class MLKEMEncapsulator implements peergos.server.crypto.asymmetr... method MLKEMEncapsulator (line 20) | public MLKEMEncapsulator(ParameterSet parameterSet, Hash hash, Encrypt... method create (line 26) | public static MLKEMEncapsulator create(ParameterSet parameterSet) { method encapsulate (line 41) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encaps/provider/MLKEMEncapsulationProvider.java class MLKEMEncapsulationProvider (line 6) | public class MLKEMEncapsulationProvider implements KEMSpi.EncapsulatorSpi { method engineEncapsulate (line 8) | @Override method engineSecretSize (line 13) | @Override method engineEncapsulationSize (line 18) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encrypt/EncryptionException.java class EncryptionException (line 3) | public class EncryptionException extends RuntimeException { method EncryptionException (line 4) | public EncryptionException(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encrypt/Encryptor.java type Encryptor (line 3) | public interface Encryptor { method encrypt (line 5) | byte[] encrypt(byte[] ekPKE, byte[] message, byte[] random); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/encrypt/kpke/KPKEEncryptor.java class KPKEEncryptor (line 16) | public class KPKEEncryptor implements Encryptor { method KPKEEncryptor (line 24) | public KPKEEncryptor(ParameterSet parameterSet, Codec codec, Hash hash... method create (line 32) | public static KPKEEncryptor create(ParameterSet parameterSet) { method encrypt (line 49) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/hash/Hash.java type Hash (line 3) | public interface Hash { method prfEta1 (line 5) | byte[] prfEta1(byte[] s, byte b); method prfEta2 (line 7) | byte[] prfEta2(byte[] s, byte b); method gHash (line 9) | byte[] gHash(byte[] c); method hHash (line 11) | byte[] hHash(byte[] s); method jHash (line 13) | byte[] jHash(byte[] s); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/hash/MLKEMHash.java class MLKEMHash (line 13) | public class MLKEMHash implements Hash { method MLKEMHash (line 25) | public MLKEMHash(ParameterSet parameterSet, MessageDigest sha3Hash256,... method create (line 33) | public static MLKEMHash create(ParameterSet parameterSet) { method prfEta1 (line 63) | @Override method prfEta2 (line 86) | @Override method gHash (line 109) | @Override method hHash (line 116) | @Override method jHash (line 123) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/hash/XOFParameterSet.java type XOFParameterSet (line 3) | public enum XOFParameterSet { method XOFParameterSet (line 47) | XOFParameterSet(String algorithm, int capacityInBits, int digestLength... method getAlgorithm (line 55) | public String getAlgorithm() { method getCapacityInBits (line 59) | public int getCapacityInBits() { method getDigestLength (line 63) | public int getDigestLength() { method getDomainPadding (line 67) | public byte getDomainPadding() { method getDomainPaddingBitLength (line 71) | public int getDomainPaddingBitLength() { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/DecapsulationKey.java type DecapsulationKey (line 3) | public interface DecapsulationKey extends Key { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/EncapsulationKey.java type EncapsulationKey (line 3) | public interface EncapsulationKey extends Key { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/Key.java type Key (line 3) | public interface Key { method getBytes (line 5) | byte[] getBytes(); method destroy (line 10) | void destroy(); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/KeyPair.java type KeyPair (line 3) | public interface KeyPair { method getEncapsulationKey (line 5) | EncapsulationKey getEncapsulationKey(); method getDecapsulationKey (line 7) | DecapsulationKey getDecapsulationKey(); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/KeyPairException.java class KeyPairException (line 3) | public class KeyPairException extends RuntimeException { method KeyPairException (line 4) | public KeyPairException(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/SharedSecretKey.java type SharedSecretKey (line 3) | public interface SharedSecretKey extends Key { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/check/KeyPairCheckException.java class KeyPairCheckException (line 5) | public class KeyPairCheckException extends KeyPairException { method KeyPairCheckException (line 6) | public KeyPairCheckException(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/gen/KeyPairGeneration.java type KeyPairGeneration (line 5) | public interface KeyPairGeneration { method generateKeyPair (line 7) | KeyPair generateKeyPair(byte[] d, byte[] z); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/gen/KeyPairGenerationException.java class KeyPairGenerationException (line 5) | public class KeyPairGenerationException extends KeyPairException { method KeyPairGenerationException (line 6) | public KeyPairGenerationException(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/gen/mlkem/MLKEMKeyPairGenerator.java class MLKEMKeyPairGenerator (line 21) | public final class MLKEMKeyPairGenerator implements KeyPairGeneration { method MLKEMKeyPairGenerator (line 33) | private MLKEMKeyPairGenerator(ParameterSet parameterSet, Codec codec, ... method create (line 41) | public static MLKEMKeyPairGenerator create(ParameterSet parameterSet) { method generateKeyPair (line 59) | @Override method generateKPKE (line 134) | KeyPair generateKPKE(byte[] d) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/gen/provider/MLKEMKeyGenerationProvider.java class MLKEMKeyGenerationProvider (line 9) | public class MLKEMKeyGenerationProvider extends KeyPairGeneratorSpi { method MLKEMKeyGenerationProvider (line 13) | public MLKEMKeyGenerationProvider(ParameterSet params) { method getMLKEM512Provider (line 17) | public static MLKEMKeyGenerationProvider getMLKEM512Provider() { method getMLKEM768Provider (line 21) | public static MLKEMKeyGenerationProvider getMLKEM768Provider() { method getMLKEM1024Provider (line 25) | public static MLKEMKeyGenerationProvider getMLKEM1024Provider() { method initialize (line 29) | @Override method generateKeyPair (line 34) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/mlkem/MLKEMDecapsulationKey.java class MLKEMDecapsulationKey (line 7) | public class MLKEMDecapsulationKey implements DecapsulationKey { method MLKEMDecapsulationKey (line 11) | private MLKEMDecapsulationKey(byte[] keyBytes) { method create (line 15) | public static MLKEMDecapsulationKey create(byte[] keyBytes) { method getBytes (line 19) | @Override method destroy (line 24) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/mlkem/MLKEMEncapsulationKey.java class MLKEMEncapsulationKey (line 7) | public class MLKEMEncapsulationKey implements EncapsulationKey { method MLKEMEncapsulationKey (line 11) | private MLKEMEncapsulationKey(byte[] keyBytes) { method create (line 15) | public static MLKEMEncapsulationKey create(byte[] keyBytes) { method getBytes (line 19) | @Override method destroy (line 24) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/mlkem/MLKEMKeyPair.java class MLKEMKeyPair (line 9) | public class MLKEMKeyPair implements KeyPair { method MLKEMKeyPair (line 13) | public MLKEMKeyPair(EncapsulationKey getEncapsulationKey, Decapsulatio... method fromBytes (line 18) | public static KeyPair fromBytes(byte[] ek, byte[] dk) { method getEncapsulationKey (line 22) | @Override method getDecapsulationKey (line 27) | @Override method equals (line 32) | @Override method hashCode (line 40) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/key/mlkem/MLKEMSharedSecretKey.java class MLKEMSharedSecretKey (line 7) | public class MLKEMSharedSecretKey implements SharedSecretKey { method MLKEMSharedSecretKey (line 11) | public MLKEMSharedSecretKey(byte[] sharedSecret) { method create (line 15) | public static MLKEMSharedSecretKey create(byte[] sharedSecret) { method getBytes (line 19) | @Override method destroy (line 24) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/message/CipherText.java type CipherText (line 3) | public interface CipherText { method getBytes (line 5) | byte[] getBytes(); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/message/MLKEMCipherText.java class MLKEMCipherText (line 3) | public class MLKEMCipherText implements CipherText { method MLKEMCipherText (line 7) | public MLKEMCipherText(byte[] cipherText) { method create (line 11) | public static MLKEMCipherText create(byte[] cipherText) { method getBytes (line 15) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/provider/MLKEMProvider.java class MLKEMProvider (line 10) | public class MLKEMProvider implements KEMSpi { method MLKEMProvider (line 14) | public MLKEMProvider(ParameterSet params) { method getMLKEM512Provider (line 18) | public static MLKEMProvider getMLKEM512Provider() { method getMLKEM768Provider (line 22) | public static MLKEMProvider getMLKEM768Provider() { method getMLKEM1024Provider (line 26) | public static MLKEMProvider getMLKEM1024Provider() { method engineNewEncapsulator (line 30) | @Override method engineNewDecapsulator (line 35) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/provider/MimicloneSecurityProvider.java class MimicloneSecurityProvider (line 10) | public class MimicloneSecurityProvider extends Provider implements javax... class ProviderService (line 17) | private static final class ProviderService extends Provider.Service { method ProviderService (line 18) | ProviderService(Provider p, String type, String algo, String cn) { method newInstance (line 22) | @Override method MimicloneSecurityProvider (line 55) | public MimicloneSecurityProvider() { method install (line 85) | public void install() { method engineNewEncapsulator (line 89) | @Override method engineNewDecapsulator (line 94) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/reduce/Reducer.java type Reducer (line 3) | public interface Reducer { method reduce (line 5) | int reduce(int a) throws ReductionException; FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/reduce/ReductionException.java class ReductionException (line 3) | public class ReductionException extends RuntimeException { method ReductionException (line 4) | public ReductionException(String message) { FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/reduce/barrett/BarrettReducer.java class BarrettReducer (line 7) | public final class BarrettReducer implements Reducer { method BarrettReducer (line 14) | public BarrettReducer(ParameterSet parameterSet, int modulus, int mult... method calculateMultiplier (line 20) | private static int calculateMultiplier(int modulus) { method create (line 24) | public static BarrettReducer create(ParameterSet parameterSet) { method create (line 32) | public static BarrettReducer create(ParameterSet parameterSet, int mod... method reduce (line 40) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/sample/MLKEMSampler.java class MLKEMSampler (line 14) | public class MLKEMSampler implements Sampler { method MLKEMSampler (line 18) | public MLKEMSampler(ParameterSet parameterSet) { method create (line 22) | public static MLKEMSampler create(ParameterSet parameterSet) { method sampleNTT (line 26) | @Override method samplePolyCBD (line 74) | private int[] samplePolyCBD(int eta, byte[] input) { method samplePolyCBDEta1 (line 106) | @Override method samplePolyCBDEta2 (line 113) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/sample/Sampler.java type Sampler (line 3) | public interface Sampler { method sampleNTT (line 5) | int[] sampleNTT(byte[] seed, byte a, byte b); method samplePolyCBDEta1 (line 7) | int[] samplePolyCBDEta1(byte[] input); method samplePolyCBDEta2 (line 9) | int[] samplePolyCBDEta2(byte[] input); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/transform/MLKEMTransformer.java class MLKEMTransformer (line 11) | public class MLKEMTransformer implements Transformer { method MLKEMTransformer (line 94) | public MLKEMTransformer(ParameterSet parameterSet, Reducer reducer) { method create (line 99) | public static MLKEMTransformer create(ParameterSet parameterSet) { method validateInput (line 106) | private void validateInput(int[] input) { method transform (line 125) | @Override method inverse (line 159) | @Override method matrixMultiply (line 202) | @Override method matrixAdd (line 221) | @Override method matrixTranspose (line 240) | @Override method multiplyNTTs (line 257) | @Override method baseCaseMultiply (line 287) | @Override method vectorTransposeMultiply (line 306) | @Override method arrayAdd (line 318) | @Override method arraySubtract (line 327) | @Override FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/transform/Transformer.java type Transformer (line 3) | public interface Transformer { method transform (line 12) | int[] transform(int[] input); method inverse (line 21) | int[] inverse(int[] input); method matrixMultiply (line 23) | int[][] matrixMultiply(int[][][] a, int[][] b); method matrixAdd (line 25) | int[][] matrixAdd(int[][] a, int[][] b); method matrixTranspose (line 27) | int[][][] matrixTranspose(int[][][] a); method multiplyNTTs (line 29) | int[] multiplyNTTs(int[] fHat, int[] gHat); method baseCaseMultiply (line 31) | int[] baseCaseMultiply(int a0, int a1, int b0, int b1, int gamma); method vectorTransposeMultiply (line 33) | int[] vectorTransposeMultiply(int[][] a, int[][] b); method arrayAdd (line 35) | int[] arrayAdd(int[] a, int[] b); method arraySubtract (line 37) | int[] arraySubtract(int[] a, int[] b); FILE: src/peergos/server/crypto/asymmetric/mlkem/fips203/transform/TransformerException.java class TransformerException (line 3) | public class TransformerException extends RuntimeException { method TransformerException (line 4) | public TransformerException(String message) { FILE: src/peergos/server/crypto/hash/Blake3.java class Blake3 (line 76) | public final class Blake3 { class ChunkState (line 78) | private static final class ChunkState { method ChunkState (line 88) | private ChunkState(final int[] key, final long chunkCounter, final i... method length (line 94) | private int length() { method output (line 98) | private Output output() { method startFlag (line 104) | private int startFlag() { method update (line 108) | private void update(final byte[] input, int offset, int length) { class EngineState (line 131) | private static final class EngineState { method EngineState (line 142) | private EngineState(final int[] key, final int flags) { method addChunkCV (line 149) | private void addChunkCV(final int[] firstCV, final long totalChunks) { method inputData (line 166) | private void inputData(final byte[] in, int offset, int length) { method outputHash (line 186) | private void outputHash(final byte[] out, final int offset, final in... method popCV (line 199) | private int[] popCV() { method pushCV (line 203) | private void pushCV(final int[] cv) { method reset (line 207) | private void reset() { class Output (line 218) | private static final class Output { method Output (line 226) | private Output(final int[] inputChainingValue, final int[] blockWord... method chainingValue (line 234) | private int[] chainingValue() { method rootOutputBytes (line 238) | private void rootOutputBytes(final byte[] out, int offset, int lengt... method checkBufferArgs (line 292) | private static void checkBufferArgs(final byte[] buffer, final int off... method compress (line 306) | private static int[] compress(final int[] chainingValue, final int[] b... method g (line 327) | private static void g(final int[] state, final int a, final int b, fin... method hash (line 345) | public static byte[] hash(final byte[] data) { method initHash (line 354) | public static Blake3 initHash() { method initKeyDerivationFunction (line 367) | public static Blake3 initKeyDerivationFunction(final byte[] kdfContext) { method initKeyedHash (line 385) | public static Blake3 initKeyedHash(final byte[] key) { method keyedHash (line 401) | public static byte[] keyedHash(final byte[] key, final byte[] data) { method packInt (line 405) | private static void packInt(final int value, final byte[] dst, final i... method parentChainingValue (line 411) | private static int[] parentChainingValue(final int[] leftChildCV, fina... method parentOutput (line 415) | private static Output parentOutput(final int[] leftChildCV, final int[... method round (line 421) | private static void round(final int[] state, final int[] msg, final by... method unpackInt (line 435) | private static int unpackInt(final byte[] buf, final int off) { method unpackInts (line 439) | private static int[] unpackInts(final byte[] buf, final int nrInts) { method Blake3 (line 449) | private Blake3(final int[] key, final int flags) { method doFinalize (line 461) | public Blake3 doFinalize(final byte[] out) { method doFinalize (line 477) | public Blake3 doFinalize(final byte[] out, final int offset, final int... method doFinalize (line 490) | public byte[] doFinalize(final int nrBytes) { method reset (line 503) | public Blake3 reset() { method update (line 515) | public Blake3 update(final byte[] in) { method update (line 530) | public Blake3 update(final byte[] in, final int offset, final int leng... FILE: src/peergos/server/crypto/hash/ScryptJava.java class ScryptJava (line 26) | public class ScryptJava implements Hasher { method disableLog (line 28) | public static void disableLog() { method hashToKeyBytes (line 33) | @Override method generateProofOfWork (line 59) | @Override method sha256 (line 82) | @Override method hmacSha256 (line 87) | @Override method blake2b (line 100) | @Override method hashFromStream (line 105) | @Override method hashChunks (line 111) | public static List hashChunks(InputStream fin, long size) { method parallelHashChunks (line 141) | public static List parallelHashChunks(Supplier fi... method hashFile (line 170) | public static HashTree hashFile(Path p, Hasher hasher) { FILE: src/peergos/server/crypto/hash/lambdaworks/codec/Base64.java class Base64 (line 18) | public class Base64 { method decode (line 38) | public static byte[] decode(char[] chars) { method encode (line 49) | public static char[] encode(byte[] bytes) { method encode (line 61) | public static char[] encode(byte[] bytes, boolean padded) { method decode (line 75) | public static byte[] decode(char[] src, int[] table, char pad) { method encode (line 120) | public static char[] encode(byte[] src, char[] table, char pad) { FILE: src/peergos/server/crypto/hash/lambdaworks/crypto/PBKDF.java class PBKDF (line 16) | public class PBKDF { method pbkdf2 (line 30) | public static byte[] pbkdf2(String alg, byte[] P, byte[] S, int c, int... method pbkdf2 (line 49) | public static void pbkdf2(Mac mac, byte[] S, int c, byte[] DK, int dkL... FILE: src/peergos/server/crypto/hash/lambdaworks/crypto/SCrypt.java class SCrypt (line 23) | public class SCrypt { method scrypt (line 47) | public static byte[] scrypt(byte[] passwd, byte[] salt, int N, int r, ... method scryptN (line 64) | public static native byte[] scryptN(byte[] passwd, byte[] salt, int N,... method scryptJ (line 80) | public static byte[] scryptJ(byte[] passwd, byte[] salt, int N, int r,... method smix (line 107) | public static void smix(byte[] B, int Bi, int r, int N, byte[] V, byte... method blockmix_salsa8 (line 128) | public static void blockmix_salsa8(byte[] BY, int Bi, int Yi, int r) { method R (line 149) | public static int R(int a, int b) { method salsa20_8 (line 153) | public static void salsa20_8(byte[] B) { method blockxor (line 196) | public static void blockxor(byte[] S, int Si, byte[] D, int Di, int le... method integerify (line 202) | public static int integerify(byte[] B, int Bi, int r) { FILE: src/peergos/server/crypto/hash/lambdaworks/crypto/SCryptUtil.java class SCryptUtil (line 30) | public class SCryptUtil { method scrypt (line 42) | public static String scrypt(String passwd, int N, int r, int p) { method check (line 72) | public static boolean check(String passwd, String hashed) { method log2 (line 104) | private static int log2(int n) { FILE: src/peergos/server/crypto/hash/lambdaworks/jni/LibraryLoader.java type LibraryLoader (line 11) | public interface LibraryLoader { method load (line 20) | boolean load(String name, boolean verify); FILE: src/peergos/server/crypto/hash/lambdaworks/jni/LibraryLoaders.java class LibraryLoaders (line 15) | public class LibraryLoaders { method loader (line 21) | public static LibraryLoader loader() { FILE: src/peergos/server/crypto/hash/lambdaworks/jni/NilLibraryLoader.java class NilLibraryLoader (line 10) | public class NilLibraryLoader implements LibraryLoader { method load (line 19) | public boolean load(String name, boolean verify) { FILE: src/peergos/server/crypto/random/SafeRandomJava.java class SafeRandomJava (line 6) | public class SafeRandomJava implements SafeRandom { method randombytes (line 8) | @Override FILE: src/peergos/server/crypto/symmetric/Salsa20Poly1305Java.java class Salsa20Poly1305Java (line 6) | public class Salsa20Poly1305Java implements Salsa20Poly1305 { method secretbox (line 8) | @Override method secretbox_open (line 13) | @Override FILE: src/peergos/server/fuse/CachingPeergosFS.java class CachingPeergosFS (line 22) | public class CachingPeergosFS extends PeergosFS { method CachingPeergosFS (line 33) | public CachingPeergosFS(UserContext userContext) { method CachingPeergosFS (line 37) | public CachingPeergosFS(UserContext userContext, int chunkCacheSize, i... method read (line 45) | @Override method read (line 55) | public int read(String s, Pointer pointer, int pointerOffset, @size_t ... method write (line 78) | @Override method write (line 88) | public int write(String s, Pointer pointer, int pointerOffset, @size_t... method lock (line 111) | @Override method flush (line 126) | @Override method annotateAttributes (line 142) | @Override method containedInOneChunk (line 163) | private boolean containedInOneChunk(long start, long end) { method alignToChunkSize (line 167) | private long alignToChunkSize(long pos) { method intraChunkOffset (line 170) | private int intraChunkOffset(long pos) { class CacheEntryHolder (line 174) | private class CacheEntryHolder { method CacheEntryHolder (line 177) | public CacheEntryHolder(CacheEntry entry) { method apply (line 181) | public synchronized A apply(Predicate correctChunk, ... method applyIfPresent (line 192) | public synchronized Optional applyIfPresent(Function mkdir(String name, FileWrapper node) { method mkdir (line 117) | @Override method unlink (line 137) | @Override method rmdir (line 158) | @Override method symlink (line 165) | @Override method rename (line 170) | private int rename(PeergosStat source, PeergosStat sourceParent, Strin... method rename (line 197) | @Override method link (line 204) | @Override method chmod (line 209) | @Override method chown (line 214) | @Override method truncate (line 219) | @Override method open (line 226) | @Override method read (line 233) | @Override method write (line 240) | @Override method statfs (line 250) | @Override method flush (line 270) | @Override method removexattr (line 301) | @Override method opendir (line 306) | @Override method readdir (line 312) | @Override method releasedir (line 318) | @Override method fsyncdir (line 324) | @Override method init (line 330) | @Override method destroy (line 336) | @Override method access (line 341) | @Override method create (line 348) | @Override method ftruncate (line 360) | @Override method fgetattr (line 368) | @Override method lock (line 374) | @Override method utimens (line 382) | public int utimens(String s, Timespec[] timespecs) { method bmap (line 419) | @Override method ioctl (line 424) | @Override method poll (line 429) | @Override method flock (line 445) | @Override method fallocate (line 450) | @Override method unimp (line 455) | private int unimp() { method getByPath (line 461) | protected Optional getByPath(String path) { method getParentByPath (line 476) | private Optional getParentByPath(String path) { method applyIf (line 481) | protected int applyIf(String path, boolean isPresent, Function read(PeergosStat stat, long requestedSize, ... method read (line 558) | public int read(PeergosStat stat, Pointer pointer, long requestedSize,... method getData (line 571) | private byte[] getData(Pointer pointer, int size) { method truncate (line 581) | public int truncate(PeergosStat parent, PeergosStat file, long size) { method write (line 610) | public int write(PeergosStat parent, String name, byte[] toWrite, long... method write (line 630) | public int write(PeergosStat parent, String name, Pointer pointer, lon... method debug (line 638) | private void debug(String template, Object... obj) { FILE: src/peergos/server/login/AccountWithStorage.java class AccountWithStorage (line 16) | public class AccountWithStorage implements Account { method AccountWithStorage (line 22) | public AccountWithStorage(ContentAddressedStorage storage, MutablePoin... method setLoginData (line 28) | @Override method getLoginData (line 42) | @Override method getSecondAuthMethods (line 53) | @Override method enableTotpFactor (line 58) | @Override method registerSecurityKeyStart (line 63) | @Override method registerSecurityKeyComplete (line 68) | @Override method deleteSecondFactor (line 74) | @Override method addTotpFactor (line 79) | @Override FILE: src/peergos/server/login/JdbcAccount.java class JdbcAccount (line 25) | public class JdbcAccount implements LoginCache { method JdbcAccount (line 53) | public JdbcAccount(Supplier conn, SqlSupplier commands, Or... method getConnection (line 60) | private Connection getConnection() { method init (line 71) | private synchronized void init(SqlSupplier commands) { method hasEntry (line 84) | private boolean hasEntry(String username) { method setLoginData (line 100) | public CompletableFuture setLoginData(LoginData login) { method removeLoginData (line 130) | @Override method getType (line 143) | private MultiFactorAuthMethod.Type getType(String username, byte[] cre... method getEntryData (line 159) | public CompletableFuture getEntryData(String username,... method getLoginData (line 209) | public Optional getLoginData(String username) { method getSecondAuthMethods (line 227) | public CompletableFuture> getSecondAuthMet... method updateMFA (line 253) | public void updateMFA(String username, byte[] credentialId, byte[] val... method addTotpFactor (line 266) | public CompletableFuture addTotpFactor(String username) { method getMfa (line 288) | private byte[] getMfa(String username, byte[] credentialId) { method validateTotpCode (line 304) | private void validateTotpCode(String username, byte[] credentialId, St... method enableTotpFactor (line 323) | public CompletableFuture enableTotpFactor(String username, by... method registerSecurityKeyStart (line 346) | public byte[] registerSecurityKeyStart(String username) { method createChallenge (line 353) | private byte[] createChallenge(String username) { method hasChallenge (line 369) | private boolean hasChallenge(String username) { method getChallenge (line 385) | private byte[] getChallenge(String username) { method registerSecurityKeyComplete (line 401) | public void registerSecurityKeyComplete(String username, String keyNam... method deleteMfa (line 427) | public CompletableFuture deleteMfa(String username, byte[] cr... method close (line 441) | public synchronized void close() { FILE: src/peergos/server/login/LocalOnlyAccount.java class LocalOnlyAccount (line 25) | public class LocalOnlyAccount implements Account { method LocalOnlyAccount (line 31) | public LocalOnlyAccount(Account target, QuotaAdmin quotas, boolean all... method setLoginData (line 37) | @Override method hasQuota (line 42) | private boolean hasQuota(String username) { method getLoginData (line 50) | @Override method getSecondAuthMethods (line 66) | @Override method addTotpFactor (line 71) | @Override method enableTotpFactor (line 76) | @Override method registerSecurityKeyStart (line 81) | @Override method registerSecurityKeyComplete (line 86) | @Override method deleteSecondFactor (line 91) | @Override FILE: src/peergos/server/login/NonWriteThroughAccount.java class NonWriteThroughAccount (line 11) | public class NonWriteThroughAccount implements Account { method NonWriteThroughAccount (line 16) | public NonWriteThroughAccount(Account source) { method setLoginData (line 21) | @Override method getLoginData (line 27) | @Override method getSecondAuthMethods (line 41) | @Override method enableTotpFactor (line 46) | @Override method registerSecurityKeyStart (line 51) | @Override method registerSecurityKeyComplete (line 56) | @Override method deleteSecondFactor (line 61) | @Override method addTotpFactor (line 66) | @Override FILE: src/peergos/server/login/VerifyingAccount.java class VerifyingAccount (line 15) | public class VerifyingAccount implements Account { method VerifyingAccount (line 21) | public VerifyingAccount(Account target, CoreNode core, ContentAddresse... method setLoginData (line 27) | @Override method getLoginData (line 35) | @Override method getSecondAuthMethods (line 49) | @Override method addTotpFactor (line 56) | @Override method enableTotpFactor (line 63) | @Override method registerSecurityKeyStart (line 70) | @Override method registerSecurityKeyComplete (line 77) | @Override method deleteSecondFactor (line 84) | @Override FILE: src/peergos/server/login/Webauthn.java class Webauthn (line 21) | public class Webauthn { class Verifier (line 23) | public static class Verifier implements Authenticator, Cborable { method Verifier (line 29) | public Verifier(AttestedCredentialData credData, AttestationStatemen... method getAttestedCredentialData (line 37) | @Override method getCounter (line 42) | @Override method setCounter (line 47) | @Override method toCbor (line 52) | @Override method fromCbor (line 62) | public static Verifier fromCbor(Cborable cbor) { method fromLegacyCbor (line 84) | public static Verifier fromLegacyCbor(Cborable cbor) { method validateRegistration (line 117) | public static Verifier validateRegistration(WebAuthnManager webAuthnMa... method validateLogin (line 156) | public static long validateLogin(WebAuthnManager webAuthnManager, FILE: src/peergos/server/messages/ServerMessageStore.java class ServerMessageStore (line 21) | public class ServerMessageStore implements ServerMessager { method ServerMessageStore (line 38) | public ServerMessageStore(Supplier conn, SqlSupplier comma... method getConnection (line 46) | private Connection getConnection() { method init (line 57) | private synchronized void init(SqlSupplier commands) { method getMessages (line 68) | @Override method sendMessage (line 80) | @Override method getMessagesAfter (line 107) | public List> getMessagesAfter(LocalDateTim... method getMessages (line 129) | public List getMessages(String username) { method recentMessages (line 150) | public long recentMessages(String username) { method addMessage (line 165) | public void addMessage(String username, ServerMessage message) { method dismissMessage (line 181) | public void dismissMessage(String username, ServerMessage message) { method close (line 194) | public synchronized void close() { FILE: src/peergos/server/mutable/BlockingMutablePointers.java class BlockingMutablePointers (line 10) | public class BlockingMutablePointers implements MutablePointers { method BlockingMutablePointers (line 14) | public BlockingMutablePointers(MutablePointers source, PublicKeyBlackL... method setPointer (line 19) | @Override method setPointers (line 28) | @Override method getPointer (line 40) | @Override method clearCache (line 49) | @Override FILE: src/peergos/server/mutable/JdbcPointerCache.java class JdbcPointerCache (line 12) | public class JdbcPointerCache implements PointerCache { method JdbcPointerCache (line 17) | public JdbcPointerCache(JdbcIpnsAndSocial store, ContentAddressedStora... method put (line 22) | @Override method get (line 34) | @Override FILE: src/peergos/server/mutable/MutableEvent.java class MutableEvent (line 8) | public class MutableEvent { method MutableEvent (line 14) | public MutableEvent(PublicKeyHash owner, PublicKeyHash writer, byte[] ... FILE: src/peergos/server/mutable/MutableEventPropagator.java class MutableEventPropagator (line 10) | public class MutableEventPropagator implements MutablePointers { method MutableEventPropagator (line 15) | public MutableEventPropagator(MutablePointers target) { method addListener (line 19) | public void addListener(Consumer listener) { method setPointer (line 23) | @Override method setPointers (line 37) | @Override method getPointer (line 53) | @Override method clearCache (line 58) | @Override FILE: src/peergos/server/mutable/NonWriteThroughMutablePointers.java class NonWriteThroughMutablePointers (line 13) | public class NonWriteThroughMutablePointers implements MutablePointers { method NonWriteThroughMutablePointers (line 19) | public NonWriteThroughMutablePointers(MutablePointers source, ContentA... method setPointer (line 25) | @Override method getPointer (line 45) | @Override method setPointers (line 56) | @Override method clearCache (line 77) | @Override FILE: src/peergos/server/mutable/PublicKeyBlackList.java type PublicKeyBlackList (line 5) | public interface PublicKeyBlackList { method isAllowed (line 7) | boolean isAllowed(PublicKeyHash keyHash); FILE: src/peergos/server/mutable/UserBasedBlacklist.java class UserBasedBlacklist (line 20) | public class UserBasedBlacklist implements PublicKeyBlackList { method UserBasedBlacklist (line 34) | public UserBasedBlacklist(Path source, method updateBlackList (line 58) | private void updateBlackList() { method readUsernamesFromFile (line 76) | private Set readUsernamesFromFile() { method buildBlackList (line 89) | private Set buildBlackList(Set usernames) { method isAllowed (line 100) | @Override FILE: src/peergos/server/net/AccountHandler.java class AccountHandler (line 21) | public class AccountHandler implements HttpHandler { method AccountHandler (line 26) | public AccountHandler(Account account, boolean isPublicServer) { method handle (line 31) | public void handle(HttpExchange exchange) throws IOException { FILE: src/peergos/server/net/AndroidFileReflector.java class AndroidFileReflector (line 33) | public class AndroidFileReflector implements HttpHandler { method AndroidFileReflector (line 43) | public AndroidFileReflector(Crypto crypto, CoreNode core, MutablePoint... method handle (line 50) | @Override method writeDirToZip (line 126) | private void writeDirToZip(FileWrapper dir, ZipOutputStream zout, Netw... method writeFileToZip (line 142) | private void writeFileToZip(FileWrapper f, Path ourZipPath, ZipOutputS... FILE: src/peergos/server/net/BasicAuthHandler.java class BasicAuthHandler (line 8) | public class BasicAuthHandler implements HttpHandler method BasicAuthHandler (line 13) | public BasicAuthHandler(String auth, HttpHandler delegate) { method isAuthenticated (line 20) | private boolean isAuthenticated(HttpExchange exchange) { method handle (line 28) | @Override FILE: src/peergos/server/net/BatCaveHandler.java class BatCaveHandler (line 20) | public class BatCaveHandler implements HttpHandler { method BatCaveHandler (line 27) | public BatCaveHandler(BatCave bats, CoreNode pki, ContentAddressedStor... method handle (line 34) | public void handle(HttpExchange exchange) throws IOException { FILE: src/peergos/server/net/ConfigHandler.java class ConfigHandler (line 28) | public class ConfigHandler implements HttpHandler { method ConfigHandler (line 37) | public ConfigHandler(BlockCache cache, Optional readConfig(Path configFile) t... method writeConfig (line 93) | private synchronized void writeConfig(Path configFile, Map getConfiguredServerUrl(Path conf... method saveServerUrl (line 109) | private synchronized void saveServerUrl(Path configFile, String server... method replyJson (line 121) | private static void replyJson(HttpExchange exchange, Object payload) t... method handle (line 130) | @Override FILE: src/peergos/server/net/CoreNodeHandler.java class CoreNodeHandler (line 25) | public class CoreNodeHandler implements HttpHandler method CoreNodeHandler (line 32) | public CoreNodeHandler(CoreNode coreNode, boolean isPublicServer) { method handle (line 37) | public void handle(HttpExchange exchange) method getChain (line 132) | void getChain(DataInputStream din, DataOutputStream dout) throws Excep... method signup (line 140) | void signup(DataInputStream din, DataOutputStream dout) throws Exception method startPaidSignup (line 154) | void startPaidSignup(DataInputStream din, DataOutputStream dout, HttpE... method completePaidSignup (line 167) | void completePaidSignup(DataInputStream din, DataOutputStream dout) th... method mirror (line 179) | void mirror(DataInputStream din, DataOutputStream dout) throws Exception method startPaidMirror (line 190) | void startPaidMirror(DataInputStream din, DataOutputStream dout, HttpE... method completePaidMirror (line 203) | void completePaidMirror(DataInputStream din, DataOutputStream dout) th... method getUserSnapshots (line 214) | void getUserSnapshots(DataInputStream din, DataOutputStream dout) thro... method updateChain (line 224) | void updateChain(DataInputStream din, DataOutputStream dout) throws Ex... method migrateUser (line 237) | void migrateUser(DataInputStream din, DataOutputStream dout) throws Ex... method getPublicKey (line 254) | void getPublicKey(DataInputStream din, DataOutputStream dout) throws E... method getUsername (line 266) | void getUsername(DataInputStream din, DataOutputStream dout) throws Ex... method getAllUsernamesGzip (line 276) | void getAllUsernamesGzip(String prefix, DataInputStream din, DataOutpu... method close (line 287) | public void close() throws IOException{ FILE: src/peergos/server/net/CspHost.java class CspHost (line 5) | public class CspHost { method CspHost (line 13) | public CspHost(Optional protocol, String domain, Optional getCsp(FileWrapper headers) { method serveAsset (line 178) | private Optional serveAsset(AsyncReader reader, method addContentType (line 231) | private void addContentType(HttpExchange httpExchange, String path, Fi... method serve404 (line 258) | private void serve404(HttpExchange httpExchange, FileWrapper webroot) ... FILE: src/peergos/server/net/HSTSHandler.java class HSTSHandler (line 7) | public class HSTSHandler extends ResponseHeaderHandler { method getHeaders (line 9) | static Map getHeaders() { method HSTSHandler (line 18) | public HSTSHandler(HttpHandler handler) { FILE: src/peergos/server/net/InverseProxyHandler.java class InverseProxyHandler (line 13) | public class InverseProxyHandler implements HttpHandler { method InverseProxyHandler (line 18) | public InverseProxyHandler(String targetDomain, boolean isLocal) { method handle (line 23) | @Override FILE: src/peergos/server/net/JarHandler.java class JarHandler (line 9) | public class JarHandler extends StaticHandler { method JarHandler (line 12) | public JarHandler(CspHost host, method getAsset (line 24) | @Override method getAsset (line 29) | public static Asset getAsset(String resourcePath, Path root, boolean g... FILE: src/peergos/server/net/Multipart.java class Multipart (line 21) | public class Multipart { method Multipart (line 30) | public Multipart(HttpClient client, String requestURL, String charset,... method createBoundary (line 90) | public static String createBoundary() { method addFormField (line 99) | public void addFormField(String name, String value) { method addSubtree (line 116) | public void addSubtree(String path, File dir) throws IOException { method addDirectoryPart (line 127) | public void addDirectoryPart(String path) { method addFilePart (line 141) | public void addFilePart(String fieldName, NamedStreamable uploadFile) ... method addHeaderField (line 165) | public void addHeaderField(String name, String value) { method finish (line 170) | public CompletableFuture finish() throws IOException { FILE: src/peergos/server/net/MultipartReceiver.java class MultipartReceiver (line 6) | public class MultipartReceiver { method extractFiles (line 9) | public static List extractFiles(InputStream rawIn, String boun... method readUntil (line 40) | private static byte[] readUntil(byte[] pattern, InputStream in) throws... method readLine (line 65) | private static String readLine(InputStream in, int maxSize) throws IOE... FILE: src/peergos/server/net/MutationHandler.java class MutationHandler (line 18) | public class MutationHandler implements HttpHandler { method MutationHandler (line 24) | public MutationHandler(MutablePointers mutable, boolean isPublicServer) { method handle (line 29) | public void handle(HttpExchange exchange) throws IOException FILE: src/peergos/server/net/ProxyChooser.java class ProxyChooser (line 10) | public class ProxyChooser extends ProxySelector { method ProxyChooser (line 13) | public ProxyChooser(Optional https, Proxy.Type type) { method select (line 17) | @Override method connectFailed (line 27) | @Override method toString (line 30) | @Override method parseAddress (line 35) | public static InetSocketAddress parseAddress(String addr) { method build (line 41) | public static Optional build(Args a) { FILE: src/peergos/server/net/PublicFileHandler.java class PublicFileHandler (line 18) | public class PublicFileHandler implements HttpHandler { method PublicFileHandler (line 26) | public PublicFileHandler(Hasher hasher, CoreNode core, MutablePointers... method contains (line 30) | private static boolean contains(String body, String text) { method handle (line 34) | @Override FILE: src/peergos/server/net/RedirectHandler.java class RedirectHandler (line 7) | public class RedirectHandler implements HttpHandler method RedirectHandler (line 11) | public RedirectHandler(String target) { method handle (line 15) | @Override FILE: src/peergos/server/net/ResponseHeaderHandler.java class ResponseHeaderHandler (line 8) | public class ResponseHeaderHandler implements HttpHandler { method ResponseHeaderHandler (line 13) | public ResponseHeaderHandler(Map responseHeaders, Http... method handle (line 18) | @Override FILE: src/peergos/server/net/ServerMessageHandler.java class ServerMessageHandler (line 24) | public class ServerMessageHandler implements HttpHandler { method ServerMessageHandler (line 32) | public ServerMessageHandler(ServerMessager store, CoreNode pki, Conten... method handle (line 39) | public void handle(HttpExchange exchange) FILE: src/peergos/server/net/SocialHandler.java class SocialHandler (line 22) | public class SocialHandler implements HttpHandler { method SocialHandler (line 28) | public SocialHandler(SocialNetwork social, boolean isPublicServer) { method handle (line 33) | public void handle(HttpExchange exchange) FILE: src/peergos/server/net/SpaceHandler.java class SpaceHandler (line 19) | public class SpaceHandler implements HttpHandler { method SpaceHandler (line 25) | public SpaceHandler(SpaceUsage spaceUsage, boolean isPublicServer) { method handle (line 30) | public void handle(HttpExchange exchange) FILE: src/peergos/server/net/StaticHandler.java class StaticHandler (line 17) | public abstract class StaticHandler implements HttpHandler method StaticHandler (line 36) | public StaticHandler(CspHost host, method getAsset (line 54) | public abstract Asset getAsset(String resourcePath) throws IOException; class Asset (line 56) | public static class Asset { method Asset (line 60) | public Asset(byte[] data) { method isGzip (line 67) | protected boolean isGzip() { method isBot (line 72) | private static boolean isBot(String ua) { method handle (line 93) | @Override method readResource (line 253) | protected static byte[] readResource(InputStream in, boolean gzip) thr... method withCache (line 267) | public StaticHandler withCache() { FILE: src/peergos/server/net/StopHandler.java class StopHandler (line 33) | public class StopHandler implements HttpHandler { method StopHandler (line 38) | public StopHandler() {} method handle (line 40) | @Override FILE: src/peergos/server/net/StorageHandler.java class StorageHandler (line 30) | public class StorageHandler implements HttpHandler { method StorageHandler (line 40) | public StorageHandler(ContentAddressedStorage dht, method StorageHandler (line 52) | public StorageHandler(ContentAddressedStorage dht, method handle (line 59) | @Override method wrapHash (line 414) | private static Map wrapHash(Multihash h) { method wrapHash (line 418) | private static Map wrapHash(String key, Multihash h) { method replyJson (line 424) | private static void replyJson(HttpExchange exchange, String json, Opti... method replyBytes (line 442) | private static void replyBytes(HttpExchange exchange, byte[] body, Opt... FILE: src/peergos/server/net/SubdomainHandler.java class SubdomainHandler (line 13) | public class SubdomainHandler implements HttpHandler method SubdomainHandler (line 22) | public SubdomainHandler(List domains, HttpHandler handler, boo... method isIPv6 (line 36) | private boolean isIPv6(String ip) { method handle (line 46) | @Override FILE: src/peergos/server/net/SyncConfigHandler.java class SyncConfigHandler (line 42) | public class SyncConfigHandler implements HttpHandler { method SyncConfigHandler (line 55) | public SyncConfigHandler(SyncConfig a, method saveConfigToFile (line 76) | private synchronized void saveConfigToFile(SyncConfig config) { method getUpdatedArgs (line 85) | private synchronized SyncConfig getUpdatedArgs() { method updateRemotePaths (line 94) | public void updateRemotePaths(SyncConfig updated) { method start (line 103) | public void start() { method getRemotePath (line 108) | private String getRemotePath(String link) { method handle (line 116) | @Override method isWindows (line 291) | private static boolean isWindows() { FILE: src/peergos/server/simulation/AccessControl.java type AccessControl (line 8) | public interface AccessControl { method get (line 12) | List get(Path path, FileSystem.Permission permission); method add (line 14) | void add(Path path, String reader, FileSystem.Permission permission); method remove (line 16) | void remove(Path path, String reader, FileSystem.Permission permission); method remove (line 18) | void remove(Path path); method getRandomSharedPath (line 20) | Path getRandomSharedPath(Random random, FileSystem.Permission permissi... class AccessControlUnit (line 24) | class AccessControlUnit { method getAllowed (line 28) | List getAllowed(Path path) { method addAllowed (line 32) | void addAllowed(Path path, String user) { method removeAllowed (line 37) | void removeAllowed(Path path, String user) { method remove (line 42) | void remove(Path p) { method getOwner (line 49) | static String getOwner(Path path) { method can (line 60) | default boolean can(Path path, String user, FileSystem.Permission perm... class MemoryImpl (line 76) | class MemoryImpl implements AccessControl { method getAcu (line 80) | private AccessControlUnit getAcu(FileSystem.Permission permission) { method get (line 91) | @Override method add (line 103) | @Override method remove (line 108) | @Override method getRandomSharedPath (line 113) | @Override method remove (line 127) | @Override FILE: src/peergos/server/simulation/FileAsyncReader.java class FileAsyncReader (line 9) | public class FileAsyncReader implements AsyncReader { method FileAsyncReader (line 13) | public FileAsyncReader(File f) { method seek (line 21) | @Override method readIntoArray (line 31) | @Override method reset (line 40) | @Override method close (line 50) | @Override FILE: src/peergos/server/simulation/FileSystem.java type FileSystem (line 16) | public interface FileSystem { type Permission (line 21) | public enum Permission { method user (line 29) | String user(); method read (line 31) | byte[] read(Path path, BiConsumer progressConsumer); method reader (line 33) | AsyncReader reader(Path path) throws FileNotFoundException; method read (line 35) | default byte[] read(Path path) { method write (line 39) | void write(Path path, AsyncReader data, long size, Consumer prog... method writeSubtree (line 41) | void writeSubtree(Path path, Stream progressConsumer); method write (line 45) | default void write(Path path, byte[] data) { method modify (line 49) | default void modify(Path path, byte[] data) { method delete (line 52) | void delete(Path path); method grant (line 54) | void grant(Path path, String user, Permission permission); method revoke (line 56) | void revoke(Path path, String user, Permission permission); method stat (line 58) | Stat stat(Path path); method mkdir (line 60) | void mkdir(Path path); method ls (line 62) | List ls(Path path, boolean showHidden); method ls (line 64) | default List ls(Path path) { method walk (line 68) | default void walk(Path path, Consumer func) { method walk (line 86) | default void walk(Consumer func) { method follow (line 95) | void follow(FileSystem other, boolean reciprocate); method getRandomSharedPath (line 97) | Path getRandomSharedPath(Random random, FileSystem.Permission permissi... method getSharees (line 99) | List getSharees(Path path, Permission permission); FILE: src/peergos/server/simulation/InputStreamAsyncReader.java class InputStreamAsyncReader (line 9) | public class InputStreamAsyncReader implements AsyncReader { method InputStreamAsyncReader (line 13) | public InputStreamAsyncReader(InputStream is) { method seek (line 17) | @Override method readIntoArray (line 22) | @Override method reset (line 44) | @Override method close (line 54) | @Override FILE: src/peergos/server/simulation/PeergosFileSystemImpl.java class PeergosFileSystemImpl (line 17) | public class PeergosFileSystemImpl implements FileSystem { method PeergosFileSystemImpl (line 21) | public PeergosFileSystemImpl(UserContext userContext) { method user (line 25) | @Override method getPath (line 30) | private FileWrapper getPath(Path path) { method getParent (line 39) | private FileWrapper getParent(Path path) { method read (line 43) | @Override method reader (line 52) | @Override method write (line 58) | @Override method writeSubtree (line 67) | @Override method modify (line 73) | @Override method delete (line 80) | @Override method ls (line 86) | @Override method grant (line 96) | @Override method revoke (line 110) | @Override method stat (line 124) | @Override method mkdir (line 151) | @Override method follow (line 160) | @Override method getRandomSharedPath (line 174) | @Override method getSharees (line 179) | @Override FILE: src/peergos/server/simulation/Stat.java type Stat (line 5) | public interface Stat { method user (line 6) | String user(); method fileProperties (line 7) | FileProperties fileProperties(); method isReadable (line 8) | boolean isReadable(); method isWritable (line 9) | boolean isWritable(); FILE: src/peergos/server/social/NonWriteThroughSocialNetwork.java class NonWriteThroughSocialNetwork (line 15) | public class NonWriteThroughSocialNetwork implements SocialNetwork { method NonWriteThroughSocialNetwork (line 20) | public NonWriteThroughSocialNetwork(SocialNetwork source, ContentAddre... method sendFollowRequest (line 28) | @Override method getFollowRequests (line 38) | @Override method removeFollowRequest (line 67) | @Override FILE: src/peergos/server/space/JdbcQuotas.java class JdbcQuotas (line 11) | public class JdbcQuotas { method JdbcQuotas (line 30) | public JdbcQuotas(Supplier conn, SqlSupplier commands) { method getConnection (line 36) | private Connection getConnection() { method init (line 47) | private synchronized void init(SqlSupplier commands) { method setQuota (line 58) | public boolean setQuota(String username, long quota) { method getQuota (line 76) | public long getQuota(String username) { method removeUser (line 91) | public void removeUser(String username) { method getQuotas (line 102) | public Map getQuotas() { method hasUser (line 119) | public boolean hasUser(String username) { method hasToken (line 131) | public boolean hasToken(String token) { method removeToken (line 143) | public boolean removeToken(String token) { method addToken (line 155) | public boolean addToken(String token) { method listTokens (line 167) | public List listTokens() { method numberOfUsers (line 181) | public int numberOfUsers() { method close (line 193) | public synchronized void close() { method build (line 199) | public static JdbcQuotas build(Supplier conn, SqlSupplier ... FILE: src/peergos/server/space/JdbcSpaceRequests.java class JdbcSpaceRequests (line 13) | public class JdbcSpaceRequests { class SpaceRequestData (line 22) | private class SpaceRequestData { method SpaceRequestData (line 27) | SpaceRequestData(String name, byte[] data) { method SpaceRequestData (line 31) | SpaceRequestData(String name, String d) { method SpaceRequestData (line 35) | SpaceRequestData(String name, byte[] data, String b64string) { method insert (line 41) | public boolean insert() { method select (line 54) | public SpaceRequestData[] select() { method delete (line 72) | public boolean delete() { method JdbcSpaceRequests (line 89) | public JdbcSpaceRequests(Supplier conn, SqlSupplier comman... method getConnection (line 94) | private Connection getConnection() { method init (line 105) | private synchronized void init(SqlSupplier commands) { method addSpaceRequest (line 116) | public boolean addSpaceRequest(String username, byte[] signedRequest) { method removeSpaceRequest (line 121) | public boolean removeSpaceRequest(String username, byte[] unsigned) { method getSpaceRequests (line 126) | public List getSpaceRequests() { method close (line 138) | public synchronized void close() { method build (line 144) | public static JdbcSpaceRequests build(Supplier conn, SqlSu... FILE: src/peergos/server/space/JdbcUsageStore.java class JdbcUsageStore (line 16) | public class JdbcUsageStore implements UsageStore { method JdbcUsageStore (line 23) | public JdbcUsageStore(Supplier conn, SqlSupplier commands) { method getConnection (line 29) | private Connection getConnection() { method getConnection (line 33) | private Connection getConnection(boolean autocommit, boolean serializa... method init (line 46) | private synchronized void init(SqlSupplier commands) { method initialized (line 57) | @Override method removeUser (line 62) | public void removeUser(String username) { method addUserIfAbsent (line 115) | @Override method confirmUsage (line 139) | @Override method addPendingUsage (line 171) | @Override method resetPendingUsage (line 188) | @Override method getAllUsage (line 205) | public Map getAllUsage() { method getUsage (line 223) | @Override method getWriterId (line 256) | private int getWriterId(PublicKeyHash writer, Connection conn) { method addWriter (line 269) | @Override method getAllWriters (line 306) | @Override method getAllWriters (line 321) | @Override method getAllWriters (line 346) | @Override method getOwnerKey (line 365) | private PublicKeyHash getOwnerKey(PublicKeyHash writer, Connection con... method getAllTargets (line 383) | @Override method getAllTargets (line 407) | @Override method getAllOwners (line 435) | @Override method getOwnerKey (line 453) | public PublicKeyHash getOwnerKey(PublicKeyHash writer) { method getOwnerKey (line 462) | public PublicKeyHash getOwnerKey(String username) { method getOwnerKey (line 471) | private PublicKeyHash getOwnerKey(String username, Connection conn) { method getOwner (line 491) | @Override method getWriter (line 512) | private PublicKeyHash getWriter(int writerId, Connection conn) { method getUsage (line 524) | @Override method updateWriterUsage (line 556) | @Override method close (line 599) | public synchronized void close() { FILE: src/peergos/server/space/QuotaCLI.java class QuotaCLI (line 19) | public class QuotaCLI extends Builder { method printQuota (line 21) | private static void printQuota(String name, long quota) { method formatQuota (line 25) | private static String formatQuota(long quota) { FILE: src/peergos/server/space/SpaceCheckingKeyFilter.java class SpaceCheckingKeyFilter (line 30) | public class SpaceCheckingKeyFilter implements SpaceUsage { method SpaceCheckingKeyFilter (line 46) | public SpaceCheckingKeyFilter(CoreNode core, method close (line 79) | private synchronized void close() { method calculateUsage (line 87) | public void calculateUsage() { method update (line 118) | public static void update(UsageStore store, method accept (line 176) | public CompletableFuture accept(CorenodeEvent event) { method processCorenodeEvent (line 187) | private boolean processCorenodeEvent(String username, PublicKeyHash wr... method accept (line 198) | public void accept(MutableEvent event) { method processCorenodeEvent (line 207) | public static void processCorenodeEvent(String username, method processCorenodeEvent (line 219) | public static void processCorenodeEvent(String username, method prepareMutablePointerChange (line 237) | private static void prepareMutablePointerChange(MutableEvent event, method processMutablePointerEvent (line 255) | private void processMutablePointerEvent(MutableEvent event) { method processMutablePointerEvent (line 267) | private static void processMutablePointerEvent(UsageStore state, method processRemovedOwnedKeys (line 345) | private static void processRemovedOwnedKeys(UsageStore state, method getUsage (line 362) | @Override method getPaymentProperties (line 372) | @Override method getQuota (line 377) | @Override method requestQuota (line 384) | @Override method getWriterLock (line 395) | private static Object getWriterLock(PublicKeyHash writer) { method getQuota (line 399) | private static long getQuota(String owner, QuotaAdmin quotaAdmin) { method getUsage (line 412) | private static UserUsage getUsage(String username, UsageStore usageSto... method allowWrite (line 430) | public boolean allowWrite(PublicKeyHash writer, int size) { FILE: src/peergos/server/space/UsageCLI.java class UsageCLI (line 10) | public class UsageCLI extends Builder { method printFullUsage (line 38) | private static void printFullUsage(String name, long usage, long pendi... method printUsage (line 42) | private static void printUsage(String name, long usage) { method formatUsage (line 46) | private static String formatUsage(long quota) { FILE: src/peergos/server/space/UsageStore.java type UsageStore (line 3) | public interface UsageStore extends WriterUsageStore, UserUsageStore { method initialized (line 5) | void initialized(); method close (line 7) | void close(); FILE: src/peergos/server/space/UserUsage.java class UserUsage (line 8) | public class UserUsage implements Cborable { method UserUsage (line 13) | public UserUsage(long totalBytes) { method UserUsage (line 19) | public UserUsage(long totalBytes, boolean errored, Map ownedKeys() { method toCbor (line 51) | @Override method fromCbor (line 61) | public static WriterUsage fromCbor(Cborable cbor) { method equals (line 70) | @Override method hashCode (line 83) | @Override FILE: src/peergos/server/space/WriterUsageStore.java type WriterUsageStore (line 10) | public interface WriterUsageStore { method addWriter (line 12) | void addWriter(String owner, PublicKeyHash writer); method getAllWriters (line 14) | Set getAllWriters(); method getAllWriters (line 16) | Set getAllWriters(PublicKeyHash owner); method getAllWriters (line 18) | Set getAllWriters(String owner); method getUsage (line 20) | WriterUsage getUsage(PublicKeyHash writer); method getOwnerKey (line 22) | PublicKeyHash getOwnerKey(PublicKeyHash writer); method getOwnerKey (line 24) | PublicKeyHash getOwnerKey(String username); method getOwner (line 26) | String getOwner(PublicKeyHash writer); method updateWriterUsage (line 28) | void updateWriterUsage(PublicKeyHash writer, method getAllTargets (line 35) | List> getAllTargets(); method getAllTargets (line 38) | List> getAllTargets(String us... method getAllOwners (line 44) | List> getAllOwners(); FILE: src/peergos/server/sql/PostgresCommands.java class PostgresCommands (line 3) | public class PostgresCommands implements SqlSupplier { method vacuumCommand (line 5) | @Override method listTablesCommand (line 10) | @Override method tableExistsCommand (line 16) | @Override method addMetadataCommand (line 21) | @Override method updateMetadataCommand (line 26) | @Override method setMetadataVersionAndOwnerCommand (line 31) | @Override method createFollowRequestsTableCommand (line 36) | @Override method ensureColumnExistsCommand (line 42) | @Override method insertTransactionCommand (line 47) | @Override method insertServerIdCommand (line 52) | @Override method insertOrIgnoreCommand (line 57) | @Override method getByteArrayType (line 62) | @Override method getSerialIdType (line 67) | @Override method sqlInteger (line 72) | @Override FILE: src/peergos/server/sql/SqlSupplier.java type SqlSupplier (line 5) | public interface SqlSupplier { method listTablesCommand (line 7) | String listTablesCommand(); method tableExistsCommand (line 9) | String tableExistsCommand(); method createFollowRequestsTableCommand (line 11) | String createFollowRequestsTableCommand(); method insertTransactionCommand (line 13) | String insertTransactionCommand(); method insertServerIdCommand (line 15) | String insertServerIdCommand(); method getByteArrayType (line 17) | String getByteArrayType(); method getSerialIdType (line 19) | String getSerialIdType(); method sqlInteger (line 21) | String sqlInteger(); method ensureColumnExistsCommand (line 23) | String ensureColumnExistsCommand(String table, String column, String t... method addMetadataCommand (line 25) | String addMetadataCommand(); method updateMetadataCommand (line 27) | String updateMetadataCommand(); method setMetadataVersionAndOwnerCommand (line 29) | String setMetadataVersionAndOwnerCommand(); method vacuumCommand (line 31) | String vacuumCommand(); method createMutablePointersTableCommand (line 33) | default String createMutablePointersTableCommand() { method createAccountTableCommand (line 38) | default String createAccountTableCommand() { method createMfaTableCommand (line 44) | default String createMfaTableCommand() { method createMfaChallengeTableCommand (line 53) | default String createMfaChallengeTableCommand() { method createBatStoreTableCommand (line 58) | default String createBatStoreTableCommand() { method createLinkCountTableCommand (line 63) | default String createLinkCountTableCommand() { method createSpaceRequestsTableCommand (line 68) | default String createSpaceRequestsTableCommand() { method createQuotasTableCommand (line 72) | default String createQuotasTableCommand() { method createTransactionsTableCommand (line 77) | default String createTransactionsTableCommand() { method createServerIdentitiesTableCommand (line 82) | default String createServerIdentitiesTableCommand() { method createBlockMetadataStoreTableCommand (line 90) | default String createBlockMetadataStoreTableCommand() { method createPartitionStatusTableCommand (line 99) | default String createPartitionStatusTableCommand() { method createServerMessageTableCommand (line 103) | default String createServerMessageTableCommand() { method insertOrIgnoreCommand (line 115) | String insertOrIgnoreCommand(String prefix, String suffix); method createUsageTablesCommand (line 117) | default String createUsageTablesCommand() { method createTable (line 153) | default void createTable(String sqlTableCreate, Connection conn) throw... FILE: src/peergos/server/sql/SqliteCommands.java class SqliteCommands (line 3) | public class SqliteCommands implements SqlSupplier { method vacuumCommand (line 5) | @Override method listTablesCommand (line 10) | @Override method tableExistsCommand (line 15) | @Override method addMetadataCommand (line 20) | @Override method updateMetadataCommand (line 25) | @Override method setMetadataVersionAndOwnerCommand (line 30) | @Override method createFollowRequestsTableCommand (line 35) | @Override method ensureColumnExistsCommand (line 41) | @Override method insertTransactionCommand (line 46) | @Override method insertServerIdCommand (line 51) | @Override method insertOrIgnoreCommand (line 56) | @Override method getByteArrayType (line 61) | @Override method getSerialIdType (line 66) | @Override method sqlInteger (line 71) | @Override FILE: src/peergos/server/storage/AuthedCachingStorage.java class AuthedCachingStorage (line 15) | public class AuthedCachingStorage extends DelegatingStorage { method AuthedCachingStorage (line 26) | public AuthedCachingStorage(ContentAddressedStorage target, method getCached (line 44) | public Collection getCached() { method blockStoreProperties (line 48) | @Override method directToOrigin (line 53) | @Override method clearBlockCache (line 58) | @Override method put (line 64) | @Override method authoriseGet (line 81) | private CompletableFuture authoriseGet(Cid key, byte[] block, ... method get (line 90) | @Override method putRaw (line 148) | @Override method getRaw (line 167) | @Override FILE: src/peergos/server/storage/AuthedStorage.java class AuthedStorage (line 18) | public class AuthedStorage extends DelegatingDeletableStorage { method AuthedStorage (line 26) | public AuthedStorage(DeletableContentAddressedStorage target, method id (line 39) | @Override method linkHost (line 44) | @Override method setPki (line 49) | @Override method directToOrigin (line 55) | @Override method get (line 60) | @Override method get (line 68) | @Override method getWithAbsentMirrorBat (line 73) | public static CompletableFuture> getWithAbsentMir... method get (line 103) | @Override method getRaw (line 113) | @Override method getRaw (line 118) | @Override method getBlockMetadata (line 123) | @Override method getRaw (line 129) | @Override method hasBlock (line 141) | @Override method getLinks (line 146) | @Override method getChampLookup (line 158) | @Override method getAllBlockHashes (line 165) | @Override method getAllBlockHashVersions (line 170) | @Override method getOpenTransactionBlocks (line 175) | @Override method clearOldTransactions (line 180) | @Override method delete (line 185) | @Override FILE: src/peergos/server/storage/BlockBuffer.java type BlockBuffer (line 11) | public interface BlockBuffer { method put (line 13) | CompletableFuture put(PublicKeyHash owner, Cid hash, byte[] d... method get (line 15) | CompletableFuture> get(PublicKeyHash owner, Cid hash); method hasBlock (line 17) | boolean hasBlock(PublicKeyHash owner, Cid hash); method delete (line 19) | CompletableFuture delete(PublicKeyHash owner, Cid hash); method applyToAll (line 21) | void applyToAll(BiConsumer action); method setPki (line 23) | void setPki(CoreNode pki); FILE: src/peergos/server/storage/BlockMetadata.java class BlockMetadata (line 8) | public class BlockMetadata { method BlockMetadata (line 14) | public BlockMetadata(int size, List links, List batids) { method fromJSON (line 20) | public static BlockMetadata fromJSON(Map json) { FILE: src/peergos/server/storage/BlockMetadataStore.java type BlockMetadataStore (line 12) | public interface BlockMetadataStore { method get (line 14) | Optional get(Cid block); method hasBlocks (line 16) | List hasBlocks(List blocks); method getAll (line 18) | Map getAll(List blocks); method getOwner (line 25) | Optional getOwner(Cid block); method setOwner (line 27) | void setOwner(PublicKeyHash owner, Cid block); method setOwnerAndVersion (line 29) | void setOwnerAndVersion(PublicKeyHash owner, Cid block, String version); method put (line 31) | void put(PublicKeyHash owner, Cid block, String version, BlockMetadata... method remove (line 33) | void remove(Cid block); method size (line 35) | long size(PublicKeyHash owner); method isEmpty (line 37) | boolean isEmpty(); method applyToAll (line 39) | void applyToAll(Consumer consumer); method applyToAllSizes (line 41) | void applyToAllSizes(BiConsumer action); method list (line 43) | Stream list(PublicKeyHash owner); method listCbor (line 45) | void listCbor(PublicKeyHash owner, Consumer> res); method put (line 47) | default BlockMetadata put(PublicKeyHash owner, Cid block, String versi... method extractMetadata (line 53) | static BlockMetadata extractMetadata(Cid block, byte[] data) { method compact (line 71) | void compact(); FILE: src/peergos/server/storage/BlockVersion.java class BlockVersion (line 7) | public class BlockVersion { method BlockVersion (line 12) | public BlockVersion(Cid cid, String version, boolean isLatest) { method equals (line 18) | @Override method hashCode (line 26) | @Override method toString (line 31) | @Override FILE: src/peergos/server/storage/CachingBlockMetadataStore.java class CachingBlockMetadataStore (line 15) | public class CachingBlockMetadataStore implements BlockMetadataStore { method CachingBlockMetadataStore (line 20) | public CachingBlockMetadataStore(BlockMetadataStore target, int cacheS... method get (line 25) | @Override method getAll (line 35) | @Override method hasBlocks (line 54) | @Override method getOwner (line 59) | @Override method setOwner (line 64) | @Override method setOwnerAndVersion (line 69) | @Override method put (line 74) | @Override method remove (line 80) | @Override method size (line 86) | @Override method isEmpty (line 91) | @Override method applyToAll (line 96) | @Override method applyToAllSizes (line 101) | @Override method list (line 106) | @Override method listCbor (line 111) | @Override method compact (line 116) | @Override FILE: src/peergos/server/storage/CidVersionInfiniFilter.java class CidVersionInfiniFilter (line 10) | public class CidVersionInfiniFilter implements VersionFilter { method CidVersionInfiniFilter (line 16) | private CidVersionInfiniFilter(ChainedInfiniFilter filter) { method toBytes (line 20) | private byte[] toBytes(BlockVersion v) { method has (line 27) | @Override method add (line 32) | @Override method build (line 38) | public static CidVersionInfiniFilter build(long nBlocks, double falseP... FILE: src/peergos/server/storage/DelayingStorage.java class DelayingStorage (line 16) | public class DelayingStorage implements ContentAddressedStorage { method DelayingStorage (line 20) | public DelayingStorage(ContentAddressedStorage source, int readDelay, ... method directToOrigin (line 26) | @Override method id (line 31) | @Override method ids (line 36) | @Override method linkHost (line 41) | @Override method startTransaction (line 46) | @Override method closeTransaction (line 52) | @Override method sleep (line 58) | private static void sleep(int millis) { method put (line 64) | @Override method putRaw (line 74) | @Override method getRaw (line 85) | @Override method get (line 95) | @Override method getChampLookup (line 105) | @Override method getSecretLink (line 111) | @Override method getLinkCounts (line 121) | @Override method getSize (line 126) | @Override method getIpnsEntry (line 135) | @Override method getBlockCache (line 140) | @Override FILE: src/peergos/server/storage/DelegatingDeletableStorage.java class DelegatingDeletableStorage (line 22) | public class DelegatingDeletableStorage implements DeletableContentAddre... method DelegatingDeletableStorage (line 26) | public DelegatingDeletableStorage(DeletableContentAddressedStorage tar... method setPki (line 30) | @Override method partitionByUser (line 35) | @Override method getAllBlockHashes (line 42) | @Override method getAllBlockHashes (line 47) | @Override method getAllBlockHashVersions (line 52) | @Override method getOpenTransactionBlocks (line 57) | @Override method clearOldTransactions (line 62) | @Override method hasBlock (line 67) | @Override method delete (line 72) | @Override method bulkDelete (line 77) | @Override method get (line 82) | @Override method getRaw (line 87) | @Override method getRaw (line 92) | @Override method mirror (line 104) | @Override method blockStoreProperties (line 111) | @Override method linkHost (line 116) | @Override method clearBlockCache (line 121) | @Override method directToOrigin (line 126) | @Override method authReads (line 131) | @Override method authWrites (line 136) | @Override method id (line 147) | @Override method ids (line 152) | @Override method startTransaction (line 157) | @Override method closeTransaction (line 162) | @Override method put (line 167) | @Override method get (line 176) | @Override method putRaw (line 181) | @Override method getRaw (line 191) | @Override method get (line 196) | @Override method getChampLookup (line 201) | @Override method getSecretLink (line 206) | @Override method getLinkCounts (line 211) | @Override method downloadFragments (line 216) | @Override method getSize (line 226) | @Override method getIpnsEntry (line 231) | @Override method getLinks (line 236) | @Override method getBlockMetadata (line 241) | @Override method getBlockCache (line 246) | @Override FILE: src/peergos/server/storage/DeletableContentAddressedStorage.java type DeletableContentAddressedStorage (line 30) | public interface DeletableContentAddressedStorage extends ContentAddress... method getAllBlockHashes (line 34) | Stream> getAllBlockHashes(PublicKeyHash owner... method getAllBlockHashes (line 36) | Stream> getAllBlockHashes(boolean useBlocksto... method getAllBlockHashVersions (line 38) | void getAllBlockHashVersions(PublicKeyHash owner, Consumer getOpenTransactionBlocks(PublicKeyHash owner); method clearOldTransactions (line 46) | void clearOldTransactions(PublicKeyHash owner, long cutoffMillis); method hasBlock (line 48) | boolean hasBlock(PublicKeyHash owner, Cid hash); method delete (line 50) | void delete(PublicKeyHash owner, Cid block); method delete (line 52) | default void delete(PublicKeyHash owner, BlockVersion blockVersion) { method getBlockMetadataStore (line 56) | default Optional getBlockMetadataStore() { method bulkDelete (line 60) | default void bulkDelete(PublicKeyHash owner, List blockV... method setPki (line 66) | void setPki(CoreNode pki); method partitionByUser (line 68) | void partitionByUser(UsageStore usage, method get (line 78) | CompletableFuture> get(List peerIds, P... method get (line 80) | default CompletableFuture> get(List pe... method getRaw (line 102) | CompletableFuture> getRaw(List peerIds, method getRaw (line 108) | default CompletableFuture> getRaw(List pee... method getRaw (line 117) | default CompletableFuture> getRaw(List pee... method generateAuth (line 127) | default String generateAuth(Cid hash, Optional bat, Cid our... method getRaw (line 132) | CompletableFuture> getRaw(List peerIds, method mirror (line 141) | default CompletableFuture> mirror(String username, method mirror (line 164) | static CompletableFuture> mirror(String username, method bulkMirror (line 206) | default CompletableFuture> bulkMirror(PublicKeyHash owner, method bulkGetLinks (line 266) | default List bulkGetLinks(List peerIds, method getLinks (line 282) | CompletableFuture> getLinks(PublicKeyHash owner, Cid root, L... method getRecursiveBlockSize (line 284) | default CompletableFuture getRecursiveBlockSize(PublicKeyHash ow... method getChangeInContainedSize (line 299) | default CompletableFuture getChangeInContainedSize(PublicKeyHash... method getBlockMetadata (line 305) | CompletableFuture getBlockMetadata(PublicKeyHash owner,... method getChangeInContainedSize (line 307) | default CompletableFuture getChangeInContainedSize(PublicKeyHash... method getAllRecursiveSizes (line 334) | private CompletableFuture getAllRecursiveSizes(PublicKeyHash own... method getSizeDiff (line 344) | private CompletableFuture getSizeDiff(PublicKeyHash owner, List<... class HTTP (line 354) | class HTTP extends ContentAddressedStorage.HTTP implements DeletableCo... method HTTP (line 358) | public HTTP(HttpPoster poster, boolean isPeergosServer, Hasher hashe... method getAllBlockHashes (line 363) | @Override method getAllBlockHashes (line 372) | @Override method getAllBlockHashVersions (line 382) | @Override method delete (line 389) | @Override method bulkDelete (line 394) | @Override method getBlockMetadata (line 404) | @Override method getLinks (line 409) | @Override method hasBlock (line 414) | @Override method getOpenTransactionBlocks (line 421) | @Override method clearOldTransactions (line 426) | @Override method setPki (line 431) | @Override method partitionByUser (line 434) | @Override method get (line 439) | @Override method getRaw (line 453) | @Override method getRaw (line 474) | @Override method getOwnedKeysRecursive (line 489) | public static CompletableFuture> getOwnedKeysRecurs... method getOwnedKeysRecursive (line 503) | public static CompletableFuture> getOwnedKeysRecurs... method getOwnedKeysRecursive (line 512) | private static CompletableFuture> getOwnedKeysRecur... method getDirectOwnedKeys (line 538) | public static CompletableFuture> getDirectOwnedKeys... method getDirectOwnedKeys (line 548) | public static CompletableFuture> getDirectOwnedKeys... method getWriterData (line 578) | static CompletableFuture getWriterData(List>> getRawWithou... method getWithBackoff (line 139) | private V getWithBackoff(Supplier req) { method get (line 155) | @Override method linkHost (line 161) | @Override method startTransaction (line 166) | @Override method closeTransaction (line 171) | @Override method getChampLookup (line 176) | @Override method getSecretLink (line 181) | @Override method getLinkCounts (line 186) | @Override method put (line 191) | @Override method putRaw (line 196) | @Override FILE: src/peergos/server/storage/FileBlockBuffer.java class FileBlockBuffer (line 21) | public class FileBlockBuffer implements BlockBuffer { method FileBlockBuffer (line 26) | public FileBlockBuffer(Path root, UsageStore usage) { method setPki (line 39) | public void setPki(CoreNode pki) { method getFilePath (line 42) | private Path getFilePath(PublicKeyHash owner, Cid h) { method getLegacyFilePath (line 52) | private Path getLegacyFilePath(Cid h) { method get (line 61) | @Override method hasBlock (line 88) | @Override method put (line 99) | @Override method getSize (line 127) | public CompletableFuture> getSize(PublicKeyHash owne... method delete (line 133) | @Override method applyToAll (line 142) | public void applyToAll(BiConsumer processor) { FILE: src/peergos/server/storage/FileBlockCache.java class FileBlockCache (line 25) | public class FileBlockCache implements BlockCache { method FileBlockCache (line 34) | public FileBlockCache(Path root, long maxSizeBytes) { method getOrSetMaxSize (line 70) | private long getOrSetMaxSize(long maxSizeBytes) { method getMaxSize (line 89) | @Override method setMaxSize (line 94) | @Override method sizeCommitter (line 105) | private void sizeCommitter() { method getFilePath (line 123) | private Path getFilePath(Cid h) { method remove (line 135) | public void remove() { method get (line 139) | @Override method hasBlock (line 158) | @Override method put (line 165) | public CompletableFuture put(Cid hash, byte[] data) { method getSize (line 207) | public CompletableFuture> getSize(Multihash h) { method clear (line 213) | @Override method delete (line 219) | public void delete(Multihash h) { method delete (line 225) | private void delete(File file) { method getLastAccessTimeMillis (line 238) | public Optional getLastAccessTimeMillis(Cid h) { method applyToAll (line 254) | public void applyToAll(BiConsumer processor) { method ensureWithinSizeLimit (line 287) | public void ensureWithinSizeLimit(long maxSize) { FILE: src/peergos/server/storage/FileContentAddressedStorage.java class FileContentAddressedStorage (line 37) | public class FileContentAddressedStorage implements DeletableContentAddr... method FileContentAddressedStorage (line 48) | public FileContentAddressedStorage(Path root, method setPki (line 71) | @Override method directToOrigin (line 76) | @Override method userPartitioningComplete (line 81) | private boolean userPartitioningComplete() { method partitionByUser (line 85) | @Override method moveSubtreeToOwner (line 120) | private void moveSubtreeToOwner(PublicKeyHash owner, Cid root, List> put(PublicKeyHash owner, method getFilePath (line 217) | private Path getFilePath(PublicKeyHash owner, Cid h) { method getLegacyFilePath (line 232) | private static Path getLegacyFilePath(Cid h) { method remove (line 244) | public void remove() { method get (line 248) | @Override method get (line 255) | @Override method getRaw (line 260) | @Override method getRaw (line 294) | @Override method getRaw (line 324) | @Override method getRaw (line 329) | @Override method hasBlock (line 355) | @Override method getBlockMetadata (line 371) | @Override method getLinks (line 377) | @Override method put (line 389) | public Cid put(byte[] data, boolean isRaw, TransactionId tid, PublicKe... method getFiles (line 417) | protected List> getFiles(Optional processor) { method getFilesRecursive (line 467) | public static void getFilesRecursive(Path path, BiConsumer roots) { method equals (line 242) | @Override method hashCode (line 249) | @Override method toCbor (line 254) | @Override method fromCbor (line 263) | public static PointerSnapshot fromCbor(Cborable cbor) { method collect (line 284) | public static void collect(DeletableContentAddressedStorage storage, method parsePointerTarget (line 447) | private static MaybeMultihash parsePointerTarget(PublicKeyHash owner, method markReachable (line 457) | private static boolean markReachable(PublicKeyHash owner, method getUsername (line 480) | private static String getUsername(PublicKeyHash writer, UsageStore usa... method deleteUnreachableBlocks (line 488) | private static Pair deleteUnreachableBlocks(PublicKeyHash ... method markReachable (line 513) | public static boolean markReachable(PublicKeyHash owner, method markReachable (line 523) | private static boolean markReachable(PublicKeyHash owner, method getWithBackoff (line 568) | private static V getWithBackoff(Supplier req) { FILE: src/peergos/server/storage/GetBlockingStorage.java class GetBlockingStorage (line 12) | public class GetBlockingStorage extends DelegatingStorage { method GetBlockingStorage (line 15) | public GetBlockingStorage(ContentAddressedStorage target) { method blockStoreProperties (line 20) | @Override method directToOrigin (line 25) | @Override method clearBlockCache (line 30) | @Override method get (line 35) | @Override method getRaw (line 40) | @Override method getIpnsEntry (line 45) | @Override FILE: src/peergos/server/storage/IpfsWrapper.java class IpfsWrapper (line 48) | public class IpfsWrapper implements AutoCloseable { method proxyHandler (line 74) | private static HttpProtocol.HttpRequestProcessor proxyHandler(io.ipfs.... method convert (line 78) | private static SocketAddress convert(io.ipfs.multiaddr.MultiAddress ta... class S3ConfigParams (line 82) | public static class S3ConfigParams { method S3ConfigParams (line 86) | private S3ConfigParams(String s3Path, method build (line 101) | public static S3ConfigParams build(Optional s3Path, class IpfsConfigParams (line 113) | public static class IpfsConfigParams { method IpfsConfigParams (line 128) | public IpfsConfigParams(List bootstrapNode, method withIdentity (line 153) | public IpfsConfigParams withIdentity(Optional ident... method parseMultiAddresses (line 160) | private static List parseMultiAddresses(String s) { method buildConfig (line 167) | public static IpfsConfigParams buildConfig(Args args) { method IpfsWrapper (line 240) | public IpfsWrapper(Path ipfsDir, IpfsConfigParams ipfsConfigParams) { method isHttpApiListening (line 262) | public static boolean isHttpApiListening(String ipfsApiAddress) { method close (line 275) | @Override method stop (line 280) | public synchronized void stop() { method getIpfsDir (line 292) | public static Path getIpfsDir(Args args) { method readIPFSIdentity (line 299) | private static Optional readIPFSIdentity(Path ipfsDir) { method launch (line 315) | public static IpfsWrapper launch(Args args) { method startIdPublisher (line 327) | private void startIdPublisher(ServerIdentityStore ids) { method launch (line 382) | public static IpfsWrapper launch(Args args, method configure (line 472) | private Config configure() { FILE: src/peergos/server/storage/JdbcBlockMetadataStore.java class JdbcBlockMetadataStore (line 16) | public class JdbcBlockMetadataStore implements BlockMetadataStore { method JdbcBlockMetadataStore (line 33) | public JdbcBlockMetadataStore(Supplier conn, SqlSupplier c... method getConnection (line 39) | private Connection getConnection() { method getConnection (line 43) | private Connection getConnection(boolean autocommit, boolean serializa... method init (line 58) | private synchronized void init(SqlSupplier commands) { method compact (line 72) | public void compact() { method remove (line 85) | public void remove(Cid block) { method get (line 97) | @Override method hasBlocks (line 117) | @Override method getAll (line 146) | @Override method getOwner (line 183) | @Override method setOwner (line 200) | @Override method setOwnerAndVersion (line 214) | @Override method put (line 229) | @Override method size (line 252) | @Override method isEmpty (line 266) | @Override method applyToAll (line 278) | @Override method applyToAllSizes (line 303) | @Override method list (line 329) | @Override method listCbor (line 346) | @Override FILE: src/peergos/server/storage/JdbcLinkRetrievalcounter.java class JdbcLinkRetrievalcounter (line 14) | public class JdbcLinkRetrievalcounter implements LinkRetrievalCounter { method JdbcLinkRetrievalcounter (line 26) | public JdbcLinkRetrievalcounter(Supplier conn, SqlSupplier... method getConnection (line 32) | private Connection getConnection() { method init (line 43) | private synchronized void init(SqlSupplier commands) { method increment (line 50) | @Override method getCount (line 75) | @Override method getLatestModificationTime (line 92) | @Override method getLatestModificationTime (line 108) | @Override method setCounts (line 123) | @Override method getUpdatedCounts (line 147) | @Override FILE: src/peergos/server/storage/JdbcPartitionStatus.java class JdbcPartitionStatus (line 14) | public class JdbcPartitionStatus implements PartitionStatus { method JdbcPartitionStatus (line 23) | public JdbcPartitionStatus(Supplier conn, SqlSupplier comm... method getConnection (line 29) | private Connection getConnection() { method getConnection (line 33) | private Connection getConnection(boolean autocommit, boolean serializa... method init (line 48) | private synchronized void init(SqlSupplier commands) { method isDone (line 56) | @Override method complete (line 68) | @Override FILE: src/peergos/server/storage/JdbcServerIdentityStore.java class JdbcServerIdentityStore (line 21) | public class JdbcServerIdentityStore implements ServerIdentityStore { method JdbcServerIdentityStore (line 35) | public JdbcServerIdentityStore(Supplier conn, SqlSupplier ... method getConnection (line 42) | private Connection getConnection() { method init (line 53) | private synchronized void init(SqlSupplier commands) { method addIdentity (line 64) | @Override method setPrivateKey (line 76) | @Override method getIdentities (line 88) | @Override method getPrivateKey (line 104) | @Override method getRecord (line 120) | @Override method setRecord (line 136) | @Override method close (line 168) | public synchronized void close() { method build (line 174) | public static JdbcServerIdentityStore build(Supplier conn,... FILE: src/peergos/server/storage/JdbcTransactionStore.java class JdbcTransactionStore (line 15) | public class JdbcTransactionStore implements TransactionStore { method JdbcTransactionStore (line 26) | public JdbcTransactionStore(Supplier conn, SqlSupplier com... method getConnection (line 32) | private Connection getConnection() { method init (line 43) | private synchronized void init(SqlSupplier commands) { method startTransaction (line 60) | @Override method addBlock (line 65) | @Override method closeTransaction (line 80) | @Override method clearOldTransactions (line 92) | public void clearOldTransactions(PublicKeyHash owner, long cutoffMilli... method getOpenTransactionBlocks (line 103) | @Override method close (line 123) | public synchronized void close() { method build (line 129) | public static JdbcTransactionStore build(Supplier conn, Sq... FILE: src/peergos/server/storage/LinkRetrievalCounter.java type LinkRetrievalCounter (line 8) | public interface LinkRetrievalCounter { method increment (line 10) | void increment(String owner, long label); method getCount (line 12) | long getCount(String owner, long label); method getLatestModificationTime (line 14) | Optional getLatestModificationTime(String owner); method getLatestModificationTime (line 16) | Optional getLatestModificationTime(); method setCounts (line 18) | void setCounts(String owner, LinkCounts counts); method getUpdatedCounts (line 20) | LinkCounts getUpdatedCounts(String owner, LocalDateTime after); FILE: src/peergos/server/storage/LocalFirstStorage.java class LocalFirstStorage (line 22) | public class LocalFirstStorage extends DelegatingDeletableStorage { method LocalFirstStorage (line 30) | public LocalFirstStorage(DeletableContentAddressedStorage local, method getRaw (line 45) | @Override method getRaw (line 69) | @Override method get (line 96) | @Override method get (line 120) | @Override method getBlockMetadata (line 144) | @Override method bulkGetLinks (line 150) | @Override method mirror (line 181) | @Override method getIpnsEntry (line 188) | @Override FILE: src/peergos/server/storage/LocalIpnsStorage.java class LocalIpnsStorage (line 14) | public class LocalIpnsStorage extends DelegatingDeletableStorage { method LocalIpnsStorage (line 19) | public LocalIpnsStorage(DeletableContentAddressedStorage target, Serve... method getIpnsEntry (line 28) | @Override FILE: src/peergos/server/storage/LocalS3Handler.java class LocalS3Handler (line 20) | class LocalS3Handler implements HttpHandler { method LocalS3Handler (line 30) | LocalS3Handler(Path storageRoot, String bucket, String accessKey, Stri... method handle (line 37) | @Override method keyToPath (line 87) | private Path keyToPath(String rawPath) throws IOException { method handleGet (line 96) | private void handleGet(HttpExchange exchange, String rawPath) throws I... method handleHead (line 106) | private void handleHead(HttpExchange exchange, String rawPath) throws ... method handlePut (line 113) | private void handlePut(HttpExchange exchange, String rawPath) throws I... method handleCopy (line 123) | private void handleCopy(HttpExchange exchange, String rawPath, String ... method handleDelete (line 137) | private void handleDelete(HttpExchange exchange, String rawPath) throw... method handleBulkDelete (line 143) | private void handleBulkDelete(HttpExchange exchange) throws IOException { method handleListVersions (line 155) | private void handleListVersions(HttpExchange exchange, Map listKeysWithPrefix(String prefix) throws IOExcept... method parseDeleteXml (line 241) | private static List parseDeleteXml(byte[] body) { method verifySignature (line 263) | private void verifySignature(HttpExchange exchange) throws SignatureEx... method buildCanonicalQueryString (line 335) | private static String buildCanonicalQueryString(String rawQuery, boole... method buildCanonicalHeaders (line 352) | private static String buildCanonicalHeaders(HttpExchange exchange, Str... method deriveSigningKey (line 371) | private static byte[] deriveSigningKey(String secret, String shortDate... method hmac (line 380) | private static byte[] hmac(byte[] key, byte[] data) { method sha256 (line 388) | private static byte[] sha256(byte[] data) { method hex (line 394) | private static String hex(byte[] b) { method etag (line 400) | private static String etag(byte[] data) { method parseQueryParams (line 406) | private static Map parseQueryParams(String rawQuery) { method parseAuthorization (line 417) | private static Map parseAuthorization(String auth) { method firstHeader (line 429) | private static String firstHeader(HttpExchange exchange, String name) { method urlDecode (line 439) | private static String urlDecode(String s) { method urlEncode (line 444) | private static String urlEncode(String s) { method escapeXml (line 449) | private static String escapeXml(String s) { method sendXml (line 453) | private static void sendXml(HttpExchange exchange, int code, String bo... method sendXmlError (line 460) | private static void sendXmlError(HttpExchange exchange, int code, Stri... class SignatureException (line 464) | private static class SignatureException extends Exception { method SignatureException (line 465) | SignatureException(String msg) { super(msg); } FILE: src/peergos/server/storage/LocalS3Server.java class LocalS3Server (line 11) | public class LocalS3Server { method LocalS3Server (line 14) | public LocalS3Server(Path storageRoot, String bucket, String accessKey... method start (line 20) | public void start() { method stop (line 24) | public void stop() { method getConfig (line 33) | public static S3Config getConfig(String bucket, String accessKey, Stri... FILE: src/peergos/server/storage/LocalVersionInstanceAdmin.java class LocalVersionInstanceAdmin (line 11) | public class LocalVersionInstanceAdmin extends HttpInstanceAdmin { method LocalVersionInstanceAdmin (line 13) | public LocalVersionInstanceAdmin(HttpPoster poster) { method getVersionInfo (line 17) | @Override FILE: src/peergos/server/storage/MetadataCachingStorage.java class MetadataCachingStorage (line 17) | public class MetadataCachingStorage extends DelegatingDeletableStorage { method MetadataCachingStorage (line 25) | public MetadataCachingStorage(DeletableContentAddressedStorage target, method setPki (line 36) | @Override method updateMetadataStoreIfEmpty (line 42) | public void updateMetadataStoreIfEmpty() { method getBlockMetadataStore (line 53) | @Override method put (line 58) | @Override method putRaw (line 68) | @Override method getSize (line 78) | @Override method getLinks (line 86) | @Override method getBlockMetadata (line 98) | @Override method getChampLookup (line 108) | @Override method get (line 113) | @Override method writeBlockMetadata (line 118) | private BlockMetadata writeBlockMetadata(PublicKeyHash owner, byte[] b... method get (line 123) | @Override method get (line 132) | @Override method getRaw (line 141) | @Override method getRaw (line 150) | @Override method getRaw (line 159) | @Override method getRaw (line 168) | @Override method mirror (line 177) | @Override method addMetadata (line 185) | private int addMetadata(List peerIds, PublicKeyHash owner, ... FILE: src/peergos/server/storage/MultiIdStorage.java class MultiIdStorage (line 11) | public class MultiIdStorage extends DelegatingDeletableStorage { method MultiIdStorage (line 15) | public MultiIdStorage(DeletableContentAddressedStorage target, List blocks, int totalSize); FILE: src/peergos/server/storage/NonWriteThroughStorage.java class NonWriteThroughStorage (line 16) | public class NonWriteThroughStorage implements ContentAddressedStorage { method NonWriteThroughStorage (line 20) | public NonWriteThroughStorage(ContentAddressedStorage source, Hasher h... method directToOrigin (line 25) | @Override method id (line 30) | @Override method ids (line 35) | @Override method linkHost (line 40) | @Override method startTransaction (line 45) | @Override method closeTransaction (line 50) | @Override method getChampLookup (line 55) | @Override method put (line 60) | @Override method putRaw (line 69) | @Override method getRaw (line 79) | @Override method get (line 91) | @Override method getSize (line 103) | @Override method getSecretLink (line 115) | @Override method getLinkCounts (line 120) | @Override method getIpnsEntry (line 125) | @Override method getBlockCache (line 130) | @Override FILE: src/peergos/server/storage/P2pBlockGet.java type P2pBlockGet (line 11) | public interface P2pBlockGet { method bulkGet (line 13) | List bulkGet(List peerid, PublicKeyHash owne... FILE: src/peergos/server/storage/PartitionStatus.java type PartitionStatus (line 3) | public interface PartitionStatus { method isDone (line 5) | boolean isDone(); method complete (line 7) | void complete(); method isDone (line 10) | @Override method complete (line 15) | @Override FILE: src/peergos/server/storage/RAMStorage.java class RAMStorage (line 23) | public class RAMStorage implements DeletableContentAddressedStorage { method RAMStorage (line 31) | public RAMStorage(Hasher hasher) { method setPki (line 35) | @Override method partitionByUser (line 38) | @Override method directToOrigin (line 43) | @Override method id (line 48) | @Override method ids (line 53) | @Override method linkHost (line 58) | @Override method startTransaction (line 63) | @Override method closeTransaction (line 70) | @Override method getChampLookup (line 76) | @Override method getAllBlockHashes (line 81) | @Override method getAllBlockHashes (line 88) | @Override method getAllBlockHashVersions (line 97) | @Override method delete (line 104) | @Override method getOpenTransactionBlocks (line 109) | @Override method clearOldTransactions (line 117) | @Override method put (line 122) | @Override method putRaw (line 131) | @Override method put (line 141) | private CompletableFuture> put(PublicKeyHash owner, List forUser(PublicKeyHash owner) { method getRaw (line 165) | @Override method getRaw (line 180) | @Override method getRaw (line 188) | @Override method get (line 193) | @Override method get (line 200) | @Override method getAndParseObject (line 205) | private synchronized Optional getAndParseObject(PublicKeyH... method clear (line 212) | public synchronized void clear() { method size (line 216) | public synchronized int size() { method getBlockMetadata (line 220) | @Override method getLinks (line 226) | @Override method hasBlock (line 236) | @Override method getSize (line 241) | @Override method getIpnsEntry (line 249) | @Override method getSecretLink (line 254) | @Override method getLinkCounts (line 259) | @Override method hashToCid (line 264) | public static Cid hashToCid(byte[] input, boolean isRaw) { method hash (line 269) | public static byte[] hash(byte[] input) method equals (line 281) | @Override method hashCode (line 292) | @Override method totalSize (line 297) | public int totalSize() { method getBlockCache (line 303) | @Override FILE: src/peergos/server/storage/RamBlockMetadataStore.java class RamBlockMetadataStore (line 10) | public class RamBlockMetadataStore implements BlockMetadataStore { method RamBlockMetadataStore (line 14) | public RamBlockMetadataStore() { method isEmpty (line 18) | @Override method get (line 23) | @Override method hasBlocks (line 28) | @Override method getAll (line 35) | @Override method getOwner (line 42) | @Override method setOwner (line 47) | @Override method setOwnerAndVersion (line 52) | @Override method put (line 57) | @Override method remove (line 62) | @Override method applyToAll (line 67) | @Override method applyToAllSizes (line 72) | @Override method list (line 77) | @Override method listCbor (line 82) | @Override method size (line 91) | @Override method compact (line 96) | @Override FILE: src/peergos/server/storage/RamLinkRetrievalCounter.java class RamLinkRetrievalCounter (line 10) | public class RamLinkRetrievalCounter implements LinkRetrievalCounter { method increment (line 14) | @Override method getCount (line 23) | @Override method getLatestModificationTime (line 28) | @Override method getLatestModificationTime (line 37) | @Override method setCounts (line 45) | @Override method getUpdatedCounts (line 52) | @Override FILE: src/peergos/server/storage/RequestCountingStorage.java class RequestCountingStorage (line 14) | public class RequestCountingStorage extends DelegatingStorage { method RequestCountingStorage (line 25) | public RequestCountingStorage(ContentAddressedStorage target) { method reset (line 30) | public void reset() { method requestTotal (line 40) | public int requestTotal() { method startTransaction (line 44) | @Override method closeTransaction (line 52) | @Override method directToOrigin (line 60) | @Override method getChampLookup (line 65) | @Override method put (line 74) | @Override method get (line 87) | @Override method putRaw (line 95) | @Override method getRaw (line 109) | @Override FILE: src/peergos/server/storage/ResetableFileInputStream.java class ResetableFileInputStream (line 8) | public class ResetableFileInputStream implements AsyncReader { method ResetableFileInputStream (line 12) | public ResetableFileInputStream(RandomAccessFile raf) { method ResetableFileInputStream (line 16) | public ResetableFileInputStream(File f) throws IOException { method seekJS (line 20) | @Override method readIntoArray (line 32) | @Override method reset (line 44) | @Override method close (line 56) | @Override FILE: src/peergos/server/storage/S3AdminRequests.java class S3AdminRequests (line 17) | public class S3AdminRequests { method buildReq (line 19) | public static S3Request buildReq(String verb, method asAwsTime (line 35) | public static String asAwsTime(ZonedDateTime timestamp) { method normaliseDate (line 39) | private static Instant normaliseDate(ZonedDateTime timestamp) { method asAwsDate (line 43) | public static String asAwsDate(Instant instant) { method asAwsDate (line 48) | public static String asAwsDate(ZonedDateTime time) { method asAwsShortDate (line 52) | private static String asAwsShortDate(Instant instant) { method preSignDelete (line 56) | public static CompletableFuture preSignDelete(String key, method initialValue (line 75) | @Override class ObjectMetadata (line 85) | public static class ObjectMetadata { method ObjectMetadata (line 90) | public ObjectMetadata(String key, String etag, LocalDateTime lastMod... class ListObjectsReply (line 98) | public static class ListObjectsReply { method ListObjectsReply (line 104) | public ListObjectsReply(String prefix, boolean isTruncated, List preSignList(String prefix, method preSignListVersions (line 183) | public static CompletableFuture preSignListVersions(Stri... method listObjectVersions (line 209) | public static ListObjectVersionsReply listObjectVersions(String prefix, method listObjects (line 299) | public static ListObjectsReply listObjects(String prefix, class BulkDeleteReply (line 355) | public static class BulkDeleteReply { method BulkDeleteReply (line 358) | public BulkDeleteReply(List deletedKeys) { method bulkDelete (line 363) | public static BulkDeleteReply bulkDelete(List> ke... FILE: src/peergos/server/storage/S3BlockStorage.java class S3BlockStorage (line 48) | public class S3BlockStorage implements DeletableContentAddressedStorage { method S3BlockStorage (line 172) | public S3BlockStorage(S3Config config, method userPartitioningComplete (line 233) | private boolean userPartitioningComplete() { method partitionByUser (line 237) | @Override method partitionByUser (line 244) | public void partitionByUser(JdbcIpnsAndSocial mutable, method moveSubtreeToOwner (line 318) | private void moveSubtreeToOwner(PublicKeyHash owner, method moveLegacyBlockToOwner (line 338) | private void moveLegacyBlockToOwner(PublicKeyHash owner, method copyObject (line 396) | private String copyObject(String sourceKey, method copyObjectWithoutBackoff (line 402) | private String copyObjectWithoutBackoff(String sourceKey, method isCausedBy (line 432) | private static boolean isCausedBy(Throwable t, Class... types) { method setPki (line 450) | @Override method startFlusherThread (line 457) | private void startFlusherThread() { method directToOrigin (line 499) | @Override method legacyHashToKey (line 504) | private static String legacyHashToKey(Multihash hash) { method hashToKey (line 508) | private String hashToKey(PublicKeyHash owner, Multihash hash) { method keyToHash (line 514) | private Pair keyToHash(String key) { method keyToOwnerAndHash (line 523) | private Pair keyToOwnerAndHash(Optional> getRaw(PublicKeyHash owner,... method getRaw (line 780) | @Override method getRaw (line 790) | @Override method getRaw (line 803) | private CompletableFuture>> getRaw(List<... method getRootCause (line 838) | public static Throwable getRootCause(Throwable t) { method getRawWithoutBackoff (line 849) | private CompletableFuture>> getRawWithou... method hasBlock (line 927) | @Override method hasBlockWithoutBackoff (line 939) | public boolean hasBlockWithoutBackoff(PublicKeyHash owner, Cid hash, b... method isRateLimitedException (line 977) | public static boolean isRateLimitedException(Throwable e) { method checkAndAddBlock (line 994) | private BlockMetadata checkAndAddBlock(PublicKeyHash owner, Cid expect... method bulkGetBlocks (line 1001) | private List bulkGetBlocks(List peers, method mirror (line 1056) | @Override method bulkMirror (line 1109) | private void bulkMirror(PublicKeyHash owner, method getChampLookup (line 1232) | @Override method getOpenTransactionBlocks (line 1241) | @Override method clearOldTransactions (line 1246) | @Override method collectGarbage (line 1251) | private void collectGarbage(JdbcIpnsAndSocial pointers, UsageStore usa... method confirmDeleteBlocks (line 1256) | private CompletableFuture confirmDeleteBlocks(long cborCount,... method getWithBackoff (line 1272) | private static V getWithBackoff(Supplier req) { method getWithBackoff (line 1276) | private static V getWithBackoff(Supplier req, long initialSleep) { method getSize (line 1291) | @Override method getSizeOnly (line 1303) | private CompletableFuture> getSizeOnly(PublicKeyHash... method getIpnsEntry (line 1313) | @Override method getSizeWithoutRetry (line 1318) | private CompletableFuture> getSizeWithoutRetry(Publi... method contains (line 1353) | public boolean contains(PublicKeyHash owner, Multihash hash) { method id (line 1365) | @Override method ids (line 1370) | @Override method startTransaction (line 1375) | @Override method closeTransaction (line 1380) | @Override method put (line 1386) | @Override method putRaw (line 1395) | @Override method put (line 1408) | private CompletableFuture> put(PublicKeyHash owner, method putToBuffer (line 1422) | private CompletableFuture putToBuffer(byte[] data, boolean isRaw,... method put (line 1440) | public Cid put(byte[] data, boolean isRaw, TransactionId tid, PublicKe... method put (line 1447) | public Pair put(PublicKeyHash owner, Cid cid, byte... method bulkGetLinks (line 1481) | @Override method getLinks (line 1507) | @Override method getBlockMetadata (line 1518) | @Override method updateMetadataStoreIfEmpty (line 1542) | public void updateMetadataStoreIfEmpty() { method getAllBlockHashes (line 1574) | @Override method getAllBlockHashes (line 1580) | @Override method getAllBlockHashVersions (line 1586) | @Override method getAllRawBlockVersions (line 1591) | @Override method getFileVersions (line 1600) | private void getFileVersions(PublicKeyHash owner, Consumer> getFiles(Optional prefix, Consumer keyMar... method computeInitialRanges (line 1720) | public static List, Optional>> computeIn... method applyToAllVersionsParallel (line 1740) | private void applyToAllVersionsParallel(String prefix, method applyToAllVersionsParallel (line 1755) | void applyToAllVersionsParallel(String prefix, method lexMidpoint (line 1784) | private static Optional lexMidpoint(Optional start, Op... method listWorker (line 1805) | private void listWorker( method delete (line 1907) | @Override method delete (line 1912) | @Override method bulkDelete (line 1925) | @Override method getBlockCache (line 1958) | @Override method getSecretLink (line 1963) | @Override method getLinkCounts (line 1968) | @Override method main (line 1973) | public static void main(String[] args) throws Exception { method toString (line 2041) | @Override FILE: src/peergos/server/storage/S3BucketCopy.java class S3BucketCopy (line 19) | public class S3BucketCopy { method applyToAllInRange (line 23) | private static void applyToAllInRange(Consumer getFilenames(S3Config config, method copyObject (line 74) | private static void copyObject(String key, method copyObjectInterProvider (line 90) | private static void copyObjectInterProvider(String key, method copyRange (line 111) | private static void copyRange(String startPrefix, method main (line 143) | public static void main(String[] args) { FILE: src/peergos/server/storage/S3BucketStats.java class S3BucketStats (line 16) | public class S3BucketStats { method applyToAllInRange (line 20) | private static void applyToAllInRange(Consumer getFileHashes(S3Config config, Hash... method uploadFile (line 83) | private static void uploadFile(String key, method md5 (line 101) | private static String md5(Path file) throws IOException { method syncFrom (line 120) | private static void syncFrom(String startPrefix, method main (line 189) | public static void main(String[] args) throws Exception { FILE: src/peergos/server/storage/S3CanonicaliseVersionedBucket.java class S3CanonicaliseVersionedBucket (line 14) | public class S3CanonicaliseVersionedBucket { method applyToAllVersions (line 18) | private static void applyToAllVersions(String prefix, method processFileVersions (line 70) | private static void processFileVersions(long maxReturned, method main (line 95) | public static void main(String[] args) { FILE: src/peergos/server/storage/S3Config.java class S3Config (line 7) | public class S3Config { method S3Config (line 20) | public S3Config(String path, String bucket, String region, String acce... method getHost (line 30) | public String getHost() { method useS3 (line 34) | public static boolean useS3(Args a) { method useS3 (line 38) | public static boolean useS3(Args a, String prefix) { method build (line 42) | public static S3Config build(Args a, Optional prefix) { method getPublicReadUrl (line 54) | public static Optional getPublicReadUrl(Args a) { method getBlockstoreDomains (line 58) | public static List getBlockstoreDomains(Args a) { FILE: src/peergos/server/storage/S3DeleteOld.java class S3DeleteOld (line 20) | public class S3DeleteOld { method applyToAllInRange (line 24) | private static void applyToAllInRange(Consumer version, S3Config confi... method bulkDelete (line 119) | public static void bulkDelete(List> keyVersions, ... method main (line 146) | public static void main(String[] args) { FILE: src/peergos/server/storage/S3Exploration.java class S3Exploration (line 20) | class S3Exploration { method main (line 21) | public static void main(String[] a) throws Exception { method testVersionedBucket (line 25) | public static void testVersionedBucket(String[] a) throws Exception { method explore (line 127) | public static void explore(String[] a) throws Exception { method toURL (line 250) | private static URL toURL(String url) { method write (line 258) | private static byte[] write(URL target, String method, Map headers) thr... method delete (line 323) | private static void delete(URL target, Map headers) th... FILE: src/peergos/server/storage/S3HasBlock.java class S3HasBlock (line 46) | public class S3HasBlock { method main (line 47) | public static void main(String[] args) throws IOException { FILE: src/peergos/server/storage/SecretLinkStorage.java class SecretLinkStorage (line 19) | public class SecretLinkStorage extends DelegatingDeletableStorage { method SecretLinkStorage (line 32) | public SecretLinkStorage(DeletableContentAddressedStorage target, method setPki (line 49) | @Override method getSecretLink (line 55) | @Override method getLinkCounts (line 89) | @Override FILE: src/peergos/server/storage/ServerIdentityStore.java type ServerIdentityStore (line 8) | public interface ServerIdentityStore { method getIdentities (line 10) | List getIdentities(); method addIdentity (line 12) | void addIdentity(PeerId id, byte[] signedIpnsRecord); method setPrivateKey (line 14) | void setPrivateKey(PrivKey privateKey); method getPrivateKey (line 16) | byte[] getPrivateKey(PeerId peerId); method getRecord (line 18) | byte[] getRecord(PeerId peerId); method setRecord (line 20) | void setRecord(PeerId peerId, byte[] newRecord); FILE: src/peergos/server/storage/SqliteBlockList.java class SqliteBlockList (line 25) | public class SqliteBlockList { method SqliteBlockList (line 43) | public SqliteBlockList(Supplier conn, SqlSupplier cmds) { method getConnection (line 49) | private Connection getConnection() { method getNonCommittingConnection (line 60) | private Connection getNonCommittingConnection() { method init (line 71) | private synchronized void init(SqlSupplier commands) { method addBlocks (line 79) | public synchronized void addBlocks(List versions) { method hasBlock (line 102) | public synchronized boolean hasBlock(String username, Cid block) { method getVersions (line 126) | public synchronized List getVersions(String username, Cid bloc... method applyToAllVersions (line 158) | public synchronized void applyToAllVersions(Consumer conn, SqlSupplier ... method getConnection (line 65) | private Connection getConnection() { method getNonCommittingConnection (line 76) | private Connection getNonCommittingConnection() { method init (line 87) | private synchronized void init(SqlSupplier commands) { method addBlocks (line 95) | public synchronized void addBlocks(List versions) { method applyToAllVersions (line 178) | public synchronized void applyToAllVersions(Consumer blocks, AtomicLong tot... method size (line 227) | public synchronized long size() { method getUnreachable (line 239) | public synchronized void getUnreachable(Consumer> t... method compact (line 259) | public void compact() { method getBlockIndex (line 272) | private long getBlockIndex(Cid block) { method getBlockVersionIndex (line 286) | private long getBlockVersionIndex(BlockVersion block) { method getBlock (line 301) | private Cid getBlock(long index) { method setLinks (line 315) | public synchronized void setLinks(Cid block, List links) { method getLinks (line 350) | public synchronized Optional> getLinks(Cid block) { method removeBlock (line 386) | public synchronized void removeBlock(BlockVersion block) { method createReachabilityDb (line 409) | public static SqliteBlockReachability createReachabilityDb(Path dbFile) { method main (line 420) | public static void main(String[] a) throws IOException { FILE: src/peergos/server/storage/TransactionStore.java type TransactionStore (line 9) | public interface TransactionStore { method startTransaction (line 11) | TransactionId startTransaction(PublicKeyHash owner); method addBlock (line 13) | void addBlock(Multihash hash, TransactionId tid, PublicKeyHash owner); method closeTransaction (line 15) | void closeTransaction(PublicKeyHash owner, TransactionId tid); method getOpenTransactionBlocks (line 17) | List getOpenTransactionBlocks(PublicKeyHash owner); method clearOldTransactions (line 19) | void clearOldTransactions(PublicKeyHash owner, long cutoffUtcMillis); FILE: src/peergos/server/storage/TransactionalIpfs.java class TransactionalIpfs (line 18) | public class TransactionalIpfs extends DelegatingDeletableStorage { method TransactionalIpfs (line 28) | public TransactionalIpfs(DeletableContentAddressedStorage target, method id (line 43) | @Override method linkHost (line 48) | @Override method setPki (line 53) | @Override method directToOrigin (line 59) | @Override method startTransaction (line 64) | @Override method closeTransaction (line 69) | @Override method get (line 75) | @Override method get (line 81) | @Override method get (line 90) | @Override method getRaw (line 108) | @Override method getRaw (line 115) | @Override method getRaw (line 139) | @Override method getRaw (line 148) | @Override method getRaw (line 167) | @Override method hasBlock (line 178) | @Override method getLinks (line 183) | @Override method getBlockMetadata (line 195) | @Override method getChampLookup (line 201) | @Override method put (line 211) | @Override method putRaw (line 225) | @Override method getAllBlockHashes (line 240) | @Override method getAllBlockHashVersions (line 245) | @Override method delete (line 250) | @Override method bulkDelete (line 255) | @Override method getOpenTransactionBlocks (line 260) | @Override method clearOldTransactions (line 265) | @Override FILE: src/peergos/server/storage/UserBlockVersion.java class UserBlockVersion (line 7) | public class UserBlockVersion { method UserBlockVersion (line 13) | public UserBlockVersion(String username, Cid cid, String version, bool... method equals (line 20) | @Override method hashCode (line 28) | @Override method toString (line 33) | @Override FILE: src/peergos/server/storage/UserQuotas.java class UserQuotas (line 25) | public class UserQuotas implements QuotaAdmin { method UserQuotas (line 35) | public UserQuotas(JdbcQuotas quotas, method setPki (line 49) | @Override method getSpaceRequests (line 54) | @Override method getQuota (line 59) | @Override method hadQuota (line 66) | @Override method requestQuota (line 71) | @Override method approveSpaceRequest (line 80) | @Override method removeSpaceRequest (line 107) | @Override method acceptingSignups (line 112) | @Override method getLocalUsernames (line 117) | @Override method allowSignupOrUpdate (line 122) | @Override method createPaidUser (line 134) | @Override method removeDesiredQuota (line 141) | @Override method consumeToken (line 144) | @Override method addToken (line 152) | @Override method getQuota (line 157) | @Override method removeQuota (line 162) | @Override method getPaymentProperties (line 167) | @Override method setQuota (line 176) | public void setQuota(String username, long quota) { method getUsername (line 180) | private static String getUsername(String line) { method parseQuotaLine (line 184) | private static long parseQuotaLine(String line) { method parseQuota (line 188) | public static long parseQuota(String quota) { method readUsernamesFromFile (line 200) | public static Map readUsernamesFromFile(Path source) { FILE: src/peergos/server/storage/VersionFilter.java type VersionFilter (line 3) | public interface VersionFilter { method has (line 5) | boolean has(BlockVersion v); method add (line 7) | BlockVersion add(BlockVersion v); FILE: src/peergos/server/storage/admin/Admin.java class Admin (line 20) | public class Admin implements InstanceAdmin { method Admin (line 34) | public Admin(Set adminUsernames, method getSourceVersion (line 53) | public static String getSourceVersion() { method getVersionInfo (line 57) | @Override method getPendingSpaceRequests (line 62) | @Override method approveSpaceRequest (line 77) | @Override method acceptingSignups (line 89) | @Override method generateSignupToken (line 94) | public String generateSignupToken(SafeRandom rnd) { method addToWaitList (line 101) | @Override FILE: src/peergos/server/storage/admin/AdminHandler.java class AdminHandler (line 17) | public class AdminHandler implements HttpHandler { method AdminHandler (line 22) | public AdminHandler(InstanceAdmin target, boolean isPublicServer) { method handle (line 27) | public void handle(HttpExchange exchange) { FILE: src/peergos/server/storage/admin/HttpQuotaAdmin.java class HttpQuotaAdmin (line 16) | public class HttpQuotaAdmin implements QuotaAdmin { method HttpQuotaAdmin (line 35) | public HttpQuotaAdmin(HttpPoster poster) { method acceptingSignups (line 39) | @Override method allowSignupOrUpdate (line 45) | @Override method createPaidUser (line 51) | @Override method removeDesiredQuota (line 57) | @Override method getQuota (line 62) | @Override method removeQuota (line 68) | @Override method hadQuota (line 73) | @Override method addToken (line 79) | @Override method consumeToken (line 85) | @Override method getLocalUsernames (line 91) | @Override method getPaymentProperties (line 101) | @Override method getQuota (line 109) | @Override method requestQuota (line 115) | @Override method getSpaceRequests (line 121) | @Override method approveSpaceRequest (line 126) | @Override method removeSpaceRequest (line 129) | @Override FILE: src/peergos/server/storage/admin/QuotaAdmin.java type QuotaAdmin (line 19) | public interface QuotaAdmin extends QuotaControl { method acceptingSignups (line 21) | AllowedSignups acceptingSignups(); method allowSignupOrUpdate (line 23) | boolean allowSignupOrUpdate(String username, String token); method createPaidUser (line 25) | PaymentProperties createPaidUser(String username); method removeDesiredQuota (line 27) | void removeDesiredQuota(String username); method addToken (line 29) | boolean addToken(String token); method consumeToken (line 31) | boolean consumeToken(String username, String token); method setPki (line 33) | default void setPki(CoreNode core) {} method generateToken (line 35) | default String generateToken(SafeRandom rnd) { method getQuota (line 41) | long getQuota(String username); method removeQuota (line 43) | void removeQuota(String username); method hadQuota (line 45) | boolean hadQuota(String username, LocalDateTime time); method getLocalUsernames (line 47) | List getLocalUsernames(); method getSpaceRequests (line 49) | List getSpaceRequests(); method approveSpaceRequest (line 51) | void approveSpaceRequest(PublicKeyHash adminIdentity, Multihash instan... method removeSpaceRequest (line 53) | void removeSpaceRequest(String username, byte[] unsigned); method parseQuotaRequest (line 55) | static QuotaControl.SpaceRequest parseQuotaRequest(PublicKeyHash owner... FILE: src/peergos/server/storage/auth/BlockRequestAuthoriser.java type BlockRequestAuthoriser (line 13) | public interface BlockRequestAuthoriser { method allowRead (line 15) | default CompletableFuture allowRead(Cid block, byte[] blockDa... method allowRead (line 24) | CompletableFuture allowRead(Cid block, List blockBats,... method allowRead (line 26) | static boolean allowRead(Cid b, method isValidAuth (line 79) | static boolean isValidAuth(BlockAuth auth, Cid block, Cid sourceNode, ... method invalidReason (line 93) | static String invalidReason(BlockAuth auth, Cid block, Cid sourceNode,... FILE: src/peergos/server/storage/auth/JdbcBatCave.java class JdbcBatCave (line 15) | public class JdbcBatCave implements BatCave, BatCache { method JdbcBatCave (line 27) | public JdbcBatCave(Supplier conn, SqlSupplier commands) { method getConnection (line 32) | private Connection getConnection() { method init (line 43) | private synchronized void init(SqlSupplier commands) { method getOwner (line 54) | public String getOwner(BatId id) { method getBat (line 69) | @Override method getUserBats (line 90) | @Override method addBat (line 108) | @Override method getUserBats (line 125) | @Override method setUserBats (line 130) | @Override FILE: src/peergos/server/storage/auth/RamBatCave.java class RamBatCave (line 9) | public class RamBatCave implements BatCave { method getBat (line 14) | @Override method getUserBats (line 19) | @Override method addBat (line 24) | @Override FILE: src/peergos/server/storage/auth/Want.java class Want (line 8) | public class Want implements Jsonable { method Want (line 12) | public Want(Cid cid, Optional authHex) { method Want (line 17) | public Want(Cid h) { method equals (line 21) | @Override method toJson (line 29) | public Map toJson() { method fromJson (line 36) | public static Want fromJson(Map m) { method hashCode (line 40) | @Override method toString (line 45) | @Override FILE: src/peergos/server/sync/CopyOp.java class CopyOp (line 8) | class CopyOp { method CopyOp (line 15) | public CopyOp(boolean isLocalTarget, method hasComponent (line 37) | private boolean hasComponent(Path p, String name) { method equals (line 44) | @Override method hashCode (line 53) | @Override FILE: src/peergos/server/sync/DirectorySync.java class DirectorySync (line 55) | public class DirectorySync { method disableLogSpam (line 60) | private static void disableLogSpam() { method syncDir (line 72) | public static boolean syncDir(Args args) { method buildRemote (line 117) | public static PeergosSyncFS buildRemote(String link, method getSyncStateDbPath (line 127) | public static Path getSyncStateDbPath(Path peergosDir, String linkPath... method syncDirs (line 131) | public static boolean syncDirs(List links, method init (line 233) | public static boolean init(Args args) { method init (line 253) | public static LinkProperties init(UserContext context, String peergosP... method mfa (line 281) | private static CompletableFuture mfa(MultiFac... method syncDir (line 291) | public static void syncDir(SyncFilesystem localFS, method log (line 631) | public static void log(String msg) { method syncFile (line 636) | public static void syncFile(FileState synced, FileState local, FileSta... method renameOnConflict (line 982) | public static FileState renameOnConflict(SyncFilesystem fs, Path f, Fi... method copyFileDiffAndTruncate (line 1014) | public static Optional copyFileDiffAndTruncate(SyncFile... method applyCopyOp (line 1035) | public static Optional applyCopyOp(SyncFilesystem srcFs... class SnapshotTracker (line 1062) | private static class SnapshotTracker { method SnapshotTracker (line 1065) | public SnapshotTracker(Snapshot s) { method update (line 1069) | public synchronized void update(Snapshot s2) { method get (line 1073) | public synchronized Snapshot get() { method buildDirState (line 1078) | public static Snapshot buildDirState(SyncFilesystem fs, SyncState res,... method getParent (line 1130) | private static Path getParent(Path p) { FILE: src/peergos/server/sync/FileState.java class FileState (line 15) | public class FileState implements Cborable { method FileState (line 21) | public FileState(String relPath, long modificationTime, long size, Has... method withModtime (line 32) | public FileState withModtime(Optional modtime) { method prettyPrint (line 36) | public String prettyPrint() { method diffRanges (line 40) | public List> diffRanges(FileState other) { method toCbor (line 70) | @Override method fromCbor (line 81) | public static FileState fromCbor(Cborable c) { method equalsIgnoreModtime (line 90) | public boolean equalsIgnoreModtime(FileState other) { method equals (line 94) | @Override method hashCode (line 102) | @Override method toString (line 107) | @Override FILE: src/peergos/server/sync/JdbcTreeState.java class JdbcTreeState (line 22) | public class JdbcTreeState implements SyncState { method JdbcTreeState (line 52) | public JdbcTreeState(String sqlFile) { method close (line 64) | @Override method getConnection (line 73) | private Connection getConnection() { method init (line 84) | private synchronized void init() { method hasCompletedSync (line 101) | @Override method setCompletedSync (line 114) | @Override method filesCount (line 126) | @Override method allFilePaths (line 138) | @Override method setSnapshot (line 152) | @Override method getSnapshot (line 177) | @Override method addDir (line 191) | @Override method removeDir (line 204) | @Override method hasDir (line 215) | @Override method getDirs (line 227) | @Override method addLocalDelete (line 242) | @Override method removeLocalDelete (line 253) | @Override method hasLocalDelete (line 264) | @Override method addRemoteDelete (line 276) | @Override method removeRemoteDelete (line 287) | @Override method hasRemoteDelete (line 298) | @Override method byPath (line 310) | @Override method add (line 325) | @Override method remove (line 356) | @Override method byHash (line 367) | @Override method startCopies (line 383) | @Override method finishCopies (line 403) | @Override method getInProgressCopies (line 419) | @Override FILE: src/peergos/server/sync/LocalFileSystem.java class LocalFileSystem (line 26) | public class LocalFileSystem implements SyncFilesystem { method LocalFileSystem (line 33) | public LocalFileSystem(Path root, Hasher hasher) { method totalSpace (line 41) | @Override method freeSpace (line 50) | @Override method getRoot (line 59) | @Override method resolve (line 64) | @Override method exists (line 69) | @Override method mkdirs (line 74) | @Override method delete (line 83) | @Override method bulkDelete (line 102) | @Override method moveTo (line 107) | @Override method getLastModified (line 117) | @Override method setModificationTime (line 123) | @Override method setHash (line 128) | @Override method setHashes (line 131) | @Override method size (line 134) | @Override method truncate (line 139) | @Override method setBytes (line 146) | @Override method getBytes (line 180) | @Override method uploadSubtree (line 186) | @Override method getThumbnail (line 210) | @Override method hashFile (line 215) | @Override method filesCount (line 220) | @Override method applyToSubtree (line 232) | @Override method applyToSubtree (line 238) | private void applyToSubtree(Path start, Consumer file, Cons... FILE: src/peergos/server/sync/PeergosSyncFS.java class PeergosSyncFS (line 32) | public class PeergosSyncFS implements SyncFilesystem { method PeergosSyncFS (line 41) | public PeergosSyncFS(UserContext context, Path root) { method totalSpace (line 46) | @Override method freeSpace (line 51) | @Override method getRoot (line 56) | @Override method resolve (line 61) | @Override method exists (line 66) | @Override method mkdirs (line 71) | @Override method delete (line 83) | @Override method bulkDelete (line 95) | @Override method moveTo (line 105) | @Override method getLastModified (line 135) | @Override method setModificationTime (line 144) | @Override method setHash (line 152) | @Override method setHashes (line 174) | @Override method size (line 182) | @Override method truncate (line 190) | @Override method setBytes (line 196) | @Override method getBytes (line 244) | @Override method uploadSubtree (line 254) | @Override method getThumbnail (line 261) | @Override method hashFile (line 266) | @Override method filesCount (line 316) | @Override method applyToSubtree (line 321) | @Override method applyToSubtree (line 326) | private Optional applyToSubtree(Path start, Consumer getDirs() { method addLocalDelete (line 73) | @Override method removeLocalDelete (line 78) | @Override method hasLocalDelete (line 83) | @Override method addRemoteDelete (line 88) | @Override method removeRemoteDelete (line 93) | @Override method hasRemoteDelete (line 98) | @Override method remove (line 103) | @Override method byPath (line 115) | @Override method byHash (line 120) | public List byHash(RootHash b3) { method startCopies (line 124) | @Override method finishCopies (line 129) | @Override method getInProgressCopies (line 134) | @Override method close (line 139) | @Override FILE: src/peergos/server/sync/SyncConfig.java class SyncConfig (line 11) | public class SyncConfig implements Jsonable { method SyncConfig (line 16) | public SyncConfig(List localDirs, method toJsonWithoutCaps (line 40) | public Map toJsonWithoutCaps() { method toJson (line 58) | @Override method fromJson (line 79) | public static SyncConfig fromJson(Map json) { method getLinks (line 96) | public static List getLinks(Args updated) { method getLocalDirs (line 102) | public static List getLocalDirs(Args updated) { method getRemotePaths (line 108) | public static List getRemotePaths(Args updated) { method getSyncLocalDeletes (line 115) | public static List getSyncLocalDeletes(Args updated) { method getSyncRemoteDeletes (line 123) | public static List getSyncRemoteDeletes(Args updated) { method fromArgs (line 131) | public static SyncConfig fromArgs(Args a) { method isWindows (line 141) | private static boolean isWindows() { FILE: src/peergos/server/sync/SyncFilesystem.java type SyncFilesystem (line 17) | public interface SyncFilesystem { method totalSpace (line 19) | long totalSpace() throws IOException; method freeSpace (line 21) | long freeSpace() throws IOException; method getRoot (line 23) | String getRoot(); method resolve (line 25) | Path resolve(String p); method exists (line 27) | boolean exists(Path p); method mkdirs (line 29) | void mkdirs(Path p); method delete (line 31) | void delete(Path p); method bulkDelete (line 33) | void bulkDelete(Path dir, Set children); method moveTo (line 35) | void moveTo(Path src, Path target); method getLastModified (line 37) | long getLastModified(Path p); method setModificationTime (line 39) | void setModificationTime(Path p, long t); method setHash (line 41) | void setHash(Path p, HashTree hashTree, long fileSize); method setHashes (line 43) | void setHashes(List> toUpdate); method size (line 45) | long size(Path p); method truncate (line 47) | void truncate(Path p, long size) throws IOException; method setBytes (line 64) | Optional setBytes(Path p, method getBytes (line 75) | AsyncReader getBytes(Path p, long fileOffset) throws IOException; method uploadSubtree (line 77) | void uploadSubtree(Stream director... method getThumbnail (line 79) | Optional getThumbnail(Path p); method hashFile (line 81) | HashTree hashFile(Path p, Optional meta, String relativeP... method applyToSubtree (line 90) | Optional applyToSubtree(Consumer file, Consu... method filesCount (line 92) | long filesCount() throws IOException; class FileProps (line 94) | class FileProps { method FileProps (line 100) | public FileProps(String relPath, long modifiedTime, long size, Optio... FILE: src/peergos/server/sync/SyncProgress.java class SyncProgress (line 5) | public class SyncProgress { method SyncProgress (line 10) | public SyncProgress(long total) { method doneFile (line 14) | public void doneFile() { method doneFiles (line 18) | public void doneFiles(int count) { method toString (line 22) | @Override FILE: src/peergos/server/sync/SyncRunner.java type SyncRunner (line 28) | public interface SyncRunner { method start (line 30) | void start(); method runNow (line 32) | void runNow(); method getStatusHolder (line 34) | StatusHolder getStatusHolder(); class StatusHolder (line 36) | class StatusHolder { method cancel (line 42) | public synchronized void cancel() { method resume (line 46) | public synchronized void resume() { method isCancelled (line 50) | public synchronized boolean isCancelled() { method setStatus (line 54) | public synchronized void setStatus(String newStatus) { method setError (line 59) | public synchronized void setError(String error) { method getStatusAndTime (line 65) | public synchronized String getStatusAndTime() { method getError (line 71) | public synchronized Optional getError() { class ThreadBased (line 76) | class ThreadBased implements SyncRunner { method ThreadBased (line 82) | public ThreadBased(Args args, method start (line 148) | @Override method runNow (line 157) | @Override method getStatusHolder (line 162) | @Override FILE: src/peergos/server/sync/SyncState.java type SyncState (line 10) | public interface SyncState extends Closeable { method hasCompletedSync (line 12) | boolean hasCompletedSync(); method setCompletedSync (line 14) | void setCompletedSync(boolean done); method filesCount (line 16) | long filesCount(); method allFilePaths (line 18) | Set allFilePaths(); method add (line 20) | void add(FileState fs); method remove (line 22) | void remove(String path); method byPath (line 24) | FileState byPath(String path); method byHash (line 26) | List byHash(RootHash b3); method addDir (line 28) | void addDir(String path); method removeDir (line 30) | void removeDir(String path); method hasDir (line 32) | boolean hasDir(String path); method getDirs (line 34) | Set getDirs(); method addLocalDelete (line 36) | void addLocalDelete(String path); method removeLocalDelete (line 38) | void removeLocalDelete(String path); method hasLocalDelete (line 40) | boolean hasLocalDelete(String p); method addRemoteDelete (line 42) | void addRemoteDelete(String path); method removeRemoteDelete (line 44) | void removeRemoteDelete(String path); method hasRemoteDelete (line 46) | boolean hasRemoteDelete(String p); method startCopies (line 48) | void startCopies(List ops); method finishCopies (line 50) | void finishCopies(List ops); method getInProgressCopies (line 52) | List getInProgressCopies(); method setSnapshot (line 54) | void setSnapshot(String basePath, Snapshot s); method getSnapshot (line 56) | Snapshot getSnapshot(String basePath); FILE: src/peergos/server/tests/ArgsTests.java class ArgsTests (line 8) | public class ArgsTests { method parse (line 10) | @Test FILE: src/peergos/server/tests/BatTests.java class BatTests (line 17) | public class BatTests { method roundtripAndValidity (line 22) | @Test FILE: src/peergos/server/tests/Blake3Tests.java class Blake3Tests (line 10) | public class Blake3Tests { method correct (line 12) | @Test FILE: src/peergos/server/tests/BlockSizeTests.java class BlockSizeTests (line 17) | public class BlockSizeTests { method largeDirectoryCryptreeNode (line 20) | @Test FILE: src/peergos/server/tests/CLITests.java class CLITests (line 8) | public class CLITests { method quoting (line 10) | @Test FILE: src/peergos/server/tests/CborObjects.java class CborObjects (line 10) | public class CborObjects { method random (line 13) | private byte[] random(int len) { method dosCborObject (line 19) | @Test method cborNull (line 29) | @Test method cborString (line 35) | @Test method cborByteArray (line 42) | @Test method cborBoolean (line 49) | @Test method cborLongs (line 55) | @Test method cborLong (line 67) | private void cborLong(long value) { method cborMerkleLink (line 72) | @Test method cborMap (line 79) | @Test method cborList (line 98) | @Test method compatibleAndIdempotentSerialization (line 109) | public void compatibleAndIdempotentSerialization(CborObject value) { FILE: src/peergos/server/tests/ChampTests.java class ChampTests (line 27) | @RunWith(Parameterized.class) method ChampTests (line 34) | public ChampTests(Function... method identityHash (line 38) | public static byte[] identityHash(ByteArrayWrapper key) { method parameters (line 42) | @Parameterized.Parameters() method insertAndRetrieve (line 52) | @Test method testInsertionOrderIndependence (line 145) | private void testInsertionOrderIndependence(Map, Multihash> rando... method createUser (line 638) | public static SigningPrivateKeyAndPublicHash createUser(ContentAddress... FILE: src/peergos/server/tests/CidTests.java class CidTests (line 10) | public class CidTests { method nodeid (line 12) | @Test FILE: src/peergos/server/tests/CorenodeTests.java class CorenodeTests (line 8) | public class CorenodeTests { method isValidUsernameTest (line 10) | @Test FILE: src/peergos/server/tests/DifficultyGeneratorTests.java class DifficultyGeneratorTests (line 9) | public class DifficultyGeneratorTests { method rateLimited (line 11) | @Test method differentHardware (line 39) | @Test method differentHardware (line 45) | public void differentHardware(int hardwareSpeedup) { FILE: src/peergos/server/tests/Exceptions.java class Exceptions (line 5) | public class Exceptions { method cause (line 8) | @Test method rethrows (line 19) | private static void rethrows() { method throwsIllegal (line 27) | private static void throwsIllegal() { FILE: src/peergos/server/tests/FileBlockBufferTests.java class FileBlockBufferTests (line 20) | public class FileBlockBufferTests { method applyToAllFindsUserPartitionedBlocks (line 36) | @Test FILE: src/peergos/server/tests/FileChunkBinarySearchTests.java class FileChunkBinarySearchTests (line 25) | public class FileChunkBinarySearchTests { method computeAllProbes (line 35) | private static List>> computeAllProbes( method buildLookup (line 53) | private static Function>>, Completable... method runSearch (line 66) | private void runSearch(int n, int k) { method zeroChunks (line 91) | @Test method singleChunkAbsent (line 104) | @Test method singleChunkPresent (line 109) | @Test method smallFileAllPresent (line 114) | @Test method smallFileVariousK (line 120) | @Test method largeFileFirstChunkAbsent (line 127) | @Test method largeFileLastChunkAbsent (line 132) | @Test method largeFileAllPresent (line 137) | @Test method largeFileHalfPresent (line 142) | @Test method logarithmicRoundTrips (line 147) | @Test FILE: src/peergos/server/tests/FileHandlerTests.java class FileHandlerTests (line 11) | public class FileHandlerTests { method test_read (line 13) | @Test FILE: src/peergos/server/tests/FragmentedPaddedCipherTextTests.java class FragmentedPaddedCipherTextTests (line 16) | public class FragmentedPaddedCipherTextTests { method legacyFormatWithinlinedIdentityMultihash (line 20) | @Test method fragmentCountAndAlignment (line 27) | @Test method directorySmallFileEquality (line 50) | @Test method structurallyEqual (line 68) | private static boolean structurallyEqual(Cborable a, Cborable b) { FILE: src/peergos/server/tests/FragmenterTest.java class FragmenterTest (line 16) | @RunWith(Parameterized.class) method FragmenterTest (line 22) | public FragmenterTest(Fragmenter fragmenter) { method parameters (line 26) | @Parameterized.Parameters(name = "{0}") method testSeries (line 34) | @Test method testBoundary (line 43) | @Test method test (line 52) | private void test(byte[] input) throws IOException { method serializationTest (line 70) | @Test FILE: src/peergos/server/tests/FuseTests.java class FuseTests (line 26) | public class FuseTests { method setWebPort (line 35) | public static void setWebPort(int webPort) { method isWindows (line 39) | private static boolean isWindows() { method isMacos (line 42) | private static boolean isMacos() { method init (line 46) | @BeforeClass method readStdout (line 79) | public static String readStdout(Process p) throws IOException { method globalRoot (line 83) | @Test method createFileTest (line 94) | @Test method moveTest (line 104) | @Test public void moveTest() throws IOException { method copyFileTest (line 131) | @Test public void copyFileTest() throws IOException { method copyFileFromHostTest (line 155) | @Test public void copyFileFromHostTest() throws IOException { method randomReadTest (line 178) | @Test public void randomReadTest() throws IOException { method readBytes (line 205) | private byte[] readBytes(Path file, long offset, int size) throws IOEx... method removeTest (line 216) | @Test public void removeTest() throws IOException { method writePastEnd (line 225) | @Test public void writePastEnd() throws IOException { method truncateTest (line 244) | @Test method anotherTruncateTest (line 262) | @Test method lastModifiedTimeTest (line 283) | @Test method mkdirsTest (line 302) | @Test public void mkdirsTest() throws IOException { method rmdirTest (line 319) | @Test method createRandomFile (line 343) | private Path createRandomFile() throws IOException { method createRandomFile (line 347) | private Path createRandomFile(int length) throws IOException { method fileTest (line 360) | private void fileTest(int length, Random random) throws IOException { method lastDifferentindex (line 376) | public static int lastDifferentindex(byte[] src, byte[] target, int st... method firstDifferentindex (line 386) | public static int firstDifferentindex(byte[] src, byte[] target, int s... method readWriteTest (line 396) | @Test method shutdown (line 408) | @AfterClass FILE: src/peergos/server/tests/GCTests.java class GCTests (line 32) | public class GCTests { method getDb (line 35) | private Supplier getDb(Path file) throws Exception { method linksInDb (line 43) | @Test method versionedGC (line 59) | @Test method fullGC (line 154) | @Test method verifyAllReachableBlocksArePresent (line 247) | public void verifyAllReachableBlocksArePresent(JdbcIpnsAndSocial point... method verifySubtreePresent (line 263) | public void verifySubtreePresent(PublicKeyHash owner, method correctMarkPhase (line 277) | @Test method generateTree (line 328) | private Cid generateTree(int seed, int nLeafBlocksLeft, Consumer buff... method randomRaw (line 376) | private Cid randomRaw(Random r) { method randomCbor (line 382) | private Cid randomCbor(Random r) { FILE: src/peergos/server/tests/IdentityProofTests.java class IdentityProofTests (line 16) | public class IdentityProofTests { method identityProof (line 19) | @Test method usernameRegexes (line 51) | @Test FILE: src/peergos/server/tests/InodeFilesystemTests.java class InodeFilesystemTests (line 27) | public class InodeFilesystemTests { method InodeFilesystemTests (line 31) | public InodeFilesystemTests() {} method deleteExample (line 33) | @Test method nameClash (line 76) | @Test method insertAndRetrieve (line 114) | @Test method checkAllMappings (line 173) | private static void checkAllMappings(Map s... method getAllCaps (line 188) | private static Map getAllCaps(InodeFileSys... method randomCap (line 201) | private static AbsoluteCapability randomCap(PublicKeyHash owner, Rando... method randomPath (line 208) | private static String randomPath(Random r, int maxDepth) { method randomPathElement (line 215) | private static String randomPathElement(Random r) { method randomChar (line 225) | private static String randomChar(Random r) { method createUser (line 229) | public static SigningPrivateKeyAndPublicHash createUser(ContentAddress... FILE: src/peergos/server/tests/IpfsMetricsTest.java class IpfsMetricsTest (line 9) | public class IpfsMetricsTest { method enableMetrics (line 11) | @Test FILE: src/peergos/server/tests/IpfsUserTests.java class IpfsUserTests (line 20) | @RunWith(Parameterized.class) method IpfsUserTests (line 32) | public IpfsUserTests(NetworkAccess network, UserService service) { method parameters (line 36) | @Parameterized.Parameters() method cleanup (line 47) | @AfterClass method getArgs (line 55) | @Override method getBlockstoreSize (line 60) | public long getBlockstoreSize() { method gcReclaimsSpace (line 71) | @Test FILE: src/peergos/server/tests/JdbcAddressBookTest.java class JdbcAddressBookTest (line 13) | public class JdbcAddressBookTest { method lru (line 15) | @Test method add (line 30) | @Test method set (line 42) | @Test FILE: src/peergos/server/tests/JdbcLinkRetrievalCounterTests.java class JdbcLinkRetrievalCounterTests (line 18) | public class JdbcLinkRetrievalCounterTests { method basicUsage (line 20) | @Test FILE: src/peergos/server/tests/JdbcRecordStoreTests.java class JdbcRecordStoreTests (line 19) | public class JdbcRecordStoreTests { method randomId (line 21) | private Triple randomId() { method createRecord (line 28) | private IpnsRecord createRecord(PrivKey priv, Multihash publisher) { method lru (line 40) | @Test method overwrite (line 57) | @Test method remove (line 71) | @Test FILE: src/peergos/server/tests/JdbcUsageStoreTests.java class JdbcUsageStoreTests (line 15) | public class JdbcUsageStoreTests { method ownedKeys (line 17) | @Test method usageNotNegativeForUserWithNoWriters (line 53) | @Test method storedUsageVisibleWithZeroPending (line 69) | @Test method usageSummedAcrossWriters (line 87) | @Test method deletingDataDoesNotMakeUsageNegative (line 107) | @Test FILE: src/peergos/server/tests/LegacyWebauthn.java class LegacyWebauthn (line 9) | public class LegacyWebauthn { method modernEncodedSecp256 (line 11) | @Test method secp256r1 (line 24) | @Test method largeCredIdSecp256r1 (line 37) | @Test method largeCredIdEd25519 (line 50) | @Test FILE: src/peergos/server/tests/MLKEMTests.java class MLKEMTests (line 20) | public class MLKEMTests { method usage (line 23) | @Test method hybrid (line 40) | @Test method hybridMsgTamper (line 53) | @Test FILE: src/peergos/server/tests/MessagingTests.java class MessagingTests (line 22) | public class MessagingTests { method basicChat (line 29) | @Test method multipleInvites (line 67) | @Test method messagePropagation (line 101) | @Test method partitionAndJoin (line 144) | @Test method validateMessageLog (line 249) | private static void validateMessageLog(List msgs, TreeC... method clockSize (line 261) | @Test class RamMessageStore (line 269) | private static class RamMessageStore implements MessageStore { method RamMessageStore (line 272) | public RamMessageStore() { method getMessagesFrom (line 276) | @Override method getMessages (line 281) | @Override method addMessages (line 286) | @Override method revokeAccess (line 294) | @Override method apply (line 299) | public void apply(ChatUpdate u) { method mirror (line 303) | public void mirror(RamMessageStore other) { method generateUsers (line 308) | private static List generateUsers(int ... method generateChatIdentities (line 315) | private static List generateChatIdentities(int count) { FILE: src/peergos/server/tests/MimeTypeTests.java class MimeTypeTests (line 12) | public class MimeTypeTests { method smallTextFile (line 14) | @Test method utf8 (line 20) | @Test method truncatedUtf8 (line 27) | @Test FILE: src/peergos/server/tests/MirrorTests.java class MirrorTests (line 23) | public class MirrorTests { method randomBlock (line 26) | private static byte[] randomBlock() { method test (line 32) | @Test class TestMirrorStorage (line 70) | public static class TestMirrorStorage extends RAMStorage { method TestMirrorStorage (line 73) | public TestMirrorStorage(Hasher hasher) { method bulkGetLinks (line 77) | @Override FILE: src/peergos/server/tests/MultiNodeNetworkTests.java class MultiNodeNetworkTests (line 42) | @RunWith(Parameterized.class) method MultiNodeNetworkTests (line 66) | public MultiNodeNetworkTests(int iNode1, int iNode2) { method parameters (line 74) | @Parameterized.Parameters(name="nodes: {0}, {1} (0 == PKI, > 0 normal)") method cleanup (line 83) | @AfterClass method getNode (line 98) | private NetworkAccess getNode(int i) { method stopServer (line 102) | private void stopServer(int i) { method startServer (line 110) | private void startServer(int i) throws Exception { method buildBootstrapList (line 120) | private static String buildBootstrapList(int exclude) { method rotateServerIdentity (line 132) | private void rotateServerIdentity(int i) { method getService (line 146) | private UserService getService(int i) { method init (line 150) | @BeforeClass method buildApi (line 207) | private static NetworkAccess buildApi(Args args) throws Exception { method gc (line 212) | @Before method updatePkis (line 219) | private void updatePkis() { method signUp (line 228) | @Test method migrateWithZeroPwdChanges (line 242) | @Test method migrateWith1PwdChanges (line 247) | @Test method migrate (line 252) | public void migrate(int nPasswordChanges) { method largeP2pWrites (line 344) | @Test method invalidMigrate (line 365) | @Test method internodeFriends (line 402) | @Test method writeViaUnrelatedNode (line 434) | @Test method grantAndRevokeFileReadAccess (line 451) | @Test method grantAndRevokeDirReadAccess (line 457) | @Test method publicLinkToFile (line 463) | @Test method serverIdentityRotation (line 468) | @Ignore FILE: src/peergos/server/tests/MultiUserTests.java class MultiUserTests (line 32) | public class MultiUserTests { method MultiUserTests (line 43) | public MultiUserTests() { method init (line 50) | @BeforeClass method checkUserValidity (line 55) | public static void checkUserValidity(NetworkAccess network, String use... method checkUserValidity (line 60) | public static void checkUserValidity(int maxClaims, method getUserContexts (line 99) | private List getUserContexts(int size, List passw... method copyDirFromFriend (line 103) | @Test method copyDirToFriend (line 108) | @Test method copySubDirFromFriend (line 113) | @Test method grantAndRevokeFileReadAccess (line 118) | @Test method sharedwithPermutations (line 123) | @Test method sharedWriteableAndTruncate (line 128) | @Test method renameSharedwithFolder (line 133) | @Test method grantAndRevokeFileWriteAccess (line 138) | @Test method shareAFileWithDifferentSigner (line 143) | @Test method grantAndRevokeDirReadAccess (line 148) | @Test method grantAndRevokeDirWriteAccess (line 153) | @Test method grantAndRevokeNestedDirWriteAccess (line 158) | @Test method grantAndRevokeParentNestedWriteAccess (line 163) | @Test method grantAndRevokeDirWriteAccessWithNestedWriteAccess (line 168) | @Test method grantAndRevokeReadAccessToFileInFolder (line 173) | @Test method grantWriteToFileAndDeleteParent (line 178) | @Test method grantAndRevokeWriteThenReadAccessToFolder (line 183) | @Test method socialFeed (line 188) | @Test method socialPostPropagation (line 193) | @Test method socialFeedBug (line 198) | @Test method socialFeedAndUnfriending (line 203) | @Test method socialFeedCommentOnSharedFile (line 208) | @Test method socialFeedCASExceptionOnUpdate (line 213) | @Test method socialFeedVariations (line 218) | @Test method socialFeedVariations2 (line 223) | @Test method socialFeedFailsInUI (line 228) | @Test method socialFeedEmpty (line 233) | @Test method groupSharing (line 238) | @Test method email (line 243) | @Test method deleteEmailApp (line 248) | @Test method chatMultipleInvites (line 253) | @Test method chat (line 258) | @Test method chatReplyWithAttachment (line 263) | @Test method concurrentChatMerges (line 268) | @Test method chatLeaveAndDelete (line 273) | @Test method editChatMessage (line 278) | @Test method groupSharingToFollowers (line 283) | @Test method groupReadIndividualWrite (line 288) | @Test method groupAwareSharingReadAccess (line 293) | @Test method groupAwareSharingWriteAccess (line 308) | @Test method safeCopyOfFriendsReadAccess (line 322) | @Test method safeCopyOfFriendsWriteAccess (line 330) | @Test method safeCopyOfFriends (line 338) | private void safeCopyOfFriends(TriFunction input) throws IOException { FILE: src/peergos/server/tests/P2pStreamNetworkTests.java class P2pStreamNetworkTests (line 24) | public class P2pStreamNetworkTests { method init (line 36) | @BeforeClass method buildApi (line 67) | private static NetworkAccess buildApi(Args args) throws Exception { method buildProxiedApi (line 71) | private static NetworkAccess buildProxiedApi(int ipfsApiPort, int ipfs... method writeViaUnrelatedNode (line 75) | @Test method generateUsername (line 92) | private String generateUsername() { method ensureSignedUp (line 96) | public static UserContext ensureSignedUp(String username, String passw... FILE: src/peergos/server/tests/PasswordProtection.java class PasswordProtection (line 11) | public class PasswordProtection { method invertible (line 15) | @Test FILE: src/peergos/server/tests/PeergosNetworkUtils.java class PeergosNetworkUtils (line 38) | public class PeergosNetworkUtils { method generateUsername (line 40) | public static String generateUsername(Random random) { method generatePassword (line 44) | public static String generatePassword() { method randomString (line 51) | public static String randomString() { method randomData (line 55) | public static byte[] randomData(Random random, int length) { method randomUsername (line 61) | public static String randomUsername(String prefix, Random rnd) { method checkFileContents (line 67) | public static void checkFileContents(byte[] expected, FileWrapper f, U... method getUserContextsForNode (line 75) | public static List getUserContextsForNode(NetworkAccess n... method copyDirFromFriend (line 88) | public static void copyDirFromFriend(NetworkAccess network, Random ran... method copyDirToFriend (line 134) | public static void copyDirToFriend(NetworkAccess network, Random rando... method copySubdirFromFriend (line 181) | public static void copySubdirFromFriend(NetworkAccess network, Random ... method grantAndRevokeFileReadAccess (line 228) | public static void grantAndRevokeFileReadAccess(NetworkAccess sharerNode, method socialFeedCommentOnSharedFile (line 350) | public static void socialFeedCommentOnSharedFile(NetworkAccess sharerN... method socialFeedCASExceptionOnUpdate (line 408) | public static void socialFeedCASExceptionOnUpdate(NetworkAccess sharer... method grantAndRevokeFileWriteAccess (line 443) | public static void grantAndRevokeFileWriteAccess(NetworkAccess sharerN... method equalArrays (line 573) | public static void equalArrays(byte[] a, byte[] b) { method shareFileWithDifferentSigner (line 581) | public static void shareFileWithDifferentSigner(NetworkAccess sharerNode, method sharedwithPermutations (line 638) | public static void sharedwithPermutations(NetworkAccess sharerNode, Ra... method sharedWriteableAndTruncate (line 697) | public static void sharedWriteableAndTruncate(NetworkAccess sharerNode... method renameSharedwithFolder (line 751) | public static void renameSharedwithFolder(NetworkAccess sharerNode, Ra... method grantAndRevokeDirReadAccess (line 782) | public static void grantAndRevokeDirReadAccess(NetworkAccess sharerNode, method grantAndRevokeDirWriteAccess (line 908) | public static void grantAndRevokeDirWriteAccess(NetworkAccess sharerNode, method grantAndRevokeNestedDirWriteAccess (line 1053) | public static void grantAndRevokeNestedDirWriteAccess(NetworkAccess ne... method grantAndRevokeParentNestedWriteAccess (line 1174) | public static void grantAndRevokeParentNestedWriteAccess(NetworkAccess... method grantAndRevokeReadAccessToFileInFolder (line 1223) | public static void grantAndRevokeReadAccessToFileInFolder(NetworkAcces... method grantWriteToFileAndDeleteParent (line 1273) | public static void grantWriteToFileAndDeleteParent(NetworkAccess netwo... method grantAndRevokeWriteThenReadAccessToFolder (line 1324) | public static void grantAndRevokeWriteThenReadAccessToFolder(NetworkAc... method grantAndRevokeDirWriteAccessWithNestedWriteAccess (line 1374) | public static void grantAndRevokeDirWriteAccessWithNestedWriteAccess(N... method socialFeed (line 1490) | public static void socialFeed(NetworkAccess network, Random random) { method socialPostPropagation (line 1606) | public static void socialPostPropagation(NetworkAccess network, Random... method socialFeedBug (line 1658) | public static void socialFeedBug(NetworkAccess network, Random random) { method socialFeedAndUnfriending (line 1729) | public static void socialFeedAndUnfriending(NetworkAccess network, Ran... method uploadAndShare (line 1794) | private static void uploadAndShare(byte[] data, Path file, UserContext... method socialFeedVariations2 (line 1802) | public static void socialFeedVariations2(NetworkAccess network, Random... method socialFeedFailsInUI (line 1830) | public static void socialFeedFailsInUI(NetworkAccess network, Random r... method socialFeedEmpty (line 1870) | public static void socialFeedEmpty(NetworkAccess network, Random rando... method socialFeedVariations (line 1882) | public static void socialFeedVariations(NetworkAccess network, Random ... method chatReplyWithAttachment (line 1920) | public static void chatReplyWithAttachment(NetworkAccess network, Rand... method deleteEmailApp (line 1953) | public static void deleteEmailApp(NetworkAccess network, Random random) { method email (line 1971) | public static void email(NetworkAccess network, Random random) { method chatMultipleInvites (line 2053) | public static void chatMultipleInvites(NetworkAccess network, Random r... method chat (line 2083) | public static void chat(NetworkAccess network, Random random) { method concurrentChatMerges (line 2205) | public static void concurrentChatMerges(NetworkAccess network, Random ... method joinChat (line 2252) | private static Pair joinChat(UserContext c) { method memberLeaveAndDeleteChat (line 2262) | public static void memberLeaveAndDeleteChat(NetworkAccess network, Ran... method editChatMessage (line 2313) | public static void editChatMessage(NetworkAccess network, Random rando... method groupSharing (line 2358) | public static void groupSharing(NetworkAccess network, Random random) { method groupSharingToFollowers (line 2414) | public static void groupSharingToFollowers(NetworkAccess network, Rand... method groupReadIndividualWrite (line 2447) | public static void groupReadIndividualWrite(NetworkAccess network, Ran... method groupAwareSharing (line 2482) | public static void groupAwareSharing(NetworkAccess network, Random ran... method getAllChildCapsByChunk (line 2516) | public static List> getAllChildCapsByChunk(Fil... method getAllChildCapsByChunk (line 2520) | public static List> getAllChildCapsByChunk(Abs... method getAllChildCaps (line 2542) | public static Set getAllChildCaps(FileWrapper dir,... method getAllChildCaps (line 2548) | public static Set getAllChildCaps(AbsoluteCapabili... method shareFolderForWriteAccess (line 2556) | public static void shareFolderForWriteAccess(NetworkAccess sharerNode,... method publicLinkToFile (line 2597) | public static void publicLinkToFile(Random random, method friendBetweenGroups (line 2624) | public static void friendBetweenGroups(List a, List sharers, List... method ensureSignedUp (line 2668) | public static UserContext ensureSignedUp(String username, String passw... FILE: src/peergos/server/tests/ProofOfWorkTests.java class ProofOfWorkTests (line 10) | public class ProofOfWorkTests { method validity (line 13) | @Test method infiniteDifficulty (line 28) | @Test FILE: src/peergos/server/tests/QrCodeTests.java class QrCodeTests (line 22) | public class QrCodeTests { method testSecretLinkQRCode (line 26) | @Test method invertable (line 51) | @Test method decodeRGB (line 97) | private static Result decodeRGB(BufferedImage in) throws Exception { method randomKeyHash (line 109) | private static PublicKeyHash randomKeyHash(Random rnd) { method roundTripFingerPrint (line 115) | @Test FILE: src/peergos/server/tests/QuotaStoreTests.java class QuotaStoreTests (line 12) | @RunWith(Parameterized.class) method QuotaStoreTests (line 17) | public QuotaStoreTests(JdbcQuotas store) { method parameters (line 21) | @Parameterized.Parameters() method updatesAndCount (line 29) | @Test method tokens (line 43) | @Test FILE: src/peergos/server/tests/QuotaTests.java class QuotaTests (line 21) | @RunWith(Parameterized.class) method QuotaTests (line 36) | public QuotaTests(Args args) throws Exception { method parameters (line 40) | @Parameterized.Parameters() method init (line 47) | @BeforeClass method generateUsername (line 52) | private String generateUsername() { method quota (line 56) | @Test method deletionsReduceUsage (line 76) | @Test method deletionAtQuota (line 95) | @Test method deletionAfterExceedingQuota (line 115) | @Ignore // Can always just increae their quota for now FILE: src/peergos/server/tests/RamPki.java class RamPki (line 24) | class RamPki implements CoreNode { method signup (line 27) | @Override method startPaidSignup (line 32) | @Override method completePaidSignup (line 37) | @Override method startMirror (line 42) | @Override method startPaidMirror (line 47) | @Override method getSnapshots (line 52) | @Override method completePaidMirror (line 57) | @Override method getChain (line 62) | @Override method updateChain (line 67) | @Override method getUsername (line 72) | @Override method getUsernames (line 77) | @Override method migrateUser (line 82) | @Override method getNextServerId (line 87) | @Override method close (line 92) | @Override FILE: src/peergos/server/tests/RamUserTests.java class RamUserTests (line 37) | @RunWith(Parameterized.class) method RamUserTests (line 42) | public RamUserTests(NetworkAccess network, UserService service, Networ... method parameters (line 48) | @Parameterized.Parameters() class NoopCache (line 67) | public static class NoopCache implements BlockCache { method put (line 68) | @Override method get (line 73) | @Override method hasBlock (line 78) | @Override method clear (line 83) | @Override method getMaxSize (line 88) | @Override method setMaxSize (line 93) | @Override method getArgs (line 99) | @Override method cleanup (line 104) | @AfterClass method isWindows (line 112) | private static boolean isWindows() { method isMacos (line 115) | private static boolean isMacos() { method mfa (line 119) | @Test method testLoginRequiresTotp (line 158) | private static void testLoginRequiresTotp(String username, method appWriteInSecretLink (line 179) | @Test method copybug (line 196) | @Test method copyAssetsFolder (line 234) | private static CompletableFuture copyAssetsFolder(UserContext... method convert (line 259) | private static List convert(Path p) { method addTotpKey (line 266) | private static TotpKey addTotpKey(UserContext context, TimeBasedOneTim... method concurrentModification (line 287) | @Test method publicWebHosting (line 323) | @Test method cleanupFailedUploads (line 354) | @Test method cleanupFailedUploadsInDifferentWritingSpace (line 392) | @Test method moveToDescendant (line 444) | @Test method duplicateNameCutAndPaste (line 465) | @Test method get (line 499) | private static byte[] get(URL target) throws IOException { method bufferedReaderTest (line 514) | @Test method bufferedReaderSeek (line 562) | @Test method testReuseOfAsyncReader (line 600) | @Test method testReuseOfAsyncReaderSerialRead (line 640) | @Test method reuseExistingReader (line 674) | private AsyncReader reuseExistingReader(AsyncReader reader, FileWrappe... method compare (line 703) | private void compare(List resultBytes, List resultByte... method pump (line 722) | private CompletableFuture pump(AsyncReader reader, Integer cu... method revokeWriteAccessToTree (line 739) | @Test method secretLinkV2 (line 775) | @Test FILE: src/peergos/server/tests/RateLimitTests.java class RateLimitTests (line 7) | public class RateLimitTests { method maxRequestsInWindow (line 9) | @Test method previousWindow (line 17) | @Test class Clock (line 31) | static class Clock { method Clock (line 34) | public Clock(long time) { method now (line 38) | public synchronized long now() { method addTime (line 42) | public synchronized void addTime(long delta) { FILE: src/peergos/server/tests/RateMonitorTests.java class RateMonitorTests (line 6) | public class RateMonitorTests { method linear (line 8) | @Test FILE: src/peergos/server/tests/RequestCountTests.java class RequestCountTests (line 23) | public class RequestCountTests { method RequestCountTests (line 32) | public RequestCountTests() { method init (line 49) | @BeforeClass method socialFeedRequestCount (line 54) | @Test method uploadAndShare (line 154) | private static void uploadAndShare(byte[] data, Path file, UserContext... FILE: src/peergos/server/tests/RequestCountingBlockMetadataStore.java class RequestCountingBlockMetadataStore (line 19) | class RequestCountingBlockMetadataStore implements BlockMetadataStore { method RequestCountingBlockMetadataStore (line 23) | public RequestCountingBlockMetadataStore(BlockMetadataStore target) { method getRequestCount (line 27) | public long getRequestCount() { method resetRequestCount (line 31) | public void resetRequestCount() { method isEmpty (line 35) | @Override method get (line 40) | @Override method hasBlocks (line 46) | @Override method getAll (line 54) | @Override method getOwner (line 62) | @Override method setOwner (line 67) | @Override method setOwnerAndVersion (line 72) | @Override method put (line 77) | @Override method remove (line 82) | @Override method size (line 87) | @Override method applyToAll (line 92) | @Override method applyToAllSizes (line 97) | @Override method list (line 102) | @Override method listCbor (line 107) | @Override method compact (line 112) | @Override FILE: src/peergos/server/tests/RestartTests.java class RestartTests (line 24) | public class RestartTests { method RestartTests (line 35) | public RestartTests() throws Exception { method init (line 39) | @BeforeClass method shutdown (line 50) | @AfterClass method restart (line 55) | private static void restart() throws Exception { method waitUntilReady (line 70) | private static void waitUntilReady() { method start (line 83) | public static Process start(String command) throws IOException { method random (line 105) | private String random() { method friendPasswordChange (line 109) | @Ignore FILE: src/peergos/server/tests/RetryStorageTests.java class RetryStorageTests (line 21) | public class RetryStorageTests { class FailingStorage (line 23) | public class FailingStorage implements ContentAddressedStorage { method FailingStorage (line 26) | public FailingStorage(int retryLimit) { method directToOrigin (line 30) | @Override method id (line 35) | @Override method ids (line 45) | @Override method linkHost (line 55) | @Override method startTransaction (line 60) | @Override method closeTransaction (line 70) | @Override method put (line 80) | @Override method putRaw (line 89) | @Override method put (line 99) | private CompletableFuture> put(PublicKeyHash writer, List<... method getRaw (line 109) | @Override method get (line 119) | @Override method getChampLookup (line 129) | @Override method getSecretLink (line 139) | @Override method getLinkCounts (line 144) | @Override method getSize (line 149) | @Override method getIpnsEntry (line 159) | @Override method getBlockCache (line 164) | @Override method callMethod (line 170) | @Test method retryMethodSuccess (line 177) | @Test method retryMethodFailure (line 184) | @Test FILE: src/peergos/server/tests/S3ParallelListingTest.java class S3ParallelListingTest (line 13) | public class S3ParallelListingTest { method makeKey (line 15) | private static String makeKey(String folder, String username, Cid cid) { method randomCid (line 19) | private static Cid randomCid(Random r) { method parallelListingRangesDoNotLeakBeyondPrefix (line 25) | @Test FILE: src/peergos/server/tests/S3V4SignatureTests.java class S3V4SignatureTests (line 15) | public class S3V4SignatureTests { method validPutSignature (line 19) | @Test method validGetSignature (line 49) | @Test method linodeSignature (line 75) | @Test FILE: src/peergos/server/tests/ServerIdentityTests.java class ServerIdentityTests (line 21) | public class ServerIdentityTests { method rotation (line 23) | @Test FILE: src/peergos/server/tests/SqliteBlockMetadataTest.java class SqliteBlockMetadataTest (line 22) | public class SqliteBlockMetadataTest { method randomCid (line 27) | private static Cid randomCid() { method randomCids (line 33) | private static List randomCids(int count) { method basicUsage (line 39) | @Test method pagination (line 78) | @Ignore FILE: src/peergos/server/tests/SqliteTableTests.java class SqliteTableTests (line 15) | public class SqliteTableTests { method modifyTransactionsTable (line 17) | @Test FILE: src/peergos/server/tests/SqliteblockListTests.java class SqliteblockListTests (line 16) | public class SqliteblockListTests { method legacy (line 18) | @Test method randomCbor (line 31) | private Cid randomCbor(Random r) { FILE: src/peergos/server/tests/StandaloneWebauthnDemo.java class StandaloneWebauthnDemo (line 21) | public class StandaloneWebauthnDemo { method main (line 23) | public static void main(String[] args) throws Exception { method login (line 191) | private static void login(WebAuthnManager webAuthnManager, method register (line 253) | private static Authenticator register(WebAuthnManager webAuthnManager, FILE: src/peergos/server/tests/SyncTests.java class SyncTests (line 25) | public class SyncTests { method rename (line 29) | @Test method rename (line 40) | public void rename(String originalFilename, method renamesWithDuplicates (line 73) | @Test method renameDupe (line 80) | public void renameDupe(String originalFilename, method renameIgnoringDeletes (line 126) | @Test method moves (line 160) | @Test method androidModTime (line 207) | @Test method ignoreLocalDeleteBeforeConflict (line 238) | @Test method ignoreLocalDeleteBeforeConflict (line 244) | public void ignoreLocalDeleteBeforeConflict(int fileSize) throws Excep... method ignoreLocalDeleteBeforeRestore (line 288) | @Test method ignoreLocalDeleteBeforeRestore (line 294) | public void ignoreLocalDeleteBeforeRestore(int fileSize) throws Except... method ignoreLocalDeleteBeforeRemoteModification (line 334) | @Test method ignoreLocalDeleteBeforeRemoteModification (line 340) | public void ignoreLocalDeleteBeforeRemoteModification(int fileSize) th... method ignoreRemoteDeleteBeforeConflict (line 383) | @Test method ignoreRemoteDeleteBeforeConflict (line 389) | public void ignoreRemoteDeleteBeforeConflict(int fileSize) throws Exce... method ignoreRemoteDeleteBeforeRestore (line 435) | @Test method ignoreRemoteDeleteBeforeRestore (line 441) | public void ignoreRemoteDeleteBeforeRestore(int fileSize) throws Excep... method ignoreRemoteDeleteBeforeRemoteModification (line 481) | @Test method ignoreRemoteDeleteBeforeRemoteModification (line 487) | public void ignoreRemoteDeleteBeforeRemoteModification(int fileSize) t... method modifyLargeFile (line 530) | @Test method modifyLargeFile (line 535) | public void modifyLargeFile(int fileSize) throws Exception { method treeStateStore (line 572) | @Test FILE: src/peergos/server/tests/TestJniTweetNacl.java class TestJniTweetNacl (line 10) | @RunWith(Parameterized.class) method isWindows (line 18) | private static boolean isWindows() { method isMacos (line 21) | private static boolean isMacos() { method init (line 25) | @BeforeClass public static void init() { method TestJniTweetNacl (line 38) | public TestJniTweetNacl(int messageLength) { method parameters (line 42) | @Parameterized.Parameters(name = "{0}") method testSigningIdentity (line 59) | @Test method testSecretboxIdentity (line 76) | @Test FILE: src/peergos/server/tests/TokenSignupTests.java class TokenSignupTests (line 17) | @RunWith(Parameterized.class) method TokenSignupTests (line 28) | public TokenSignupTests(NetworkAccess network, UserService service) { method parameters (line 33) | @Parameterized.Parameters() method cleanup (line 49) | @AfterClass method signupWithToken (line 57) | @Test FILE: src/peergos/server/tests/TorTest.java class TorTest (line 14) | public class TorTest { method connectlToHiddenServiceNatively (line 17) | @Ignore FILE: src/peergos/server/tests/TotpTest.java class TotpTest (line 17) | public class TotpTest { method roundtrip (line 19) | @Test FILE: src/peergos/server/tests/TransactionsStoreTests.java class TransactionsStoreTests (line 17) | @RunWith(Parameterized.class) method TransactionsStoreTests (line 22) | public TransactionsStoreTests(TransactionStore store) { method parameters (line 26) | @Parameterized.Parameters() method hash (line 34) | public static byte[] hash(byte[] input) { method hashToCid (line 44) | public static Cid hashToCid(byte[] input, boolean isRaw) { method singleTransaction (line 49) | @Test FILE: src/peergos/server/tests/TreeHash.java class TreeHash (line 13) | public class TreeHash { method parallelTreeHash (line 15) | @Test class RandomStream (line 41) | static class RandomStream extends InputStream { method RandomStream (line 46) | public RandomStream(long size) { method read (line 50) | @Override method skip (line 58) | @Override FILE: src/peergos/server/tests/UserPublicKeyLinkTests.java class UserPublicKeyLinkTests (line 23) | public class UserPublicKeyLinkTests { method UserPublicKeyLinkTests (line 35) | public UserPublicKeyLinkTests() throws Exception { method init (line 39) | @BeforeClass method putPublicSigningKey (line 44) | private PublicKeyHash putPublicSigningKey(SigningKeyPair user) throws ... method createInitial (line 52) | @Test method testSerialization (line 62) | public void testSerialization(UserPublicKeyLink link) { method createChain (line 70) | @Test method repeatedPassword (line 84) | @Test FILE: src/peergos/server/tests/UserTests.java class UserTests (line 51) | public abstract class UserTests { method UserTests (line 64) | public UserTests(NetworkAccess network, UserService service) { method getArgs (line 69) | public abstract Args getArgs(); method buildArgs (line 71) | public static Args buildArgs() { method deleteFiles (line 104) | public static void deleteFiles(File f) { method gc (line 115) | public void gc() { method generateUsername (line 119) | protected String generateUsername() { method uploadFileSection (line 123) | private static CompletableFuture uploadFileSection(FileWr... method clearBuffer (line 136) | @After method serializationSizesSmall (line 144) | @Test method differentLoginTypes (line 165) | @Test method javascriptCompatible (line 186) | @Test method randomSignup (line 199) | @Test method singleSignUp (line 219) | @Test method noMfa (line 230) | public static CompletableFuture noMfa(MultiFa... method errorLoggingInToDeletedAccont (line 234) | @Test method expiredSignin (line 249) | @Test method expiredSigninAfterPasswordChange (line 267) | @Test method noRepeatedPassword (line 290) | @Test method duplicateSignUp (line 305) | @Test method repeatedSignUp (line 319) | @Test method deleteWritableFolderWithSecretLinkToDescendant (line 332) | @Test method webdavHashesSet (line 373) | @Test method changePassword (line 399) | @Test method legacyLogin (line 425) | @Test method legacyToPQ (line 472) | @Test method changePasswordFAIL (line 520) | @Test method changeLoginAlgorithm (line 536) | @Test method maliciousPointerClone (line 547) | @Test method downloadSmallFile (line 569) | @Test method concurrentFileModificationFailure (line 590) | @Test method writeReadVariations (line 629) | @Test method bulkUpload (line 697) | @Test method resumeFailedUploads (line 749) | @Test method replaceFileBulkUpload (line 780) | @Test method appendToFile (line 829) | @Test method concurrentUploadSucceeds (line 851) | @Test method renameFile (line 872) | @Test method renameWriteSharedDir (line 898) | @Test method fileModifiedDateShouldChangeAfterOverwrite (line 947) | @Test method directoryEncryptionKey (line 980) | @Test method fileEncryptionKey (line 999) | @Test method concurrentWritesToDir (line 1020) | @Test method concurrentMkdirs (line 1052) | @Test method concurrentWritesToFile (line 1080) | @Test method smallFileWrite (line 1124) | @Test class ThrowingStream (line 1158) | static class ThrowingStream implements AsyncReader { method ThrowingStream (line 1163) | public ThrowingStream(byte[] data, int throwAtIndex) { method seekJS (line 1168) | @Override method readIntoArray (line 1178) | @Override method reset (line 1187) | @Override method close (line 1193) | @Override method repeatFailedUpload (line 1197) | @Test method javaThumbnail (line 1218) | @Test method copyFileWithThumbnail (line 1244) | @Test method javaVideoThumbnail (line 1270) | @Ignore // until we figure out how to manage javafx in tests method legacyFileModification (line 1287) | @Test method mediumFileWrite (line 1395) | @Test method truncate (line 1451) | @Test method fileSeek (line 1490) | @Test method writeTiming (line 1527) | @Test method publiclySharedFile (line 1550) | @Test method publiclySharedDirectory (line 1571) | @Test method publicLinkToFile (line 1594) | @Test method publicLinkToDir (line 1599) | @Test method writablePublicLinkToDir (line 1632) | @Test method writableSecretLinkMoveTo (line 1672) | @Test method recursiveDelete (line 1706) | @Test method profileTest (line 1731) | @Test method rename (line 1793) | @Test method hugeFolder (line 1814) | public void hugeFolder() throws Exception { method checkFileContents (line 1830) | public static void checkFileContents(byte[] expected, FileWrapper f, U... method checkFileContentsChunked (line 1838) | private static void checkFileContentsChunked(byte[] expected, FileWrap... method readWriteTest (line 1870) | @Test method deleteTest (line 1907) | @Test method bulkDeleteTest (line 1972) | @Test method internalCopy (line 2017) | @Test method internalCopyDirToDir (line 2044) | @Test method usage (line 2071) | @Test method correctUsageAndSpaceRecovery (line 2106) | @Test method serverMessaging (line 2136) | @Test method getDataKey (line 2178) | public static SymmetricKey getDataKey(FileWrapper file) { method getMetaKey (line 2182) | public static SymmetricKey getMetaKey(FileWrapper file) { method deleteDirectoryTest (line 2186) | @Test method overwriteContentsOfFileGrowFile (line 2245) | @Test method overwriteContentsOfFileShrinkFile (line 2270) | @Test method deleteWithOwnSubtreeWriterLeavesNoOrphanedChampEntries (line 2308) | @Test method getAllChampKeys (line 2389) | private static Set getAllChampKeys(PublicKeyHash own... method collectReachableMapKeys (line 2405) | private static Set collectReachableMapKeys(FileWrapp... method randomString (line 2419) | public static String randomString() { method randomData (line 2423) | public static byte[] randomData(int length) { method ensureTmpDir (line 2431) | private static void ensureTmpDir() { method createTmpFile (line 2437) | private static Path createTmpFile(String filename) throws IOException { FILE: src/peergos/server/tests/VarintTests.java class VarintTests (line 8) | public class VarintTests { method minimalEncoding (line 10) | @Test FILE: src/peergos/server/tests/VersionedWriteOnlyStorage.java class VersionedWriteOnlyStorage (line 30) | public class VersionedWriteOnlyStorage implements DeletableContentAddres... method VersionedWriteOnlyStorage (line 36) | public VersionedWriteOnlyStorage(BlockMetadataStore metadb) { method add (line 40) | public BlockVersion add(PublicKeyHash owner, Cid c) { method getBlockMetadataStore (line 48) | public Optional getBlockMetadataStore() { method getAllBlockHashes (line 52) | @Override method getAllBlockHashes (line 59) | @Override method getAllBlockHashVersions (line 68) | @Override method getOpenTransactionBlocks (line 89) | @Override method clearOldTransactions (line 94) | @Override method hasBlock (line 99) | @Override method delete (line 104) | @Override method delete (line 109) | @Override method setPki (line 119) | @Override method get (line 124) | @Override method getRaw (line 129) | @Override method getRaw (line 141) | @Override method linkHost (line 146) | @Override method directToOrigin (line 151) | @Override method getBlockCache (line 156) | @Override method id (line 161) | @Override method ids (line 166) | @Override method startTransaction (line 171) | @Override method closeTransaction (line 176) | @Override method put (line 181) | @Override method get (line 186) | @Override method putRaw (line 191) | @Override method getRaw (line 196) | @Override method getChampLookup (line 201) | @Override method getSize (line 206) | @Override method getIpnsEntry (line 211) | @Override method getSecretLink (line 216) | @Override method getLinks (line 221) | @Override method getBlockMetadata (line 226) | @Override method getLinkCounts (line 231) | @Override method partitionByUser (line 236) | @Override method hashToCid (line 243) | public static Cid hashToCid(byte[] input, boolean isRaw) { method hash (line 248) | public static byte[] hash(byte[] input) { FILE: src/peergos/server/tests/WriteOnlyStorage.java class WriteOnlyStorage (line 29) | public class WriteOnlyStorage implements DeletableContentAddressedStorage { method WriteOnlyStorage (line 33) | public WriteOnlyStorage(BlockMetadataStore metadb) { method getBlockMetadataStore (line 37) | public Optional getBlockMetadataStore() { method getAllBlockHashes (line 41) | @Override method getAllBlockHashes (line 48) | @Override method getAllBlockHashVersions (line 57) | @Override method getOpenTransactionBlocks (line 70) | @Override method clearOldTransactions (line 75) | @Override method hasBlock (line 80) | @Override method delete (line 85) | @Override method setPki (line 90) | @Override method partitionByUser (line 95) | @Override method get (line 102) | @Override method getRaw (line 107) | @Override method getRaw (line 119) | @Override method linkHost (line 124) | @Override method directToOrigin (line 129) | @Override method getBlockCache (line 134) | @Override method id (line 139) | @Override method ids (line 144) | @Override method startTransaction (line 149) | @Override method closeTransaction (line 154) | @Override method put (line 159) | @Override method get (line 164) | @Override method putRaw (line 169) | @Override method getRaw (line 174) | @Override method getLinks (line 179) | @Override method getBlockMetadata (line 184) | @Override method getChampLookup (line 189) | @Override method getSize (line 194) | @Override method getIpnsEntry (line 199) | @Override method getSecretLink (line 204) | @Override method getLinkCounts (line 209) | @Override method hashToCid (line 214) | public static Cid hashToCid(byte[] input, boolean isRaw) { method hash (line 219) | public static byte[] hash(byte[] input) { FILE: src/peergos/server/tests/WriterDataTests.java class WriterDataTests (line 19) | public class WriterDataTests { method tolerateLoopsInOwnedKeys (line 21) | @Test FILE: src/peergos/server/tests/WriterTest.java class WriterTest (line 20) | public class WriterTest { method WriterTest (line 31) | public WriterTest() throws Exception{ method init (line 36) | @BeforeClass method generateUsername (line 41) | protected String generateUsername() { method sendTest (line 45) | @Test method deleteTest (line 73) | @Test method randomData (line 108) | public static byte[] randomData(int length) { FILE: src/peergos/server/tests/fips203/FIPS203Tests.java class FIPS203Tests (line 23) | public class FIPS203Tests { method validateKeyPairGeneration (line 39) | private KeyPair validateKeyPairGeneration( method validateEncapsulation (line 73) | private Encapsulation validateEncapsulation( method validateDecapsulation (line 109) | private SharedSecretKey validateDecapsulation( method validateAES256CipherCompatability (line 131) | private void validateAES256CipherCompatability(byte[] sharedSecretKey)... method testMLKEM512Interface (line 177) | @Test method testMLKEM768Interface (line 212) | @Test method testMLKEM1024Interface (line 244) | @Test FILE: src/peergos/server/tests/fips203/ParameterSetTests.java class ParameterSetTests (line 9) | public class ParameterSetTests { method testForHiddenParamSets (line 11) | @Test method testMLKEM512ParameterSet (line 23) | @Test method testMLKEM768ParameterSet (line 45) | @Test method testMLKEM1024ParameterSet (line 67) | @Test FILE: src/peergos/server/tests/fips203/decaps/mlkem/MLKEMDecapsulatorTests.java class MLKEMDecapsulatorTests (line 26) | public class MLKEMDecapsulatorTests { method loadTestPrompt (line 30) | private TestPrompt loadTestPrompt(String fromResource) throws IOExcept... method setUpTest (line 46) | @Before method execTestCase (line 53) | private void execTestCase(ParameterSet params, TestCase testCase) { method mlKem512DecapsTest (line 93) | @Test method mlKem768DecapsTest (line 118) | @Test method mlKem1024DecapsTest (line 143) | @Test FILE: src/peergos/server/tests/fips203/encaps/mlkem/MLKEMEncapsulatorTests.java class MLKEMEncapsulatorTests (line 22) | public class MLKEMEncapsulatorTests { method loadTestPrompt (line 26) | private TestPrompt loadTestPrompt(String fromResource) throws IOExcept... method setUpTest (line 42) | @Before method execTestCase (line 49) | private void execTestCase(ParameterSet params, TestCase testCase) { method mlKem512EncapsTest (line 101) | @Test method mlKem768EncapsTest (line 119) | @Test method mlKem1024EncapsTest (line 137) | @Test FILE: src/peergos/server/tests/fips203/harness/TestCase.java class TestCase (line 8) | public class TestCase { method setValues (line 14) | @JsonAnySetter method getTcId (line 19) | public int getTcId() { method getValues (line 23) | public Map getValues() { FILE: src/peergos/server/tests/fips203/harness/TestGroup.java class TestGroup (line 8) | public class TestGroup { method getTgId (line 24) | public int getTgId() { method getParameterSet (line 28) | public String getParameterSet() { method getFunction (line 32) | public String getFunction() { method getEk (line 36) | public String getEk() { method getDk (line 40) | public String getDk() { method getTests (line 44) | public List getTests() { FILE: src/peergos/server/tests/fips203/harness/TestPrompt.java class TestPrompt (line 8) | public class TestPrompt { method getTestGroups (line 24) | public List getTestGroups() { FILE: src/peergos/server/tests/fips203/key/gen/mlkem/MLKEMKeyGeneratorTests.java class MLKEMKeyGeneratorTests (line 20) | public class MLKEMKeyGeneratorTests { method loadTestPrompt (line 24) | private TestPrompt loadTestPrompt(String fromResource) throws IOExcept... method setUpTest (line 40) | @Before method execTestCase (line 47) | private void execTestCase(ParameterSet params, TestCase testCase) { method mlKem512KeyGenTest (line 95) | @Test method mlKem768KeyGenTest (line 111) | @Test method mlKem1024KeyGenTest (line 127) | @Test FILE: src/peergos/server/tests/fips203/provider/MimicloneSecurityProviderTests.java class MimicloneSecurityProviderTests (line 12) | public class MimicloneSecurityProviderTests { method setUp (line 14) | @Before method testSecurityProviders (line 19) | @Test FILE: src/peergos/server/tests/fips203/reduce/barrett/BarrettReducerTests.java class BarrettReducerTests (line 11) | public class BarrettReducerTests { method testModulusMultiplication (line 13) | @Test method testModulusAddition (line 53) | @Test method testModulusSubtraction (line 72) | @Test FILE: src/peergos/server/tests/linux/LocalS3ServerTest.java class LocalS3ServerTest (line 16) | public class LocalS3ServerTest { method start (line 27) | @Before method stop (line 36) | @After method putAndGet (line 41) | @Test method head (line 59) | @Test method listVersions (line 81) | @Test method delete (line 108) | @Test FILE: src/peergos/server/tests/linux/S3UserTests.java class S3UserTests (line 22) | public class S3UserTests extends UserTests { method withS3 (line 37) | private static Args withS3(Args in) { method S3UserTests (line 52) | public S3UserTests() { method getNetwork (line 56) | private static NetworkAccess getNetwork() { method init (line 64) | @BeforeClass method buildApi (line 124) | private static NetworkAccess buildApi(Args args) throws Exception { method grantWriteToFileAndDeleteParent (line 129) | @Test method cleanup (line 134) | @AfterClass method getArgs (line 147) | @Override FILE: src/peergos/server/tests/simulation/NativeFileSystemImpl.java class NativeFileSystemImpl (line 29) | public class NativeFileSystemImpl implements FileSystem { method NativeFileSystemImpl (line 35) | public NativeFileSystemImpl(Path root, String user, AccessControl acce... method init (line 42) | private void init() { method user (line 55) | @Override method ensureCan (line 60) | private void ensureCan(Path path, Permission permission) { method ensureCan (line 64) | private void ensureCan(Path path, Permission permission, String user) { method read (line 73) | @Override method reader (line 84) | @Override method write (line 89) | @Override method writeSubtree (line 110) | @Override method modify (line 115) | @Override method delete (line 126) | @Override method isOwner (line 141) | private boolean isOwner(Path path) { method grant (line 145) | @Override method revoke (line 152) | @Override method stat (line 160) | @Override method virtualToNative (line 215) | private Path virtualToNative(Path path) { method mkdir (line 220) | @Override method ls (line 234) | @Override method main (line 251) | public static void main(String[] args) { method follow (line 267) | @Override method getRandomSharedPath (line 273) | @Override method getSharees (line 278) | @Override FILE: src/peergos/server/tests/simulation/Simulator.java class Simulator (line 36) | public class Simulator { class SimulationRecord (line 37) | private class SimulationRecord { method add (line 41) | public void add(Simulation simulation) { class FileSystemIndex (line 48) | public static class FileSystemIndex { method FileSystemIndex (line 53) | public FileSystemIndex(Random random) { method getRandomExistingDirectory (line 57) | private Path getRandomExistingDirectory(String user, boolean skipRo... method getRandomExistingFile (line 67) | private Path getRandomExistingFile(String user) { method addUser (line 79) | public void addUser(String user) { method getDirToFiles (line 83) | public Map> getDirToFiles(String user) { type Simulation (line 92) | enum Simulation { method permission (line 109) | public FileSystem.Permission permission() { method getNextName (line 141) | private String getNextName() { method rm (line 145) | private void rm(String user) { method rmdir (line 155) | private void rmdir(String user) { method mkdir (line 172) | private Path mkdir(String user) { method mkdir (line 178) | private Path mkdir(String user, Path path) { method getAvailableFilePath (line 189) | private Path getAvailableFilePath(String user) { method getNextFileLength (line 193) | private int getNextFileLength() { method getNextFileContents (line 200) | private byte[] getNextFileContents() { class FileSystems (line 207) | private static class FileSystems { method FileSystems (line 211) | public FileSystems(List> peergosAndNati... method getNextUser (line 221) | public String getNextUser(String notThisUser) { method getNextUser (line 231) | public String getNextUser() { method getReferenceFileSystem (line 235) | public NativeFileSystemImpl getReferenceFileSystem(String user) { method getTestFileSystem (line 243) | public PeergosFileSystemImpl getTestFileSystem(String user) { method getUsers (line 251) | public List getUsers() { method Simulator (line 258) | public Simulator(int opCount, Random random, long meanFileLength, method readFile (line 272) | private void readFile(String user, Path path) { method readSharedFile (line 278) | private void readSharedFile(String user, Path path) { method readSharedDirectory (line 282) | private void readSharedDirectory(String user, Path path) { method log (line 291) | private void log(String user, Simulation simulation, Path path, String... method write (line 299) | private void write(String user, Path path) { method grantPermission (line 315) | private boolean grantPermission(String granter, String grantee, Path p... method revokePermission (line 346) | private boolean revokePermission(String revoker, String revokee, Path ... method init (line 356) | private void init() { method run (line 397) | private void run(Simulation simulation) { method run (line 402) | private void run(final Simulation simulation, final String user) { method run (line 522) | public void run(boolean verifyAll) { method verifySharingPermissions (line 551) | private boolean verifySharingPermissions(String user, Path path) { method verifyContents (line 645) | private boolean verifyContents(String user, Path path) { method verify (line 673) | private boolean verify() { method usernameToPassword (line 739) | private static String usernameToPassword(String username) { method main (line 743) | public static void main(String[] a) throws Exception { FILE: src/peergos/server/tests/slow/ChatBenchmark.java class ChatBenchmark (line 39) | @RunWith(Parameterized.class) method ChatBenchmark (line 49) | public ChatBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 55) | private static Pair buildHttpNetworkAccess... method parameters (line 64) | @Parameterized.Parameters() method getUserContexts (line 72) | public List getUserContexts(NetworkAccess network, int si... method friendBetweenGroups (line 85) | public static void friendBetweenGroups(List a, List Pair time(Supplier work) { FILE: src/peergos/server/tests/slow/DeleteBenchmark.java class DeleteBenchmark (line 21) | @RunWith(Parameterized.class) method DeleteBenchmark (line 30) | public DeleteBenchmark() throws Exception { method buildHttpNetworkAccess (line 35) | private static NetworkAccess buildHttpNetworkAccess() throws Exception { method parameters (line 42) | @Parameterized.Parameters() method generateUsername (line 49) | private String generateUsername() { method ensureSignedUp (line 53) | public static UserContext ensureSignedUp(String username, String passw... method deleteFolderOfSmallFiles (line 58) | @Test method deleteFolderOfSmallFilesWithEmptyCache (line 84) | @Test method deleteLargeFile (line 115) | @Test method randomString (line 137) | private static String randomString() { FILE: src/peergos/server/tests/slow/EfficiencyComparison.java class EfficiencyComparison (line 19) | public class EfficiencyComparison { method main (line 24) | public static void main(String[] a) throws Exception { method calculateChampOverhead (line 45) | public static void calculateChampOverhead(Map generateSublayer(Random r, PublicKeyHas... FILE: src/peergos/server/tests/slow/IpfsStressTest.java class IpfsStressTest (line 24) | public class IpfsStressTest { method IpfsStressTest (line 32) | public IpfsStressTest(Random r) throws Exception { method main (line 43) | public static void main(String[] args) throws Exception { method generateUsername (line 47) | private String generateUsername() { method ensureSignedUp (line 51) | public static UserContext ensureSignedUp(String username, String passw... method stressTest (line 55) | @Test method generateFileTree (line 68) | public static int generateFileTree(UserContext context, Path root, Ran... method randomNames (line 86) | private static List randomNames(int n, Random rnd) { method mkdir (line 92) | public static void mkdir(UserContext context, Path parentPath, String ... method generateFile (line 97) | public static void generateFile(UserContext context, Path parentPath, ... method checkFileContents (line 104) | public static void checkFileContents(byte[] expected, FileWrapper f, U... method checkFileContentsChunked (line 112) | private static void checkFileContentsChunked(byte[] expected, FileWrap... method randomString (line 147) | public static String randomString(Random r, int length) { method randomData (line 151) | public static byte[] randomData(Random r, int length) { FILE: src/peergos/server/tests/slow/LoginBenchmark.java class LoginBenchmark (line 15) | @RunWith(Parameterized.class) method LoginBenchmark (line 24) | public LoginBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 28) | private static NetworkAccess buildHttpNetworkAccess(boolean useIpfs, R... method parameters (line 34) | @Parameterized.Parameters() method generateUsername (line 42) | private String generateUsername() { method ensureSignedUp (line 46) | public static UserContext ensureSignedUp(String username, String passw... method login (line 51) | @Test FILE: src/peergos/server/tests/slow/MediumFileBenchmark.java class MediumFileBenchmark (line 20) | @RunWith(Parameterized.class) method MediumFileBenchmark (line 29) | public MediumFileBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 33) | private static NetworkAccess buildHttpNetworkAccess(boolean useIpfs, R... method parameters (line 39) | @Parameterized.Parameters() method generateUsername (line 47) | private String generateUsername() { method ensureSignedUp (line 51) | public static UserContext ensureSignedUp(String username, String passw... method mediumFiles (line 60) | @Test method randomString (line 100) | private static String randomString() { FILE: src/peergos/server/tests/slow/MkdirBenchmark.java class MkdirBenchmark (line 18) | @RunWith(Parameterized.class) method MkdirBenchmark (line 27) | public MkdirBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 31) | private static NetworkAccess buildHttpNetworkAccess(boolean useIpfs, R... method parameters (line 37) | @Parameterized.Parameters() method generateUsername (line 45) | private String generateUsername() { method ensureSignedUp (line 49) | public static UserContext ensureSignedUp(String username, String passw... method hugeFolder (line 63) | @Test method randomString (line 96) | private static String randomString() { FILE: src/peergos/server/tests/slow/MultipartBenchmark.java class MultipartBenchmark (line 16) | @RunWith(Parameterized.class) method MultipartBenchmark (line 25) | public MultipartBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 29) | private static NetworkAccess buildHttpNetworkAccess(boolean useIpfs, R... method parameters (line 35) | @Parameterized.Parameters() method generateUsername (line 43) | private String generateUsername() { method ensureSignedUp (line 47) | public static UserContext ensureSignedUp(String username, String passw... method smallFragments (line 52) | @Test method largeFragments (line 58) | @Test method testWriteThroughput (line 63) | public void testWriteThroughput(int fragmentSize) throws Exception { FILE: src/peergos/server/tests/slow/MultipartProfiling.java class MultipartProfiling (line 18) | public class MultipartProfiling { method MultipartProfiling (line 26) | public MultipartProfiling() throws IOException { method finish (line 35) | @After method handle (line 40) | public void handle(HttpExchange httpExchange) throws IOException { method randomArray (line 60) | private byte[] randomArray(int len) { method profileAll (line 66) | @Test method profile (line 76) | private void profile(int size, int count) throws IOException { FILE: src/peergos/server/tests/slow/PostgresUserTests.java class PostgresUserTests (line 26) | @RunWith(Parameterized.class) method PostgresUserTests (line 50) | public PostgresUserTests(NetworkAccess network, UserService service) { method parameters (line 54) | @Parameterized.Parameters() method cleanup (line 67) | @AfterClass method getArgs (line 74) | @Override method rsaRotation (line 79) | @Test FILE: src/peergos/server/tests/slow/SignupBenchmark.java class SignupBenchmark (line 15) | @RunWith(Parameterized.class) method SignupBenchmark (line 24) | public SignupBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 28) | private static NetworkAccess buildHttpNetworkAccess(boolean useIpfs, R... method parameters (line 34) | @Parameterized.Parameters() method signup (line 43) | @Test method generateUsername (line 60) | private String generateUsername() { method ensureSignedUp (line 64) | public static UserContext ensureSignedUp(String username, String passw... FILE: src/peergos/server/tests/slow/SmallFileBenchmark.java class SmallFileBenchmark (line 20) | @RunWith(Parameterized.class) method SmallFileBenchmark (line 29) | public SmallFileBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 33) | private static NetworkAccess buildHttpNetworkAccess(boolean useIpfs, R... method parameters (line 41) | @Parameterized.Parameters() method generateUsername (line 49) | private String generateUsername() { method ensureSignedUp (line 53) | public static UserContext ensureSignedUp(String username, String passw... method smallFilesBulk (line 58) | @Test method smallFiles (line 95) | @Test method randomString (line 135) | private static String randomString() { FILE: src/peergos/server/tests/slow/SocialBenchmark.java class SocialBenchmark (line 23) | @RunWith(Parameterized.class) method SocialBenchmark (line 33) | public SocialBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 39) | private static Pair buildHttpNetworkAccess... method parameters (line 48) | @Parameterized.Parameters() method social (line 57) | @Test method replyToFollowRequest (line 80) | @Test method manyFriendsAndShares (line 110) | @Test method readingSharedFiles (line 202) | @Test method groupSharing (line 242) | @Test method generateUsername (line 280) | private String generateUsername() { method ensureSignedUp (line 284) | public static UserContext ensureSignedUp(String username, String passw... method time (line 288) | public static Pair time(Supplier work) { FILE: src/peergos/server/tests/slow/SocialfeedBenchmark.java class SocialfeedBenchmark (line 22) | @RunWith(Parameterized.class) method SocialfeedBenchmark (line 32) | public SocialfeedBenchmark(String useIPFS, Random r) throws Exception { method buildHttpNetworkAccess (line 38) | private static Pair buildHttpNetworkAccess... method parameters (line 47) | @Parameterized.Parameters() method social (line 60) | @Test method generateUsername (line 94) | private String generateUsername() { method ensureSignedUp (line 98) | public static UserContext ensureSignedUp(String username, String passw... method time (line 102) | public static Pair time(Supplier work) { FILE: src/peergos/server/tests/util/HashTreeTests.java class HashTreeTests (line 18) | public class HashTreeTests { method chunks1K (line 21) | @Test method chunks2K (line 31) | @Test method chunks1M (line 41) | @Test method chunks2M (line 51) | @Test method chunks7M (line 61) | @Test method diff7M (line 71) | @Test method JsHashes (line 89) | @Test FILE: src/peergos/server/tests/util/NonClosingTransactionService.java class NonClosingTransactionService (line 11) | public class NonClosingTransactionService extends TransactionServiceImpl { method NonClosingTransactionService (line 13) | public NonClosingTransactionService(NetworkAccess network, method close (line 19) | @Override FILE: src/peergos/server/tests/util/TestPorts.java class TestPorts (line 6) | public class TestPorts { method getPort (line 9) | public static int getPort() { FILE: src/peergos/server/user/JavaImageThumbnailer.java class JavaImageThumbnailer (line 16) | public class JavaImageThumbnailer implements ThumbnailGenerator.Generator { method generateThumbnail (line 19) | public Optional generateThumbnail(byte[] imageBlob) { FILE: src/peergos/server/util/AddressUtil.java class AddressUtil (line 7) | public class AddressUtil { method getLocalAddress (line 8) | public static URL getLocalAddress(int port) { method getListenPort (line 16) | public static int getListenPort(String uri) { method getAddress (line 25) | public static URL getAddress(MultiAddress addr) { FILE: src/peergos/server/util/AlphanumComparator.java class AlphanumComparator (line 43) | public class AlphanumComparator implements Comparator method isDigit (line 45) | private final boolean isDigit(char ch) method getChunk (line 51) | private final String getChunk(String s, int slength, int marker) method compare (line 81) | public int compare(String s1, String s2) FILE: src/peergos/server/util/Args.java class Args (line 13) | public class Args { method Args (line 19) | public Args(List commands, Map params, Map commands() { method getAllArgs (line 29) | public List getAllArgs() { method getArg (line 37) | public String getArg(String param, String def) { method getArg (line 43) | public String getArg(String param) { method getOptionalArg (line 49) | public Optional getOptionalArg(String param) { method setArg (line 53) | public Args setArg(String param, String value) { method setParameter (line 60) | public Args setParameter(String param) { method removeArg (line 64) | public Args removeArg(String param) { method hasArg (line 71) | public boolean hasArg(String arg) { method getBoolean (line 75) | public boolean getBoolean(String param, boolean def) { method getBoolean (line 81) | public boolean getBoolean(String param) { method getInt (line 87) | public int getInt(String param, int def) { method getInt (line 93) | public int getInt(String param) { method getLong (line 99) | public long getLong(String param) { method getLong (line 105) | public long getLong(String param, long def) { method getDouble (line 111) | public double getDouble(String param) { method getFirstArg (line 117) | public String getFirstArg(String[] paramNames, String def) { method tail (line 126) | public Args tail() { method head (line 130) | public Optional head() { method setIfAbsent (line 135) | public Args setIfAbsent(String key, String value) { method with (line 141) | public Args with(String key, String value) { method with (line 148) | public Args with(Args overrides) { method fromPeergosDir (line 155) | public Path fromPeergosDir(String fileName) { method fromPeergosDir (line 166) | public Path fromPeergosDir(String fileName, String defaultName) { method getPeergosDirChild (line 172) | public Path getPeergosDirChild(String filename) { method getPeergosDir (line 176) | public Path getPeergosDir() { method parseEnv (line 180) | private static Map parseEnv() { method parseFile (line 186) | private static Map parseFile(Map args,... method parseJSONFile (line 197) | private static Map parseJSONFile(Path path) { method parseFile (line 209) | private static Map parseFile(Path path) { method saveToFileIfAbsent (line 233) | public void saveToFileIfAbsent() { method saveToJSONFile (line 242) | public void saveToJSONFile() { method saveToJSONFile (line 246) | private void saveToJSONFile(Path file) { method saveToFile (line 260) | public void saveToFile() { method saveToFile (line 264) | private void saveToFile(Path file) { method parseParams (line 276) | private static Map parseParams(String[] args) { method parseCommands (line 291) | private static List parseCommands(String[] args) { method parse (line 308) | public static Args parse(String[] params, Optional configFile, b... method parse (line 331) | public static Args parse(String[] args) { method parseLine (line 342) | private static Optional> parseLine(String origina... method paramMap (line 365) | private static Map paramMap() { FILE: src/peergos/server/util/DifficultyGenerator.java class DifficultyGenerator (line 12) | public class DifficultyGenerator { method DifficultyGenerator (line 19) | public DifficultyGenerator(long startTimeMillis, int maxPerDay) { method timeStepsForBucket (line 32) | private static long timeStepsForBucket(int bucket) { method millisToTimeSteps (line 36) | private static long millisToTimeSteps(long millis) { method currentDifficulty (line 40) | public synchronized int currentDifficulty() { method updateTime (line 44) | public synchronized void updateTime(long epochMillis) { method addEvent (line 54) | public synchronized void addEvent() { method updateDifficulty (line 58) | private synchronized void updateDifficulty() { method calculateDifficulty (line 62) | private static int calculateDifficulty(long[] rates, double[] maxPerBu... FILE: src/peergos/server/util/HtmlUtil.java class HtmlUtil (line 23) | public class HtmlUtil { class CharSequenceTranslator (line 361) | public static abstract class CharSequenceTranslator { method translate (line 383) | public abstract int translate(CharSequence input, int index, Writer ... method translate (line 390) | public final String translate(final CharSequence input) { method translate (line 412) | public final void translate(final CharSequence input, final Writer o... method with (line 452) | public final CharSequenceTranslator with(final CharSequenceTranslato... method hex (line 466) | public static String hex(final int codepoint) { class LookupTranslator (line 477) | public static class LookupTranslator extends CharSequenceTranslator { method LookupTranslator (line 499) | public LookupTranslator(final Map lookup... method translate (line 526) | @Override class AggregateTranslator (line 555) | public static class AggregateTranslator extends CharSequenceTranslator { method AggregateTranslator (line 567) | public AggregateTranslator(final CharSequenceTranslator... translato... method translate (line 582) | @Override method escapeHtml4 (line 630) | public static final String escapeHtml4(final String input) { FILE: src/peergos/server/util/HttpUtil.java class HttpUtil (line 13) | public class HttpUtil { method allowedQuery (line 15) | public static boolean allowedQuery(HttpExchange exchange, boolean isPu... method parseQuery (line 28) | public static Map> parseQuery(String query) { method replyError (line 45) | public static void replyError(HttpExchange exchange, Throwable t) { method replyErrorWithCode (line 61) | public static void replyErrorWithCode(HttpExchange exchange, int httpE... method get (line 71) | public static byte[] get(PresignedUrl url) throws IOException { method getWithVersion (line 75) | public static Pair getWithVersion(PresignedUrl url) th... method getWithVersionHttps (line 114) | public static Pair getWithVersionHttps(PresignedUrl ur... method head (line 128) | public static Map> head(PresignedUrl head) throws... method putWithVersion (line 172) | public static Pair putWithVersion(PresignedUrl target,... method post (line 176) | public static byte[] post(PresignedUrl target, byte[] body) throws IOE... method putOrPostWithVersion (line 180) | private static Pair putOrPostWithVersion(String method... method delete (line 237) | public static void delete(PresignedUrl target) throws Exception { method toURL (line 262) | public static URL toURL(String url) { FILE: src/peergos/server/util/JavaPoster.java class JavaPoster (line 19) | public class JavaPoster implements HttpPoster { method JavaPoster (line 29) | public JavaPoster(URL dht, boolean isPublicServer, Optional ba... method JavaPoster (line 45) | public JavaPoster(URL dht, boolean isPublicServer) { method buildURL (line 49) | public URL buildURL(String method) throws IOException { method postUnzip (line 57) | @Override method post (line 62) | @Override method post (line 67) | private CompletableFuture post(String url, byte[] payload, boo... method handleError (line 124) | public static void handleError(String url, CompletableFuture r... method postMultipart (line 141) | @Override method postMultipart (line 160) | @Override method put (line 165) | @Override method put (line 170) | @Override method get (line 224) | @Override method get (line 229) | @Override method publicGet (line 241) | private CompletableFuture publicGet(String url, Map get(URI uri, Map fi... method head (line 148) | public static Map> head(URI uri, Map putOrPost(String method, FILE: src/peergos/server/util/Passwords.java class Passwords (line 7) | public class Passwords { method generate (line 9) | public static String generate() { FILE: src/peergos/server/util/PinnedHost.java class PinnedHost (line 13) | public final class PinnedHost { method PinnedHost (line 19) | PinnedHost(String host) throws IOException { method getReachableIPs (line 28) | private InetAddress[] getReachableIPs() throws IOException { method next (line 40) | InetAddress next() { method ensureRefreshed (line 45) | void ensureRefreshed() throws IOException { method refresh (line 50) | void refresh() throws IOException { method isReachable (line 57) | private static boolean isReachable(String addr, int openPort, int time... FILE: src/peergos/server/util/Postgres.java class Postgres (line 8) | public class Postgres { method build (line 10) | public static Connection build(String host, FILE: src/peergos/server/util/RateMonitor.java class RateMonitor (line 5) | public class RateMonitor { method RateMonitor (line 11) | public RateMonitor(int nBuckets) { method addEvent (line 15) | public synchronized void addEvent() { method moveBucket (line 19) | private void moveBucket(int from, int to) { method timeStep (line 25) | public synchronized void timeStep() { method timeSteps (line 32) | public synchronized void timeSteps(long steps) { method getRates (line 40) | public synchronized long[] getRates() { FILE: src/peergos/server/util/SlidingWindowCounter.java class SlidingWindowCounter (line 5) | public class SlidingWindowCounter { method SlidingWindowCounter (line 14) | public SlidingWindowCounter(long windowSizeInSeconds, method SlidingWindowCounter (line 25) | public SlidingWindowCounter(long windowSizeInSeconds, method allowRequest (line 30) | public synchronized boolean allowRequest(long increment) { FILE: src/peergos/server/util/Sqlite.java class Sqlite (line 10) | public class Sqlite { method build (line 12) | public static Connection build(String dbPath) throws SQLException { method getDbPath (line 22) | public static String getDbPath(Args a, String type) { class UncloseableConnection (line 27) | public static class UncloseableConnection implements Connection { method UncloseableConnection (line 31) | public UncloseableConnection(Connection target) { method closeTarget (line 35) | public void closeTarget() throws SQLException { method createStatement (line 39) | @Override method prepareStatement (line 44) | @Override method prepareCall (line 49) | @Override method nativeSQL (line 54) | @Override method setAutoCommit (line 59) | @Override method getAutoCommit (line 64) | @Override method commit (line 69) | @Override method rollback (line 74) | @Override method close (line 79) | @Override method isClosed (line 84) | @Override method getMetaData (line 89) | @Override method setReadOnly (line 94) | @Override method isReadOnly (line 99) | @Override method setCatalog (line 104) | @Override method getCatalog (line 109) | @Override method setTransactionIsolation (line 114) | @Override method getTransactionIsolation (line 119) | @Override method getWarnings (line 124) | @Override method clearWarnings (line 129) | @Override method createStatement (line 134) | @Override method prepareStatement (line 139) | @Override method prepareCall (line 144) | @Override method getTypeMap (line 149) | @Override method setTypeMap (line 154) | @Override method setHoldability (line 159) | @Override method getHoldability (line 164) | @Override method setSavepoint (line 169) | @Override method setSavepoint (line 174) | @Override method rollback (line 179) | @Override method releaseSavepoint (line 184) | @Override method createStatement (line 189) | @Override method prepareStatement (line 194) | @Override method prepareCall (line 199) | @Override method prepareStatement (line 204) | @Override method prepareStatement (line 209) | @Override method prepareStatement (line 214) | @Override method createClob (line 219) | @Override method createBlob (line 224) | @Override method createNClob (line 229) | @Override method createSQLXML (line 234) | @Override method isValid (line 239) | @Override method setClientInfo (line 244) | @Override method setClientInfo (line 249) | @Override method getClientInfo (line 254) | @Override method getClientInfo (line 259) | @Override method createArrayOf (line 264) | @Override method createStruct (line 269) | @Override method setSchema (line 274) | @Override method getSchema (line 279) | @Override method abort (line 284) | @Override method setNetworkTimeout (line 289) | @Override method getNetworkTimeout (line 294) | @Override method unwrap (line 299) | @Override method isWrapperFor (line 304) | @Override FILE: src/peergos/server/util/Threads.java class Threads (line 5) | public class Threads { method getThreadFactory (line 7) | private static ForkJoinPool.ForkJoinWorkerThreadFactory getThreadFacto... method newPool (line 18) | public static ExecutorService newPool(int threads, String threadNamePr... method newFJPool (line 31) | public static ForkJoinPool newFJPool(int threads, String threadNamePre... method sleep (line 40) | public static void sleep(long millis) { FILE: src/peergos/server/util/TimeLimited.java class TimeLimited (line 11) | public class TimeLimited { method isAllowedTime (line 21) | public static long isAllowedTime(byte[] signedTime, int durationSecond... method isAllowedTime (line 32) | public static long isAllowedTime(byte[] signedTime, int durationSecond... method isAllowed (line 54) | public static long isAllowed(String expectedPath, byte[] signedReq, in... FILE: src/peergos/server/webdav/WebdavFileSystem.java class WebdavFileSystem (line 59) | public class WebdavFileSystem implements IWebdavStore { method WebdavFileSystem (line 65) | public WebdavFileSystem(String username, String password, String peerg... method destroy (line 79) | @Override method begin (line 83) | @Override method checkAuthentication (line 89) | @Override method commit (line 94) | @Override method rollback (line 99) | @Override method getByPath (line 104) | private Optional getByPath(Path path) { method createFolder (line 108) | @Override method createResource (line 125) | @Override method setResourceContent (line 150) | @Override method moveResource (line 175) | @Override method getChildrenNames (line 211) | @Override method removeObject (line 228) | @Override method getResourceContent (line 247) | @Override method getResourceLength (line 265) | @Override method getStoredObject (line 276) | @Override method setCustomProperties (line 299) | @Override method getCustomProperties (line 308) | @Override method getCustomNamespaces (line 315) | @Override FILE: src/peergos/server/webdav/WebdavServer.java class WebdavServer (line 29) | public class WebdavServer { method start (line 34) | public static Server start(Args args) { FILE: src/peergos/server/webdav/modeshape/webdav/IMethodExecutor.java type IMethodExecutor (line 24) | public interface IMethodExecutor { method execute (line 26) | void execute( ITransaction transaction, FILE: src/peergos/server/webdav/modeshape/webdav/IMimeTyper.java type IMimeTyper (line 18) | public interface IMimeTyper { method getMimeType (line 27) | String getMimeType( ITransaction transaction, FILE: src/peergos/server/webdav/modeshape/webdav/ITransaction.java type ITransaction (line 20) | public interface ITransaction { method getPrincipal (line 22) | Principal getPrincipal(); FILE: src/peergos/server/webdav/modeshape/webdav/IWebdavStore.java type IWebdavStore (line 35) | public interface IWebdavStore { method destroy (line 40) | void destroy(); method begin (line 52) | ITransaction begin( Principal principal ); method checkAuthentication (line 59) | void checkAuthentication( ITransaction transaction ); method commit (line 68) | void commit( ITransaction transaction ); method rollback (line 77) | void rollback( ITransaction transaction ); method createFolder (line 86) | void createFolder( ITransaction transaction, method createResource (line 96) | void createResource( ITransaction transaction, method getResourceContent (line 107) | Pair getResourceContent(ITransaction transaction, method setResourceContent (line 121) | long setResourceContent( ITransaction transaction, method moveResource (line 134) | void moveResource( ITransaction transaction, method getChildrenNames (line 146) | String[] getChildrenNames( ITransaction transaction, method getResourceLength (line 158) | long getResourceLength( ITransaction transaction, method removeObject (line 168) | void removeObject( ITransaction transaction, method getStoredObject (line 178) | StoredObject getStoredObject( ITransaction transaction, method setCustomProperties (line 192) | Map setCustomProperties( ITransaction transaction, method getCustomProperties (line 206) | Map getCustomProperties( ITransaction transaction, method getCustomNamespaces (line 216) | Map getCustomNamespaces( ITransaction transaction, FILE: src/peergos/server/webdav/modeshape/webdav/StoredObject.java class StoredObject (line 21) | public class StoredObject { method isFolder (line 36) | public boolean isFolder() { method isResource (line 45) | public boolean isResource() { method setFolder (line 54) | public void setFolder( boolean f ) { method getLastModified (line 63) | public Date getLastModified() { method setLastModified (line 72) | public void setLastModified( Date d ) { method getCreationDate (line 81) | public Date getCreationDate() { method setCreationDate (line 90) | public void setCreationDate( Date c ) { method getResourceLength (line 99) | public long getResourceLength() { method setResourceLength (line 108) | public void setResourceLength( long l ) { method isNullResource (line 117) | public boolean isNullResource() { method setNullResource (line 126) | public void setNullResource( boolean f ) { method getMimeType (line 142) | public String getMimeType() { method setMimeType (line 151) | public void setMimeType( String mimeType ) { FILE: src/peergos/server/webdav/modeshape/webdav/WebDavServletBean.java class WebDavServletBean (line 38) | public class WebDavServletBean extends HttpServlet { method WebDavServletBean (line 54) | public WebDavServletBean() { method init (line 64) | @SuppressWarnings( "unused" ) method destroy (line 100) | @Override method register (line 108) | protected IMethodExecutor register( String methodName, method service (line 117) | @Override method translate (line 201) | protected Throwable translate( Throwable t ) { method debugRequest (line 205) | private void debugRequest( String methodName, FILE: src/peergos/server/webdav/modeshape/webdav/WebdavServlet.java class WebdavServlet (line 29) | public class WebdavServlet extends WebDavServletBean { method WebdavServlet (line 36) | public WebdavServlet(String username, String password, String peergosU... method init (line 40) | @Override method getIntInitParameter (line 56) | private int getIntInitParameter( String key ) { FILE: src/peergos/server/webdav/modeshape/webdav/WebdavStatus.java class WebdavStatus (line 28) | public class WebdavStatus { method getStatusText (line 241) | public static String getStatusText( int nHttpStatusCode ) { method addStatusCodeMap (line 256) | private static void addStatusCodeMap( int nKey, FILE: src/peergos/server/webdav/modeshape/webdav/exceptions/AccessDeniedException.java class AccessDeniedException (line 19) | public class AccessDeniedException extends WebdavException { method AccessDeniedException (line 23) | public AccessDeniedException() { method AccessDeniedException (line 27) | public AccessDeniedException( String message ) { method AccessDeniedException (line 31) | public AccessDeniedException( String message, method AccessDeniedException (line 36) | public AccessDeniedException( Throwable cause ) { FILE: src/peergos/server/webdav/modeshape/webdav/exceptions/LockFailedException.java class LockFailedException (line 18) | public class LockFailedException extends WebdavException { method LockFailedException (line 22) | public LockFailedException() { method LockFailedException (line 26) | public LockFailedException( String message ) { method LockFailedException (line 30) | public LockFailedException( String message, method LockFailedException (line 35) | public LockFailedException( Throwable cause ) { FILE: src/peergos/server/webdav/modeshape/webdav/exceptions/ObjectAlreadyExistsException.java class ObjectAlreadyExistsException (line 19) | public class ObjectAlreadyExistsException extends WebdavException { method ObjectAlreadyExistsException (line 23) | public ObjectAlreadyExistsException() { method ObjectAlreadyExistsException (line 27) | public ObjectAlreadyExistsException( String message ) { method ObjectAlreadyExistsException (line 31) | public ObjectAlreadyExistsException( String message, method ObjectAlreadyExistsException (line 36) | public ObjectAlreadyExistsException( Throwable cause ) { FILE: src/peergos/server/webdav/modeshape/webdav/exceptions/ObjectNotFoundException.java class ObjectNotFoundException (line 19) | public class ObjectNotFoundException extends WebdavException { method ObjectNotFoundException (line 23) | public ObjectNotFoundException() { method ObjectNotFoundException (line 27) | public ObjectNotFoundException( String message ) { method ObjectNotFoundException (line 31) | public ObjectNotFoundException( String message, method ObjectNotFoundException (line 36) | public ObjectNotFoundException( Throwable cause ) { FILE: src/peergos/server/webdav/modeshape/webdav/exceptions/UnauthenticatedException.java class UnauthenticatedException (line 19) | public class UnauthenticatedException extends WebdavException { method UnauthenticatedException (line 23) | public UnauthenticatedException() { method UnauthenticatedException (line 27) | public UnauthenticatedException( String message ) { method UnauthenticatedException (line 31) | public UnauthenticatedException( String message, method UnauthenticatedException (line 36) | public UnauthenticatedException( Throwable cause ) { FILE: src/peergos/server/webdav/modeshape/webdav/exceptions/WebdavException.java class WebdavException (line 19) | public class WebdavException extends RuntimeException { method WebdavException (line 23) | public WebdavException() { method WebdavException (line 27) | public WebdavException( String message ) { method WebdavException (line 31) | public WebdavException( String message, method WebdavException (line 36) | public WebdavException( Throwable cause ) { FILE: src/peergos/server/webdav/modeshape/webdav/fromcatalina/RequestUtil.java class RequestUtil (line 34) | public final class RequestUtil { method encodeCookie (line 42) | public static String encodeCookie( Cookie cookie ) { method filter (line 97) | public static String filter( String message ) { method normalize (line 136) | public static String normalize( String path ) { method parseCharacterEncoding (line 197) | public static String parseCharacterEncoding( String contentType ) { method parseCookieHeader (line 225) | public static Cookie[] parseCookieHeader( String header ) { method parseParameters (line 274) | public static void parseParameters( Map map, method URLDecode (line 306) | public static String URLDecode( String str ) { method URLDecode (line 320) | public static String URLDecode( String str, method URLDecode (line 351) | public static String URLDecode( byte[] bytes ) { method URLDecode (line 363) | public static String URLDecode( byte[] bytes, method convertHexDigit (line 399) | private static byte convertHexDigit( byte b ) { method putMapEntry (line 419) | private static void putMapEntry( Map map, method parseParameters (line 449) | public static void parseParameters( Map map, method streamNotConsumed (line 503) | public static boolean streamNotConsumed( HttpServletRequest request ) { FILE: src/peergos/server/webdav/modeshape/webdav/fromcatalina/URLEncoder.java class URLEncoder (line 34) | public class URLEncoder { method URLEncoder (line 42) | public URLEncoder() { method addSafeCharacter (line 57) | public void addSafeCharacter( char c ) { method encode (line 61) | public String encode( String path ) { FILE: src/peergos/server/webdav/modeshape/webdav/fromcatalina/XMLHelper.java class XMLHelper (line 23) | public class XMLHelper { method findSubElement (line 25) | public static Node findSubElement( Node parent, method getPropertiesFromXML (line 40) | public static Vector getPropertiesFromXML( Node propNode ) { method getPropertiesWithValuesFromXML (line 57) | public static Map getPropertiesWithValuesFromXML( Node... method nodeValue (line 75) | private static Object nodeValue( Node node ) { FILE: src/peergos/server/webdav/modeshape/webdav/fromcatalina/XMLWriter.java class XMLWriter (line 29) | public class XMLWriter { method XMLWriter (line 72) | public XMLWriter( Map namespaces ) { method XMLWriter (line 76) | public XMLWriter( Writer writer, method toString (line 89) | @Override method writeProperty (line 100) | public void writeProperty( String name, method writeProperty (line 112) | public void writeProperty( String name ) { method writeElement (line 122) | public void writeElement( String name, method writeText (line 173) | public void writeText( String text ) { method writeData (line 182) | public void writeData( String data ) { method writeXMLHeader (line 189) | public void writeXMLHeader() { method sendData (line 198) | public void sendData() throws IOException { FILE: src/peergos/server/webdav/modeshape/webdav/locking/IResourceLocks.java type IResourceLocks (line 21) | public interface IResourceLocks { method lock (line 36) | boolean lock( ITransaction transaction, method unlock (line 54) | boolean unlock( ITransaction transaction, method unlockTemporaryLockedObjects (line 67) | void unlockTemporaryLockedObjects( ITransaction transaction, method checkTimeouts (line 77) | void checkTimeouts( ITransaction transaction, method exclusiveLock (line 91) | boolean exclusiveLock( ITransaction transaction, method sharedLock (line 108) | boolean sharedLock( ITransaction transaction, method getLockedObjectByID (line 121) | LockedObject getLockedObjectByID( ITransaction transaction, method getLockedObjectByPath (line 131) | LockedObject getLockedObjectByPath( ITransaction transaction, method getTempLockedObjectByID (line 141) | LockedObject getTempLockedObjectByID( ITransaction transaction, method getTempLockedObjectByPath (line 151) | LockedObject getTempLockedObjectByPath( ITransaction transaction, FILE: src/peergos/server/webdav/modeshape/webdav/locking/LockedObject.java class LockedObject (line 29) | public class LockedObject { method LockedObject (line 76) | public LockedObject( ResourceLocks resLocks, method addLockedObjectOwner (line 99) | public boolean addLockedObjectOwner( String owner ) { method removeLockedObjectOwner (line 129) | public void removeLockedObjectOwner( String owner ) { method addChild (line 165) | public void addChild( LockedObject newChild ) { method removeLockedObject (line 179) | public void removeLockedObject() { method removeTempLockedObject (line 213) | public void removeTempLockedObject() { method checkLocks (line 253) | public boolean checkLocks( boolean exclusive, method checkParents (line 267) | private boolean checkParents( boolean exclusive ) { method checkChildren (line 286) | private boolean checkChildren( boolean exclusive, method refreshTimeout (line 321) | public void refreshTimeout( int timeout ) { method getTimeoutMillis (line 330) | public long getTimeoutMillis() { method hasExpired (line 339) | public boolean hasExpired() { method getID (line 351) | public String getID() { method getOwner (line 360) | public String[] getOwner() { method getPath (line 369) | public String getPath() { method setExclusive (line 378) | public void setExclusive( boolean exclusive ) { method isExclusive (line 387) | public boolean isExclusive() { method isShared (line 396) | public boolean isShared() { method getType (line 405) | public String getType() { method getLockDepth (line 414) | public int getLockDepth() { FILE: src/peergos/server/webdav/modeshape/webdav/locking/ResourceLocks.java class ResourceLocks (line 33) | public class ResourceLocks implements IResourceLocks { method ResourceLocks (line 72) | public ResourceLocks() { method lock (line 77) | @Override method unlock (line 122) | @Override method unlockTemporaryLockedObjects (line 155) | @Override method checkTimeouts (line 178) | @Override method exclusiveLock (line 203) | @Override method sharedLock (line 212) | @Override method getLockedObjectByID (line 221) | @Override method getLockedObjectByPath (line 230) | @Override method getTempLockedObjectByID (line 239) | @Override method getTempLockedObjectByPath (line 248) | @Override method generateLockedObjects (line 264) | private LockedObject generateLockedObjects( String path ) { method generateTempLockedObjects (line 286) | private LockedObject generateTempLockedObjects( String path ) { method cleanLockedObjects (line 308) | private boolean cleanLockedObjects( LockedObject lo, method getParentPath (line 355) | private String getParentPath( String path ) { FILE: src/peergos/server/webdav/modeshape/webdav/methods/AbstractMethod.java class AbstractMethod (line 45) | public abstract class AbstractMethod implements IMethodExecutor { method AbstractMethod (line 113) | protected AbstractMethod() { method lastModifiedDateFormat (line 117) | public static String lastModifiedDateFormat( final Date date ) { method creationDateFormat (line 121) | public static String creationDateFormat( final Date date ) { method getRelativePath (line 131) | protected String getRelativePath( HttpServletRequest request ) { method getParentPath (line 160) | protected String getParentPath( String path ) { method getCleanPath (line 174) | protected String getCleanPath( String path ) { method getDocumentBuilder (line 188) | protected DocumentBuilder getDocumentBuilder() throws ServletException { method getDepth (line 208) | protected int getDepth( HttpServletRequest req ) { method rewriteUrl (line 227) | protected String rewriteUrl( String path ) { method getETag (line 237) | protected String getETag( StoredObject so ) { method getLockIdFromIfHeader (line 251) | protected String[] getLockIdFromIfHeader( HttpServletRequest req ) { method lockTokensFrom (line 263) | protected String[] lockTokensFrom(String id) { method lockIDFromToken (line 275) | protected String lockIDFromToken(String token) { method getLockIdFromLockTokenHeader (line 280) | protected String getLockIdFromLockTokenHeader( HttpServletRequest req ) { method isUnlocked (line 300) | protected boolean isUnlocked( ITransaction transaction, method sendReport (line 330) | protected void sendReport( HttpServletRequest req, FILE: src/peergos/server/webdav/modeshape/webdav/methods/DeterminableMethod.java class DeterminableMethod (line 20) | public abstract class DeterminableMethod extends AbstractMethod { method determineMethodsAllowed (line 37) | protected static String determineMethodsAllowed( StoredObject so ) { FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoCopy.java class DoCopy (line 32) | public class DoCopy extends AbstractMethod { method DoCopy (line 39) | public DoCopy( IWebdavStore store, method execute (line 49) | @Override method copyResource (line 96) | public boolean copyResource( ITransaction transaction, method shouldOverwrite (line 188) | private boolean shouldOverwrite( HttpServletRequest req ) { method copy (line 211) | private void copy( ITransaction transaction, method copyFolder (line 257) | private void copyFolder( ITransaction transaction, method parseDestinationHeader (line 323) | protected static String parseDestinationHeader( HttpServletRequest req, method normalize (line 393) | protected static String normalize( String path ) { FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoDelete.java class DoDelete (line 31) | public class DoDelete extends AbstractMethod { method DoDelete (line 37) | public DoDelete( IWebdavStore store, method execute (line 45) | @Override method deleteResource (line 106) | public void deleteResource( ITransaction transaction, method deleteFolder (line 143) | private void deleteFolder( ITransaction transaction, FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoGet.java class DoGet (line 34) | public class DoGet extends DoHead { method DoGet (line 36) | public DoGet( IWebdavStore store, method doBody (line 46) | @Override method folderBody (line 94) | @Override method getCSS (line 209) | protected String getCSS() { method getHeader (line 246) | protected String getHeader( ITransaction transaction, method getFooter (line 262) | protected String getFooter( ITransaction transaction, method getDateTimeFormat (line 275) | protected DateFormat getDateTimeFormat( Locale browserLocale ) { FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoHead.java class DoHead (line 29) | public class DoHead extends AbstractMethod { method DoHead (line 38) | public DoHead( IWebdavStore store, method execute (line 52) | @Override method folderBody (line 164) | @SuppressWarnings( "unused" ) method doBody (line 172) | @SuppressWarnings( "unused" ) FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoLock.java class DoLock (line 43) | public class DoLock extends AbstractMethod { method DoLock (line 60) | public DoLock( IWebdavStore store, method execute (line 68) | @Override method doLock (line 119) | private void doLock( ITransaction transaction, method doLocking (line 139) | private void doLocking( ITransaction transaction, method doNullResourceLock (line 167) | private void doNullResourceLock( ITransaction transaction, method doRefreshLock (line 224) | private void doRefreshLock( ITransaction transaction, method executeLock (line 257) | private void executeLock( ITransaction transaction, method getLockInformation (line 300) | private boolean getLockInformation( HttpServletRequest req, method getTimeout (line 424) | private int getTimeout( HttpServletRequest req ) { method generateXMLReport (line 460) | private void generateXMLReport( HttpServletResponse resp, method doMacLockRequestWorkaround (line 525) | private void doMacLockRequestWorkaround( ITransaction transaction, method sendLockFailError (line 552) | private void sendLockFailError( HttpServletRequest req, FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoMkcol.java class DoMkcol (line 34) | public class DoMkcol extends AbstractMethod { method DoMkcol (line 40) | public DoMkcol( IWebdavStore store, method execute (line 48) | @Override FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoMove.java class DoMove (line 35) | public class DoMove extends AbstractMethod { method DoMove (line 42) | public DoMove( ResourceLocks resourceLocks, method execute (line 52) | @Override method shouldOverwrite (line 156) | private boolean shouldOverwrite( HttpServletRequest req ) { FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoNotImplemented.java class DoNotImplemented (line 28) | public class DoNotImplemented implements IMethodExecutor { method DoNotImplemented (line 34) | public DoNotImplemented( boolean readOnly ) { method execute (line 38) | @Override FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoOptions.java class DoOptions (line 31) | public class DoOptions extends DeterminableMethod { method DoOptions (line 36) | public DoOptions( IWebdavStore store, method execute (line 42) | @Override FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoPropfind.java class DoPropfind (line 40) | public class DoPropfind extends AbstractMethod { method DoPropfind (line 63) | public DoPropfind( IWebdavStore store, method execute (line 71) | @Override method recursiveParseProperties (line 196) | private void recursiveParseProperties( ITransaction transaction, method parseProperties (line 243) | private void parseProperties( ITransaction transaction, method writeSupportedLockElements (line 474) | private void writeSupportedLockElements( ITransaction transaction, method writeLockDiscoveryElements (line 531) | private void writeLockDiscoveryElements( ITransaction transaction, method writeCustomProperties (line 599) | private void writeCustomProperties( ITransaction transaction, method ignoreRequest (line 623) | private boolean ignoreRequest( String userAgent, String requestPath ) { FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoProppatch.java class DoProppatch (line 43) | public class DoProppatch extends AbstractMethod { method DoProppatch (line 49) | public DoProppatch( IWebdavStore store, method execute (line 57) | @Override method statusForProperty (line 226) | private String statusForProperty( String propertyName, FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoPut.java class DoPut (line 38) | public class DoPut extends AbstractMethod { method DoPut (line 47) | public DoPut( IWebdavStore store, method execute (line 57) | @Override method doUserAgentWorkaround (line 223) | private void doUserAgentWorkaround( HttpServletResponse resp ) { method isOSXFinder (line 237) | private boolean isOSXFinder() { FILE: src/peergos/server/webdav/modeshape/webdav/methods/DoUnlock.java class DoUnlock (line 31) | public class DoUnlock extends DeterminableMethod { method DoUnlock (line 37) | public DoUnlock( IWebdavStore store, method execute (line 45) | @Override FILE: src/peergos/shared/BufferedNetworkAccess.java class BufferedNetworkAccess (line 28) | public class BufferedNetworkAccess extends NetworkAccess { type Flusher (line 30) | public interface Flusher { method commit (line 31) | CompletableFuture commit(PublicKeyHash owner, Snapshot v, ... method BufferedNetworkAccess (line 39) | public BufferedNetworkAccess(BufferedStorage blockBuffer, method buildCommitter (line 65) | @Override method bufferedSize (line 76) | public int bufferedSize() { method disableCommits (line 80) | public NetworkAccess disableCommits() { method enableCommits (line 85) | public NetworkAccess enableCommits() { method clear (line 90) | @Override method forceClear (line 102) | public void forceClear() { method withStorage (line 108) | @Override method withMutablePointerOfflineCache (line 117) | @Override method withBatOfflineCache (line 127) | @Override method withAccountCache (line 133) | @Override method withCorenode (line 139) | public NetworkAccess withCorenode(CoreNode newCore) { method getLastCommittedRoot (line 144) | @Override method getMetadata (line 159) | @Override method isFull (line 165) | public boolean isFull() { method maybeCommit (line 169) | private CompletableFuture maybeCommit(PublicKeyHash owner, Su... method commitPointerWithMerge (line 176) | private CompletableFuture commitPointerWithMerge( method commit (line 214) | @Override method toString (line 281) | @Override FILE: src/peergos/shared/Crypto.java class Crypto (line 13) | public class Crypto { method Crypto (line 25) | public Crypto(SafeRandom random, Hasher hasher, Salsa20Poly1305 symmet... method init (line 34) | public static synchronized Crypto init(Supplier instanceCreato... method initJS (line 48) | @JsMethod FILE: src/peergos/shared/CryptreeCache.java class CryptreeCache (line 9) | public class CryptreeCache { method CryptreeCache (line 13) | public CryptreeCache() { method CryptreeCache (line 18) | public CryptreeCache(int cacheSize) { method containsKey (line 22) | public synchronized boolean containsKey(Pair get(Pair cacheKe... method update (line 34) | public synchronized void update(Optional priorRoot, Pair toOptional() { method map (line 26) | public Optional map(Function func) { method get (line 30) | public Multihash get() { method ifPresent (line 36) | public CompletableFuture ifPresent(Function b... method withAccountCache (line 133) | public NetworkAccess withAccountCache(Function wrapp... method withCorenode (line 139) | public NetworkAccess withCorenode(CoreNode newCore) { method withoutS3BlockStore (line 144) | public NetworkAccess withoutS3BlockStore() { method nonCommittingForSignup (line 152) | public static BufferedNetworkAccess nonCommittingForSignup(Account acc... method otherDomain (line 169) | @JsMethod method isUsernameRegistered (line 175) | @JsMethod method clear (line 182) | public NetworkAccess clear() { method withMutablePointerCache (line 191) | public NetworkAccess withMutablePointerCache(int ttl) { method buildProxyingCorenode (line 199) | public static CoreNode buildProxyingCorenode(HttpPoster poster, Multih... method buildDirectCorenode (line 203) | public static CoreNode buildDirectCorenode(HttpPoster poster) { method buildLocalDht (line 207) | public static ContentAddressedStorage buildLocalDht(HttpPoster apiPost... method buildDirectS3Blockstore (line 211) | public static CompletableFuture buildDirectS3... method buildJS (line 225) | @JsMethod method isPeergosServer (line 249) | private static CompletableFuture isPeergosServer(HttpPoster p... method build (line 258) | public static CompletableFuture build(List user... method buildViaPeergosInstance (line 270) | public static CompletableFuture buildViaPeergosInstance... method buildViaGateway (line 283) | public static CompletableFuture buildViaGateway(HttpPos... method build (line 297) | private static CompletableFuture build(CoreNode core, method buildToPeergosServer (line 330) | public static NetworkAccess buildToPeergosServer(List nodeIds, method buildBuffered (line 353) | public static NetworkAccess buildBuffered(ContentAddressedStorage dht, method buildPublicNetworkAccess (line 377) | public static CompletableFuture buildPublicNetworkAcces... method isFull (line 387) | public boolean isFull() { method disableCommits (line 391) | public NetworkAccess disableCommits() { method enableCommits (line 395) | public NetworkAccess enableCommits() { method buildCommitter (line 399) | public Committer buildCommitter(Committer com, PublicKeyHash owner, Su... method commit (line 430) | public CompletableFuture commit(PublicKeyHash owner) { method commit (line 434) | public CompletableFuture commit(PublicKeyHash owner, Supplier... method retrieveMetadata (line 438) | public CompletableFuture> retrieveMetada... method getLastCommittedRoot (line 443) | public CompletableFuture> getLastCommittedRoot(PublicKey... method retrieveAllMetadata (line 453) | public CompletableFuture, List, List> retrieveAll(List> retrieveEntryPoint(Ent... method retrieveEntryPoint (line 571) | public static CompletableFuture retrieveEntryPoin... method getLatestEntryPoint (line 581) | public static CompletableFuture getLatestEntryPoi... method getUptodateEntryPoint (line 587) | private static CompletableFuture getUptodateEntryPoint(Ent... method getSecretLink (line 598) | public CompletableFuture getSecretLink(SecretLink... method getFile (line 602) | @JsMethod method getFile (line 612) | public CompletableFuture> getFile(EntryPoint e, ... method getFile (line 618) | public CompletableFuture> getFile(Snapshot version, method getFileFromLink (line 645) | public static CompletableFuture getFileFromLink(PublicKey... method getMetadata (line 678) | public CompletableFuture> getMetadata(Committed... method getMetadata (line 682) | public CompletableFuture> getMetadata(Committed... method getMetadata (line 686) | public static CompletableFuture> getMetadata(Co... method bulkUploadFragments (line 744) | private CompletableFuture> bulkUploadFragments(List> uploadFragments(List fra... method uploadChunk (line 780) | public CompletableFuture uploadChunk(Snapshot current, method addPreexistingChunk (line 813) | public CompletableFuture addPreexistingChunk(CryptreeNode me... method deleteChunk (line 825) | public CompletableFuture deleteChunk(Snapshot current, method deleteChunkIfPresent (line 838) | public CompletableFuture deleteChunkIfPresent(Snapshot current, method deleteAllChunksIfPresent (line 853) | public CompletableFuture deleteAllChunksIfPresent(Snapshot c... method deleteAllChunksIfPresent (line 871) | public CompletableFuture deleteAllChunksIfPresent(Snapshot c... method chunksArePresent (line 960) | public CompletableFuture> chunksArePresent(Snapshot curr... method downloadFragments (line 1003) | public static CompletableFuture> downloadFragme... method downloadFragments (line 1013) | private static CompletableFuture> downloadFragm... FILE: src/peergos/shared/OnlineState.java class OnlineState (line 7) | public class OnlineState { method OnlineState (line 13) | public OnlineState(Supplier> updater) { method isOnline (line 17) | public boolean isOnline() { method update (line 21) | public synchronized void update() { method updateAsync (line 31) | public void updateAsync() { method isOfflineException (line 35) | public boolean isOfflineException(Throwable t) { FILE: src/peergos/shared/QRCodeEncoder.java class QRCodeEncoder (line 12) | public class QRCodeEncoder { method write (line 19) | private static void write(int i, OutputStream out, CRC32 crc) throws I... method write (line 24) | private static void write(byte b[], OutputStream out, CRC32 crc) throw... method encodeToPng (line 29) | public static byte[] encodeToPng(int mode, int width, int height, BitM... method getPixel (line 123) | private static int getPixel(int x, int y, BitMatrix pixels) { FILE: src/peergos/shared/SecretLinkQRCode.java class SecretLinkQRCode (line 16) | public class SecretLinkQRCode { method SecretLinkQRCode (line 20) | private SecretLinkQRCode(String contents) { method getBase64Thumbnail (line 24) | @JsMethod method generate (line 30) | @JsMethod method decodeFromPixels (line 35) | public static String decodeFromPixels(int[] pixels, int width, int hei... method getQrCodeData (line 48) | public byte[] getQrCodeData() { method equals (line 58) | @Override method hashCode (line 66) | @Override FILE: src/peergos/shared/cbor/CborConstants.java type CborConstants (line 14) | public interface CborConstants { FILE: src/peergos/shared/cbor/CborDecoder.java class CborDecoder (line 22) | public class CborDecoder { method CborDecoder (line 30) | public CborDecoder(InputStream is) { method fail (line 37) | private static void fail(String msg, Object... args) throws IOException { method lengthToString (line 41) | private static String lengthToString(int len) { method peekType (line 52) | public CborType peekType() throws IOException { method readArrayLength (line 68) | public long readArrayLength() throws IOException { method readBoolean (line 78) | public boolean readBoolean() throws IOException { method readBreak (line 92) | public Object readBreak() throws IOException { method readByteString (line 104) | public byte[] readByteString(int maxLen) throws IOException { method readByteStringLength (line 121) | public long readByteStringLength() throws IOException { method readDouble (line 131) | public double readDouble() throws IOException { method readFloat (line 143) | public float readFloat() throws IOException { method readHalfPrecisionFloat (line 155) | public double readHalfPrecisionFloat() throws IOException { method readInt (line 182) | public long readInt() throws IOException { method readInt16 (line 197) | public int readInt16() throws IOException { method readInt32 (line 212) | public long readInt32() throws IOException { method readInt64 (line 227) | public long readInt64() throws IOException { method readInt8 (line 242) | public int readInt8() throws IOException { method readMapLength (line 257) | public long readMapLength() throws IOException { method readNull (line 267) | public Object readNull() throws IOException { method readSimpleValue (line 278) | public byte readSimpleValue() throws IOException { method readSmallInt (line 289) | public int readSmallInt() throws IOException { method readTag (line 304) | public long readTag() throws IOException { method readTextString (line 314) | public String readTextString(int maxLen) throws IOException { method readTextStringLength (line 331) | public long readTextStringLength() throws IOException { method readUndefined (line 341) | public Object readUndefined() throws IOException { method expectIntegerType (line 346) | protected long expectIntegerType(int ib) throws IOException { method readMajorType (line 362) | protected int readMajorType(int majorType) throws IOException { method readMajorTypeExact (line 377) | protected void readMajorTypeExact(int majorType, int subtype) throws I... method readMajorTypeWithSize (line 391) | protected long readMajorTypeWithSize(int majorType) throws IOException { method readUInt (line 402) | protected long readUInt(int length, boolean breakAllowed) throws IOExc... method readUInt16 (line 429) | protected int readUInt16() throws IOException { method readUInt32 (line 440) | protected long readUInt32() throws IOException { method readUInt64 (line 451) | protected long readUInt64() throws IOException { method readUInt8 (line 463) | protected int readUInt8() throws IOException { method readUIntExact (line 474) | protected long readUIntExact(int expectedLength, int length) throws IO... method readFully (line 482) | private byte[] readFully(byte[] buf) throws IOException { FILE: src/peergos/shared/cbor/CborEncoder.java class CborEncoder (line 18) | public class CborEncoder { method CborEncoder (line 28) | public CborEncoder(OutputStream os) { method halfPrecisionToRawIntBits (line 45) | static int halfPrecisionToRawIntBits(float fval) { method writeArrayStart (line 84) | public void writeArrayStart() throws IOException { method writeArrayStart (line 98) | public void writeArrayStart(int length) throws IOException { method writeBoolean (line 111) | public void writeBoolean(boolean value) throws IOException { method writeBreak (line 120) | public void writeBreak() throws IOException { method writeByteString (line 130) | public void writeByteString(byte[] bytes) throws IOException { method writeByteStringStart (line 143) | public void writeByteStringStart() throws IOException { method writeDouble (line 153) | public void writeDouble(double value) throws IOException { method writeFloat (line 164) | public void writeFloat(float value) throws IOException { method writeHalfPrecisionFloat (line 175) | public void writeHalfPrecisionFloat(float value) throws IOException { method writeInt (line 185) | public void writeInt(long value) throws IOException { method writeInt16 (line 202) | public void writeInt16(int value) throws IOException { method writeInt32 (line 217) | public void writeInt32(long value) throws IOException { method writeInt64 (line 232) | public void writeInt64(long value) throws IOException { method writeInt8 (line 247) | public void writeInt8(int value) throws IOException { method writeMapStart (line 265) | public void writeMapStart() throws IOException { method writeMapStart (line 279) | public void writeMapStart(int length) throws IOException { method writeNull (line 291) | public void writeNull() throws IOException { method writeSimpleValue (line 301) | public void writeSimpleValue(byte simpleValue) throws IOException { method writeSmallInt (line 313) | public void writeSmallInt(int value) throws IOException { method writeTag (line 331) | public void writeTag(long tag) throws IOException { method writeTextString (line 348) | public void writeTextString(String value) throws IOException { method writeTextStringStart (line 361) | public void writeTextStringStart() throws IOException { method writeUndefined (line 370) | public void writeUndefined() throws IOException { method writeSimpleType (line 381) | protected void writeSimpleType(int majorType, int value) throws IOExce... method writeString (line 392) | protected void writeString(int majorType, byte[] bytes) throws IOExcep... method writeType (line 407) | protected void writeType(int majorType, long value) throws IOException { method writeUInt (line 418) | protected void writeUInt(int mt, long value) throws IOException { method writeUInt16 (line 439) | protected void writeUInt16(int mt, int value) throws IOException { method writeUInt32 (line 452) | protected void writeUInt32(int mt, int value) throws IOException { method writeUInt64 (line 467) | protected void writeUInt64(int mt, long value) throws IOException { method writeUInt8 (line 486) | protected void writeUInt8(int mt, int value) throws IOException { FILE: src/peergos/shared/cbor/CborObject.java type CborObject (line 13) | public interface CborObject extends Cborable { method serialize (line 15) | void serialize(CborEncoder encoder); method links (line 17) | List links(); method toByteArray (line 19) | default byte[] toByteArray() { method toCbor (line 26) | @Override method getLinks (line 33) | static List getLinks(Cid h, byte[] data) { method fromByteArray (line 43) | static CborObject fromByteArray(byte[] cbor) { method read (line 49) | static CborObject read(InputStream in, int maxBytes) { method deserialize (line 53) | static CborObject deserialize(CborDecoder decoder, int maxGroupSize) { class CborMap (line 124) | final class CborMap implements CborObject { method CborMap (line 128) | private CborMap(SortedMap values) { method build (line 132) | public static CborMap build(Map values) { method put (line 142) | public void put(String key, CborObject val) { method containsKey (line 146) | public boolean containsKey(String key) { method keySet (line 150) | public Set keySet() { method get (line 156) | public Cborable get(String key) { method getObject (line 160) | public T getObject(String key, Function fromCbor) { method getString (line 164) | public String getString(String key) { method getString (line 168) | public String getString(String key, String defaultValue) { method getLong (line 174) | public long getLong(String key) { method getMerkleLink (line 178) | public Multihash getMerkleLink(String key) { method getBoolean (line 182) | public boolean getBoolean(String key) { method getBoolean (line 187) | public boolean getBoolean(String key, boolean def) { method getOptionalByteArray (line 194) | public Optional getOptionalByteArray(String key) { method getByteArray (line 198) | public byte[] getByteArray(String key) { method getOptional (line 202) | public Optional getOptional(String key) { method getOptional (line 206) | public Optional getOptional(String key, Function... method getOptionalLong (line 210) | public Optional getOptionalLong(String key) { method getOptionalString (line 214) | public Optional getOptionalString(String key) { method getList (line 218) | public List getList(String key, Function fromCbo... method applyToAll (line 228) | public void applyToAll(BiConsumer func) { method serialize (line 232) | @Override method links (line 245) | @Override method equals (line 252) | @Override method hashCode (line 263) | @Override method getList (line 268) | public CborList getList(String key) { method get (line 272) | public T get(String key, Function fromCbor) { method toMap (line 276) | public Map toMap(Function toKey, Fun... method getMap (line 284) | public Map getMap(String key, Function Map getListMap(String key, Function value) { method CborList (line 358) | public CborList(Map map) { method build (line 364) | public static CborList build(List in, Function t... method serialize (line 368) | @Override method links (line 380) | @Override method equals (line 387) | @Override method hashCode (line 397) | @Override method map (line 402) | public List map(Function fromCbor) { method getLong (line 408) | public long getLong(int index) { method get (line 412) | public T get(int index, Function fromCbor) { method getMap (line 416) | public Map getMap(Function toKey, F... class CborBoolean (line 430) | final class CborBoolean implements CborObject { method CborBoolean (line 433) | public CborBoolean(boolean value) { method serialize (line 437) | @Override method links (line 446) | @Override method equals (line 451) | @Override method hashCode (line 462) | @Override method toString (line 467) | @Override class CborByteArray (line 475) | final class CborByteArray implements CborObject, Comparable { method CborString (line 538) | public CborString(String value) { method compareTo (line 542) | @Override method serialize (line 550) | @Override method links (line 559) | @Override method equals (line 564) | @Override method hashCode (line 575) | @Override method toString (line 580) | @Override method getString (line 587) | public static String getString(Cborable cbor) { class CborLong (line 592) | final class CborLong implements CborObject, Comparable { method CborLong (line 595) | public CborLong(long value) { method compareTo (line 599) | @Override method serialize (line 604) | @Override method links (line 613) | @Override method equals (line 618) | @Override method hashCode (line 629) | @Override method toString (line 634) | @Override class CborNull (line 642) | final class CborNull implements CborObject, Comparable { method CborNull (line 643) | public CborNull() {} method compareTo (line 645) | @Override method serialize (line 650) | @Override method links (line 659) | @Override method equals (line 664) | @Override method hashCode (line 672) | @Override method toString (line 677) | @Override FILE: src/peergos/shared/cbor/CborType.java class CborType (line 19) | public class CborType { method CborType (line 23) | private CborType(int major, int additional) { method getName (line 35) | public static String getName(int mt) { method valueOf (line 64) | public static CborType valueOf(int i) { method equals (line 68) | @Override method getAdditionalInfo (line 84) | public int getAdditionalInfo() { method getMajorType (line 91) | public int getMajorType() { method hashCode (line 95) | @Override method isBreakAllowed (line 108) | public boolean isBreakAllowed() { method isEqualType (line 120) | public boolean isEqualType(CborType other) { method isEqualType (line 133) | public boolean isEqualType(int encoded) { method toString (line 137) | @Override FILE: src/peergos/shared/cbor/Cborable.java type Cborable (line 7) | @JsType method toCbor (line 10) | CborObject toCbor(); method serialize (line 12) | default byte[] serialize() { method parser (line 16) | static Function parser(Function parser) { FILE: src/peergos/shared/corenode/CoreNode.java type CoreNode (line 16) | public interface CoreNode { method initialize (line 19) | default void initialize(boolean mirrorUsers) {} method signup (line 21) | CompletableFuture> signup(String username, method startPaidSignup (line 27) | CompletableFuture> start... method completePaidSignup (line 31) | CompletableFuture completePaidSignup(String username, method startMirror (line 37) | CompletableFuture startMirror(String username, method startPaidMirror (line 42) | CompletableFuture> start... method getSnapshots (line 46) | CompletableFuture> getSnapshots(String prefix, BatW... method completePaidMirror (line 48) | CompletableFuture completePaidMirror(String username, method getChain (line 58) | CompletableFuture> getChain(String username); method updateChain (line 68) | CompletableFuture> updateChain(String use... method getUsername (line 78) | CompletableFuture getUsername(PublicKeyHash key); method getUsernames (line 85) | CompletableFuture> getUsernames(String prefix); method migrateUser (line 87) | CompletableFuture migrateUser(String username, method getNextServerId (line 95) | CompletableFuture> getNextServerId(Multihash serve... method updateUser (line 102) | default CompletableFuture updateUser(String username) {return... method getPublicKeyHash (line 109) | default CompletableFuture> getPublicKeyHash(St... method getHomeServer (line 118) | default CompletableFuture> getHomeServer(String us... method getStorageProviders (line 127) | default List getStorageProviders(PublicKeyHash owner) { method close (line 135) | void close() throws IOException; FILE: src/peergos/shared/corenode/CoreNodeUtils.java class CoreNodeUtils (line 8) | public class CoreNodeUtils { method deserializeByteArray (line 11) | public static byte[] deserializeByteArray(DataInputStream din) throws ... method getByteArray (line 16) | public static byte[] getByteArray(int len) throws IOException method deserializeString (line 21) | public static String deserializeString(DataInputStream din) throws IOE... FILE: src/peergos/shared/corenode/HTTPCoreNode.java class HTTPCoreNode (line 21) | public class HTTPCoreNode implements CoreNode { method disableLog (line 23) | public static void disableLog() { method HTTPCoreNode (line 31) | public HTTPCoreNode(HttpPoster p2p, Multihash pkiServerNodeId) method HTTPCoreNode (line 39) | public HTTPCoreNode(HttpPoster direct) method getProxyUrlPrefix (line 45) | private static String getProxyUrlPrefix(Multihash targetId) { method getPublicKeyHash (line 49) | @Override method getUsername (line 77) | @Override method getChain (line 103) | @Override method signup (line 127) | @Override method startPaidSignup (line 162) | @Override method completePaidSignup (line 192) | @Override method startMirror (line 217) | @Override method startPaidMirror (line 244) | @Override method completePaidMirror (line 274) | @Override method getSnapshots (line 294) | @Override method updateChain (line 314) | @Override method getUsernames (line 347) | @Override method migrateUser (line 353) | @Override method getNextServerId (line 385) | @Override method close (line 390) | @Override public void close() {} FILE: src/peergos/shared/corenode/OfflineCorenode.java class OfflineCorenode (line 17) | public class OfflineCorenode implements CoreNode { method OfflineCorenode (line 23) | public OfflineCorenode(CoreNode target, PkiCache pkiCache, OnlineState... method signup (line 29) | @Override method startPaidSignup (line 38) | @Override method completePaidSignup (line 45) | @Override method startMirror (line 54) | @Override method startPaidMirror (line 59) | @Override method completePaidMirror (line 64) | @Override method getSnapshots (line 69) | @Override method getChain (line 74) | @Override method updateChain (line 94) | @Override method getUsername (line 108) | @Override method getUsernames (line 115) | @Override method migrateUser (line 121) | @Override method getNextServerId (line 132) | @Override method close (line 137) | @Override FILE: src/peergos/shared/corenode/OpLog.java class OpLog (line 24) | public class OpLog implements Cborable, Account, MutablePointers, Conten... method OpLog (line 32) | public OpLog(List> operations, method setPointer (line 40) | @Override method setPointers (line 46) | @Override method getPointer (line 52) | @Override method clearCache (line 62) | @Override method setLoginData (line 67) | @Override method getLoginData (line 73) | @Override method getSecondAuthMethods (line 90) | @Override method enableTotpFactor (line 95) | @Override method registerSecurityKeyStart (line 100) | @Override method registerSecurityKeyComplete (line 105) | @Override method deleteSecondFactor (line 110) | @Override method addTotpFactor (line 115) | @Override method getBat (line 120) | @Override method getUserBats (line 125) | @Override method addBat (line 130) | @Override method directToOrigin (line 138) | @Override method id (line 143) | @Override method ids (line 148) | @Override method linkHost (line 153) | @Override method startTransaction (line 158) | @Override method closeTransaction (line 163) | @Override method put (line 168) | @Override method get (line 179) | @Override method putRaw (line 184) | @Override method put (line 196) | private CompletableFuture put(PublicKeyHash writer, byte[] signed... method getRaw (line 207) | @Override method getChampLookup (line 212) | @Override method getSecretLink (line 217) | @Override method getLinkCounts (line 222) | @Override method getSize (line 227) | @Override method getIpnsEntry (line 232) | @Override class BlockWrite (line 237) | public static final class BlockWrite implements Cborable { method BlockWrite (line 243) | public BlockWrite(PublicKeyHash writer, byte[] signature, byte[] blo... method toCbor (line 253) | @Override method fromCbor (line 263) | public static BlockWrite fromCbor(Cborable cbor) { method toString (line 275) | @Override method equals (line 282) | @Override method hashCode (line 290) | @Override class PointerWrite (line 296) | public static final class PointerWrite implements Cborable { method PointerWrite (line 300) | public PointerWrite(PublicKeyHash writer, byte[] writerSignedChampRo... method toCbor (line 305) | @Override method fromCbor (line 313) | public static PointerWrite fromCbor(Cborable cbor) { method toString (line 322) | @Override method parseOperation (line 328) | private static Either parseOperation(Cborabl... method toCbor (line 337) | @Override method fromCbor (line 354) | public static OpLog fromCbor(Cborable cbor) { method empty (line 373) | public static OpLog empty() { method getBlockCache (line 377) | @Override FILE: src/peergos/shared/corenode/PkiCache.java type PkiCache (line 8) | public interface PkiCache { method getChain (line 10) | CompletableFuture> getChain(String username); method setChain (line 12) | CompletableFuture setChain(String username, List getUsername(PublicKeyHash key); FILE: src/peergos/shared/corenode/Proxy.java class Proxy (line 11) | public class Proxy { method redirectCall (line 14) | public static final CompletableFuture redirectCall(CoreNode core, FILE: src/peergos/shared/corenode/TofuCoreNode.java class TofuCoreNode (line 22) | public class TofuCoreNode implements CoreNode { method TofuCoreNode (line 31) | public TofuCoreNode(CoreNode source, TofuKeyStore tofu, FileWrapper ba... method load (line 48) | public static CompletableFuture load(String username, Tr... method commit (line 75) | private synchronized CompletableFuture commit() { method updateUser (line 87) | @Override method getPublicKeyHash (line 98) | @Override method getUsername (line 115) | @Override method getChain (line 127) | @Override method signup (line 138) | @Override method startPaidSignup (line 147) | @Override method completePaidSignup (line 152) | @Override method startMirror (line 157) | @Override method startPaidMirror (line 162) | @Override method completePaidMirror (line 167) | @Override method getSnapshots (line 172) | @Override method updateChain (line 177) | @Override method getUsernames (line 191) | @Override method migrateUser (line 196) | @Override method getNextServerId (line 211) | @Override method close (line 216) | @Override FILE: src/peergos/shared/corenode/UserPublicKeyLink.java class UserPublicKeyLink (line 19) | public class UserPublicKeyLink implements Cborable { method UserPublicKeyLink (line 27) | public UserPublicKeyLink(PublicKeyHash ownerHash, Claim claim, Optiona... method UserPublicKeyLink (line 33) | public UserPublicKeyLink(PublicKeyHash owner, Claim claim) { method getKeyChangeProof (line 37) | public Optional getKeyChangeProof() { method withClaim (line 41) | public UserPublicKeyLink withClaim(Claim claim) { method equals (line 45) | @Override method hashCode (line 60) | @Override method toCbor (line 68) | @Override method fromCbor (line 77) | public static UserPublicKeyLink fromCbor(Cborable cbor) { method createChain (line 89) | public static CompletableFuture> createChain(S... class Claim (line 108) | public static class Claim implements Cborable { method Claim (line 115) | public Claim(String username, LocalDate expiry, List stor... method toCbor (line 123) | @Override method fromCbor (line 134) | public static Claim fromCbor(Cborable cbor) { method build (line 148) | public static CompletableFuture build(String username, Secret... method deserialize (line 166) | public static CompletableFuture deserialize(byte[] signedCont... method equals (line 185) | @Override method hashCode (line 199) | @Override method createInitial (line 209) | public static CompletableFuture> createInitial... method merge (line 217) | public static CompletableFuture> merge(List validChain(List validLink(UserPublicKeyLink from, method validClaim (line 314) | static CompletableFuture validClaim(UserPublicKeyLink from, S... method isExpiredClaim (line 336) | public static boolean isExpiredClaim(UserPublicKeyLink from) { FILE: src/peergos/shared/corenode/Usernames.java class Usernames (line 5) | public class Usernames { FILE: src/peergos/shared/crypto/AsymmetricCipherText.java class AsymmetricCipherText (line 11) | public class AsymmetricCipherText implements Cborable { method AsymmetricCipherText (line 15) | public AsymmetricCipherText(byte[] cipherText) { method toCbor (line 19) | @Override method fromCbor (line 24) | public static AsymmetricCipherText fromCbor(Cborable cbor) { method build (line 31) | public static CompletableFuture CompletableFuture decrypt(SecretBoxingKey to, PublicBoxi... FILE: src/peergos/shared/crypto/BoxingKeyPair.java class BoxingKeyPair (line 14) | public class BoxingKeyPair implements Cborable method BoxingKeyPair (line 19) | public BoxingKeyPair(PublicBoxingKey publicBoxingKey, SecretBoxingKey ... method toCbor (line 24) | @Override method fromCbor (line 31) | public static BoxingKeyPair fromCbor(Cborable cbor) { method randomHybrid (line 41) | public static CompletableFuture randomHybrid(Crypto cry... method randomCurve25519 (line 52) | public static BoxingKeyPair randomCurve25519(SafeRandom random, Curve2... method randomCurve25519 (line 62) | private static BoxingKeyPair randomCurve25519(byte[] secretBoxBytes, b... FILE: src/peergos/shared/crypto/CipherText.java class CipherText (line 10) | public class CipherText implements Cborable { method CipherText (line 14) | public CipherText(byte[] nonce, byte[] cipherText) { method toCbor (line 19) | @Override method fromCbor (line 27) | public static CipherText fromCbor(Cborable cbor) { method build (line 37) | public static CipherText build(SymmetricKey from,... method decrypt (line 43) | public T decrypt(SymmetricKey from, Function fromCb... method decrypt (line 48) | public T decrypt(SymmetricKey from, Function fromCb... FILE: src/peergos/shared/crypto/FragmentedPaddedCipherText.java class FragmentedPaddedCipherText (line 22) | public class FragmentedPaddedCipherText implements Cborable { method FragmentedPaddedCipherText (line 30) | public FragmentedPaddedCipherText(byte[] nonce, method isInline (line 44) | public boolean isInline() { method getFragments (line 48) | public List getFragments() { method getBats (line 52) | public List getBats() { method withFragments (line 56) | public FragmentedPaddedCipherText withFragments(List fragments) { method toCbor (line 60) | @Override method fromCbor (line 85) | public static FragmentedPaddedCipherText fromCbor(Cborable cbor) { method pad (line 107) | protected static byte[] pad(byte[] input, int excluded, int blockSize) { method build (line 112) | public static method getAndDecrypt (line 162) | public CompletableFuture getAndDecrypt(PublicKeyHash owner, method generateCache (line 180) | private static byte[][] generateCache() { method split (line 186) | private static byte[][] split(byte[] input, int inputStartIndex, int m... method recombine (line 216) | private static byte[] recombine(Optional header, List getAndVerifyOwner(PublicKeyHas... method build (line 27) | public static CompletableFuture build(SigningPrivateKeyAnd... method toCbor (line 32) | @Override method fromCbor (line 40) | public static OwnerProof fromCbor(Cborable cbor) { method equals (line 50) | @Override method hashCode (line 59) | @Override FILE: src/peergos/shared/crypto/PaddedAsymmetricCipherText.java class PaddedAsymmetricCipherText (line 9) | public class PaddedAsymmetricCipherText implements Cborable { method PaddedAsymmetricCipherText (line 13) | public PaddedAsymmetricCipherText(AsymmetricCipherText cipherText) { method toCbor (line 17) | @Override method fromCbor (line 22) | public static PaddedAsymmetricCipherText fromCbor(Cborable cbor) { method build (line 26) | public static CompletableFuture CompletableFuture decrypt(SecretBoxingKey to, PublicBoxi... FILE: src/peergos/shared/crypto/PaddedCipherText.java class PaddedCipherText (line 13) | public class PaddedCipherText implements Cborable { method PaddedCipherText (line 17) | public PaddedCipherText(CipherText cipherText) { method toCbor (line 21) | @Override method fromCbor (line 26) | public static PaddedCipherText fromCbor(Cborable cbor) { method pad (line 30) | protected static byte[] pad(byte[] input, int blockSize) { method build (line 35) | public static PaddedCipherText build(SymmetricKey... method decrypt (line 43) | public T decrypt(SymmetricKey from, Function fromCb... FILE: src/peergos/shared/crypto/ProofOfWork.java class ProofOfWork (line 9) | public class ProofOfWork implements Cborable { method ProofOfWork (line 18) | public ProofOfWork(byte[] prefix, Multihash.Type type) { method toCbor (line 23) | @Override method fromCbor (line 31) | public static ProofOfWork fromCbor(Cborable cbor) { method buildSha256 (line 40) | @JsMethod method satisfiesDifficulty (line 51) | @JsMethod method empty (line 65) | public static ProofOfWork empty() { FILE: src/peergos/shared/crypto/RequiredDifficulty.java class RequiredDifficulty (line 3) | public class RequiredDifficulty { method RequiredDifficulty (line 6) | public RequiredDifficulty(int requiredDifficulty) { method toString (line 10) | @Override FILE: src/peergos/shared/crypto/SigningKeyPair.java class SigningKeyPair (line 13) | public class SigningKeyPair implements Cborable method SigningKeyPair (line 18) | public SigningKeyPair(PublicSigningKey publicSigningKey, SecretSigning... method signMessage (line 24) | public CompletableFuture signMessage(byte[] message) method equals (line 29) | @Override method hashCode (line 41) | @Override method toCbor (line 48) | @Override method toString (line 55) | @Override method fromString (line 60) | public static SigningKeyPair fromString(String multibaseEncoded) { method fromByteArray (line 64) | public static SigningKeyPair fromByteArray(byte[] raw) { method fromCbor (line 68) | public static SigningKeyPair fromCbor(Cborable cbor) { method random (line 78) | public static SigningKeyPair random(SafeRandom random, Ed25519 signer) { method random (line 88) | private static SigningKeyPair random(byte[] secretSignBytes, byte[] pu... FILE: src/peergos/shared/crypto/SigningPrivateKeyAndPublicHash.java class SigningPrivateKeyAndPublicHash (line 10) | @JsType method SigningPrivateKeyAndPublicHash (line 15) | public SigningPrivateKeyAndPublicHash(PublicKeyHash publicKeyHash, Sec... method toCbor (line 20) | @Override method fromCbor (line 29) | @SuppressWarnings("unusable-by-js") method toString (line 39) | @Override method hashCode (line 44) | @Override method equals (line 49) | @Override FILE: src/peergos/shared/crypto/SourcedAsymmetricCipherText.java class SourcedAsymmetricCipherText (line 10) | public class SourcedAsymmetricCipherText implements Cborable { method SourcedAsymmetricCipherText (line 14) | public SourcedAsymmetricCipherText(PublicBoxingKey from, AsymmetricCip... method build (line 19) | public static CompletableFuture CompletableFuture decrypt(SecretBoxingKey to, Function signMessage(byte[] message); method signatureOnly (line 26) | CompletableFuture signatureOnly(byte[] message); method fromCbor (line 28) | @SuppressWarnings("unusable-by-js") FILE: src/peergos/shared/crypto/asymmetric/curve25519/Curve25519.java type Curve25519 (line 5) | public interface Curve25519 { method crypto_box_open (line 7) | byte[] crypto_box_open(byte[] cipher, byte[] nonce, byte[] theirPublic... method crypto_box (line 9) | byte[] crypto_box(byte[] message, byte[] nonce, byte[] theirPublicBoxi... method crypto_box_keypair (line 11) | void crypto_box_keypair(byte[] pk, byte[] sk); class Javascript (line 13) | class Javascript implements Curve25519 { method crypto_box_open (line 17) | @Override method crypto_box (line 22) | @Override method crypto_box_keypair (line 27) | @Override FILE: src/peergos/shared/crypto/asymmetric/curve25519/Curve25519PublicKey.java class Curve25519PublicKey (line 13) | public class Curve25519PublicKey implements PublicBoxingKey { method Curve25519PublicKey (line 19) | public Curve25519PublicKey(byte[] publicKey, Curve25519 provider, Safe... method type (line 27) | public PublicBoxingKey.Type type() { method equals (line 31) | @Override method hashCode (line 41) | @Override method getPublicBoxingKey (line 46) | public byte[] getPublicBoxingKey() { method encryptMessageFor (line 50) | @Override method createNonce (line 56) | public byte[] createNonce() { method toCbor (line 62) | @Override method fromCbor (line 67) | public static Curve25519PublicKey fromCbor(Cborable cbor, Curve25519 p... FILE: src/peergos/shared/crypto/asymmetric/curve25519/Curve25519SecretKey.java class Curve25519SecretKey (line 11) | public class Curve25519SecretKey implements SecretBoxingKey { method Curve25519SecretKey (line 16) | public Curve25519SecretKey(byte[] secretKey, Curve25519 provider) { method type (line 21) | public PublicBoxingKey.Type type() { method equals (line 25) | @Override method hashCode (line 35) | @Override method getSecretBoxingKey (line 40) | @Override method decryptMessage (line 45) | public CompletableFuture decryptMessage(byte[] cipher, PublicB... method toCbor (line 51) | @Override method fromCbor (line 56) | public static Curve25519SecretKey fromCbor(Cborable cbor, Curve25519 p... FILE: src/peergos/shared/crypto/asymmetric/curve25519/Ed25519.java type Ed25519 (line 7) | public interface Ed25519 { method crypto_sign_open (line 9) | CompletableFuture crypto_sign_open(byte[] signed, byte[] publi... method crypto_sign (line 11) | CompletableFuture crypto_sign(byte[] message, byte[] secretSig... method crypto_sign_keypair (line 13) | void crypto_sign_keypair(byte[] pk, byte[] sk); class Javascript (line 15) | class Javascript implements Ed25519 { method crypto_sign_open (line 18) | @Override method crypto_sign (line 23) | @Override method crypto_sign_keypair (line 28) | @Override FILE: src/peergos/shared/crypto/asymmetric/curve25519/Ed25519PublicKey.java class Ed25519PublicKey (line 10) | public class Ed25519PublicKey implements PublicSigningKey { method Ed25519PublicKey (line 16) | public Ed25519PublicKey(byte[] publicKey, Ed25519 provider) { method type (line 21) | public PublicSigningKey.Type type() { method equals (line 25) | @Override method hashCode (line 35) | @Override method toString (line 40) | @Override method toCbor (line 45) | @Override method unsignMessage (line 50) | public CompletableFuture unsignMessage(byte[] signed) { method fromCbor (line 56) | public static Ed25519PublicKey fromCbor(Cborable cbor, Ed25519 provide... FILE: src/peergos/shared/crypto/asymmetric/curve25519/Ed25519SecretKey.java class Ed25519SecretKey (line 10) | public class Ed25519SecretKey implements SecretSigningKey { method Ed25519SecretKey (line 15) | public Ed25519SecretKey(byte[] secretKey, Ed25519 provider) { method type (line 20) | public PublicSigningKey.Type type() { method equals (line 24) | @Override method hashCode (line 34) | @Override method toCbor (line 39) | @Override method signMessage (line 44) | @Override method signatureOnly (line 49) | @Override method fromCbor (line 55) | public static SecretSigningKey fromCbor(Cborable cbor, Ed25519 provide... FILE: src/peergos/shared/crypto/asymmetric/mlkem/HybridCipherText.java class HybridCipherText (line 10) | public class HybridCipherText implements Cborable { method HybridCipherText (line 13) | public HybridCipherText(byte[] curve25519Ciphertext, byte[] mlkemCiphe... method toCbor (line 20) | @Override method fromCbor (line 30) | public static HybridCipherText fromCbor(Cborable cbor) { FILE: src/peergos/shared/crypto/asymmetric/mlkem/HybridCurve25519MLKEMPublicKey.java class HybridCurve25519MLKEMPublicKey (line 18) | public class HybridCurve25519MLKEMPublicKey implements PublicBoxingKey { method HybridCurve25519MLKEMPublicKey (line 24) | public HybridCurve25519MLKEMPublicKey(Curve25519PublicKey curve25519, ... method type (line 30) | @Override method getPublicBoxingKey (line 35) | @Override method encryptMessageFor (line 40) | @Override method createNonce (line 60) | @Override method equals (line 65) | @Override method hashCode (line 74) | @Override method toCbor (line 79) | @Override method fromCbor (line 87) | public static HybridCurve25519MLKEMPublicKey fromCbor(Cborable cbor, C... FILE: src/peergos/shared/crypto/asymmetric/mlkem/HybridCurve25519MLKEMSecretKey.java class HybridCurve25519MLKEMSecretKey (line 19) | public class HybridCurve25519MLKEMSecretKey implements SecretBoxingKey { method HybridCurve25519MLKEMSecretKey (line 25) | public HybridCurve25519MLKEMSecretKey(Curve25519SecretKey curve25519, ... method type (line 31) | @Override method getSecretBoxingKey (line 36) | @Override method decryptMessage (line 41) | @Override method toCbor (line 53) | @Override method fromCbor (line 61) | public static HybridCurve25519MLKEMSecretKey fromCbor(Cborable cbor, C... FILE: src/peergos/shared/crypto/asymmetric/mlkem/Mlkem.java type Mlkem (line 7) | public interface Mlkem { method encapsulate (line 9) | CompletableFuture encapsulate(byte[] publicKeyBytes); method decapsulate (line 11) | CompletableFuture decapsulate(byte[] cipherTextBytes, byte[] s... method generateKeyPair (line 13) | CompletableFuture generateKeyPair(); class Encapsulation (line 15) | class Encapsulation { method Encapsulation (line 18) | public Encapsulation(byte[] sharedSecret, byte[] cipherText) { class Javascript (line 24) | class Javascript implements Mlkem { method encapsulate (line 27) | @Override method decapsulate (line 41) | @Override method generateKeyPair (line 46) | @Override FILE: src/peergos/shared/crypto/asymmetric/mlkem/MlkemKeyPair.java class MlkemKeyPair (line 3) | public class MlkemKeyPair { method MlkemKeyPair (line 7) | public MlkemKeyPair(MlkemPublicKey publicKey, MlkemSecretKey secretKey) { FILE: src/peergos/shared/crypto/asymmetric/mlkem/MlkemPublicKey.java class MlkemPublicKey (line 12) | public class MlkemPublicKey implements Cborable { method MlkemPublicKey (line 17) | public MlkemPublicKey(byte[] keyBytes, Mlkem implementation) { method encapsulate (line 22) | public CompletableFuture encapsulate() { method equals (line 26) | @Override method hashCode (line 34) | @Override method toCbor (line 39) | @Override method fromCbor (line 46) | static MlkemPublicKey fromCbor(Cborable cbor, Mlkem implementation) { FILE: src/peergos/shared/crypto/asymmetric/mlkem/MlkemSecretKey.java class MlkemSecretKey (line 10) | public class MlkemSecretKey implements Cborable { method MlkemSecretKey (line 15) | public MlkemSecretKey(byte[] secretKeyBytes, Mlkem implementation) { method decapsulate (line 20) | public CompletableFuture decapsulate(byte[] cipherText) { method toCbor (line 24) | @Override method fromCbor (line 31) | public static MlkemSecretKey fromCbor(Cborable cbor, Mlkem implementat... FILE: src/peergos/shared/crypto/hash/BaseHash.java class BaseHash (line 44) | public abstract class BaseHash method BaseHash (line 68) | protected BaseHash(String name, int hashSize, int blockSize) method name (line 80) | public String name() method hashSize (line 85) | public int hashSize() method blockSize (line 90) | public int blockSize() method update (line 95) | public void update(byte b) method update (line 105) | public void update(byte[] b) method update (line 110) | public void update(byte[] b, int offset, int len) method digest (line 131) | public byte[] digest() method reset (line 142) | public void reset() method clone (line 151) | public abstract Object clone(); method selfTest (line 153) | public abstract boolean selfTest(); method padBuffer (line 162) | protected abstract byte[] padBuffer(); method getResult (line 169) | protected abstract byte[] getResult(); method resetContext (line 172) | protected abstract void resetContext(); method transform (line 181) | protected abstract void transform(byte[] in, int offset); FILE: src/peergos/shared/crypto/hash/Blake2b.java type Blake2b (line 31) | public interface Blake2b { type Spec (line 35) | public interface Spec { class ResumeHandle (line 97) | public static final class ResumeHandle implements Serializable { method resume (line 127) | public Blake2b resume(Param param) { method update (line 149) | void update (byte[] input) ; method update (line 152) | void update (byte input) ; method update (line 155) | void update (byte[] input, int offset, int len) ; method digest (line 158) | byte[] digest () ; method digest (line 161) | byte[] digest (byte[] input) ; method digest (line 164) | void digest (byte[] output, int offset, int len) ; method reset (line 167) | void reset () ; method state (line 169) | ResumeHandle state(); class Digest (line 175) | public static class Digest extends Engine implements Blake2b { method Digest (line 176) | private Digest (final Param p) { super (p); } method Digest (line 177) | private Digest () { super (); } method Digest (line 178) | private Digest(Param p, State state) { method newInstance (line 182) | public static Digest newInstance () { method newInstance (line 185) | public static Digest newInstance (final int digestLength) { method newInstance (line 188) | public static Digest newInstance (Param p) { method newInstance (line 191) | public static Digest newInstance (Param p, State state) { class Mac (line 201) | public static class Mac extends Engine implements Blake2b { method Mac (line 202) | private Mac (final Param p, State state) { super (state, p); } method Mac (line 203) | private Mac (final Param p) { super (p); } method Mac (line 204) | private Mac () { super (); } method newInstance (line 207) | public static Mac newInstance (final byte[] key) { method newInstance (line 211) | public static Mac newInstance (final byte[] key, final int digestLen... method newInstance (line 216) | public static Mac newInstance (Param p) { class Tree (line 234) | public static class Tree { method Tree (line 250) | public Tree ( method treeParam (line 263) | private Param treeParam() { method getNode (line 268) | public final Digest getNode (final int depth, final int offset) { method getRoot (line 273) | public final Digest getRoot () { class Engine (line 283) | static class Engine implements Blake2b { class State (line 289) | static final class State { method State (line 313) | State(int digestLength, boolean isMac) { method toResumableForm (line 320) | public ResumeHandle toResumableForm() { type flag (line 344) | interface flag { method Engine (line 356) | Engine () { method Engine (line 360) | Engine(State state, Param param) { method Engine (line 368) | Engine (final Param param) { method state (line 386) | public ResumeHandle state() { method initialize (line 390) | private void initialize () { method reset (line 406) | @Override final public void reset () { method update (line 427) | @Override final public void update (final byte[] b, int off, int len) { method update (line 466) | @Override final public void update (byte b) { method update (line 472) | @Override final public void update(byte[] input) { method digest (line 477) | @Override final public void digest(byte[] output, int off, int len) { method digest (line 496) | @Override final public byte[] digest () throws IllegalArgumentExcept... method digest (line 503) | @Override final public byte[] digest (byte[] input) { method hashout (line 516) | private void hashout (final byte[] out, final int offset, final int ... method compress (line 551) | private void compress (final byte[] b, final int offset) { method round_0 (line 620) | private void round_0(final long[] v, final long[] m) { method round_1 (line 725) | private void round_1(final long[] v, final long[] m) { method round_2 (line 830) | private void round_2(final long[] v, final long[] m) { method round_3 (line 935) | private void round_3(final long[] v, final long[] m) { method round_4 (line 1040) | private void round_4(final long[] v, final long[] m) { method round_5 (line 1145) | private void round_5(final long[] v, final long[] m) { method round_6 (line 1250) | private void round_6(final long[] v, final long[] m) { method round_7 (line 1355) | private void round_7(final long[] v, final long[] m) { method round_8 (line 1460) | private void round_8(final long[] v, final long[] m) { method round_9 (line 1565) | private void round_9(final long[] v, final long[] m) { class Assert (line 1678) | public static final class Assert { method assertFail (line 1683) | static String assertFail(final String name, fin... class LittleEndian (line 1696) | public static class LittleEndian { method toHexStr (line 1700) | static public String toHexStr (final byte[] b) { method toHexStr (line 1703) | static public String toHexStr (final byte[] b, boolean upperCase) { method readInt (line 1713) | public static int readInt (final byte[] b, final int off) { method readLong (line 1720) | public static long readLong (final byte[] b, final int off) { method writeLong (line 1731) | public static void writeLong (long v, final byte[] b, final int of... method writeInt (line 1742) | public static void writeInt (int v, final byte[] b, final int off) { class Param (line 1755) | public static class Param { type Xoff (line 1756) | interface Xoff { type Default (line 1769) | public interface Default { method Param (line 1826) | public Param() { method initialized_H (line 1830) | public long[] initialized_H () { method getBytes (line 1834) | public byte[] getBytes() { method getByteParam (line 1841) | final byte getByteParam (final int xoffset) { method getIntParam (line 1846) | final int getIntParam (final int xoffset) { method getLongParam (line 1851) | final long getLongParam (final int xoffset) { method getDigestLength (line 1857) | public final int getDigestLength() { method getKeyLength (line 1860) | public final int getKeyLength() { method getFanout (line 1863) | public final int getFanout() { method getDepth (line 1866) | public final int getDepth() { method getLeafLength (line 1869) | public final int getLeafLength() { method getNodeOffset (line 1872) | public final long getNodeOffset() { method getNodeDepth (line 1875) | public final int getNodeDepth() { method getInnerLength (line 1878) | public final int getInnerLength() { method hasKey (line 1882) | public final boolean hasKey() { return this.hasKey; } method clone (line 1884) | public Param clone() { method lazyInitBytes (line 1900) | final void lazyInitBytes () { method setDigestLength (line 1907) | public final Param setDigestLength(int len) { method setKey (line 1917) | public final Param setKey (final byte[] key) { method setFanout (line 1931) | public final Param setFanout(int fanout) { method setDepth (line 1940) | public final Param setDepth(int depth) { method setLeafLength (line 1949) | public final Param setLeafLength(int leaf_length) { method setNodeOffset (line 1960) | public final Param setNodeOffset(long node_offset) { method setNodeDepth (line 1971) | public final Param setNodeDepth(int node_depth) { method setInnerLength (line 1982) | public final Param setInnerLength(int inner_length) { method setSalt (line 1997) | public final Param setSalt(final byte[] salt) { method setPersonal (line 2012) | public final Param setPersonal(byte[] personal) { FILE: src/peergos/shared/crypto/hash/Hash.java class Hash (line 10) | public class Hash { method sha256 (line 13) | public static byte[] sha256(byte[] input) { method sha256 (line 27) | public static CompletableFuture sha256(AsyncReader input, long... method sha256 (line 38) | private static CompletableFuture sha256(AsyncReader input, lon... method sha256 (line 48) | private static CompletableFuture sha256(AsyncReader input, lon... method sha256 (line 58) | public static byte[] sha256(String password) { FILE: src/peergos/shared/crypto/hash/Hasher.java type Hasher (line 14) | @JsType method hashToKeyBytes (line 17) | CompletableFuture hashToKeyBytes(String username, String passw... method generateProofOfWork (line 19) | CompletableFuture generateProofOfWork(int difficulty, byt... method sha256 (line 21) | CompletableFuture sha256(byte[] input); method sha256Section (line 23) | default CompletableFuture sha256Section(AsyncReader reader, lo... method readFully (line 31) | private static CompletableFuture readFully(AsyncReader reader,... method hmacSha256 (line 38) | CompletableFuture hmacSha256(byte[] secretKey, byte[] message); method hashFromStream (line 40) | @SuppressWarnings("unusable-by-js") method blake2b (line 43) | byte[] blake2b(byte[] input, int outputBytes); method hash (line 45) | default CompletableFuture hash(byte[] input, boolean isRaw) { method bareHash (line 50) | default CompletableFuture bareHash(byte[] input) { method hkdfKey (line 57) | default CompletableFuture hkdfKey(byte[] ikm) { method identityHash (line 64) | default Cid identityHash(byte[] input, boolean isRaw) { FILE: src/peergos/shared/crypto/hash/NativeScryptJS.java class NativeScryptJS (line 10) | @JsType(namespace = "scryptJS", isNative = true) method hashToKeyBytes (line 13) | public native CompletableFuture hashToKeyBytes(String username... method generateProofOfWork (line 15) | public native CompletableFuture generateProofOfWork(int d... method sha256 (line 17) | public native CompletableFuture sha256(byte[] input); method hmacSha256 (line 19) | public native CompletableFuture hmacSha256(byte[] secretKey, b... method blake2b (line 21) | public native byte[] blake2b(byte[] input, int outputBytes); method streamSha256 (line 23) | public native CompletableFuture streamSha256(AsyncReader strea... method sha256FileSection (line 25) | public native CompletableFuture sha256FileSection(JSFileReader... FILE: src/peergos/shared/crypto/hash/PublicKeyHash.java class PublicKeyHash (line 8) | @JsType method PublicKeyHash (line 15) | public PublicKeyHash(Cid target) { method isSafe (line 22) | public static boolean isSafe(Multihash h) { method toBytes (line 26) | @Override method toString (line 31) | @Override method equals (line 36) | @Override method hashCode (line 41) | @Override method toCbor (line 46) | @Override method decode (line 51) | public static PublicKeyHash decode(byte[] raw) { method fromCbor (line 55) | public static PublicKeyHash fromCbor(Cborable cbor) { method fromString (line 61) | public static PublicKeyHash fromString(String cid) { FILE: src/peergos/shared/crypto/hash/ScryptJS.java class ScryptJS (line 10) | public class ScryptJS implements Hasher { method hashToKeyBytes (line 14) | @Override method generateProofOfWork (line 19) | @Override method sha256 (line 24) | @Override method hmacSha256 (line 29) | @Override method blake2b (line 34) | @Override method sha256Section (line 39) | @Override method hashFromStream (line 49) | @Override FILE: src/peergos/shared/crypto/hash/Sha256.java class Sha256 (line 54) | public class Sha256 method Sha256 (line 90) | public Sha256() method Sha256 (line 100) | private Sha256(Sha256 md) method G (line 116) | public static final int[] G(int hh0, int hh1, int hh2, int hh3, int hh4, method clone (line 122) | public Object clone() method transform (line 127) | protected void transform(byte[] in, int offset) method padBuffer (line 140) | protected byte[] padBuffer() method getResult (line 160) | protected byte[] getResult() method resetContext (line 173) | protected void resetContext() method selfTest (line 186) | public boolean selfTest() method sha (line 200) | private static synchronized final int[] sha(int hh0, int hh1, int hh2, FILE: src/peergos/shared/crypto/password/PasswordProtected.java class PasswordProtected (line 12) | public class PasswordProtected { method getDefault (line 14) | public static SecretGenerationAlgorithm getDefault() { method encryptWithPassword (line 18) | public static Cborable encryptWithPassword(byte[] cleartext, method encryptWithPassword (line 26) | public static Cborable encryptWithPassword(byte[] cleartext, method decryptWithPassword (line 51) | public static byte[] decryptWithPassword(Cborable wrappedCipherText, FILE: src/peergos/shared/crypto/random/JSNaCl.java class JSNaCl (line 7) | @JsType(namespace = "tweetNaCl", isNative = true) method randombytes (line 9) | native public byte[] randombytes(int len); method secretbox (line 11) | native public byte[] secretbox(byte[] data, byte[] nonce, byte[] key); method secretbox_open (line 12) | native public byte[] secretbox_open(byte[] cipher, byte[] nonce, byte[... method crypto_sign_open (line 14) | native public CompletableFuture crypto_sign_open(byte[] signed... method crypto_sign (line 15) | native public CompletableFuture crypto_sign(byte[] message, by... method crypto_sign_keypair (line 16) | native public byte[][] crypto_sign_keypair(byte[] pk, byte[] sk); method crypto_box_open (line 18) | native public byte[] crypto_box_open(byte[] cipher, byte[] nonce, byte... method crypto_box (line 19) | native public byte[] crypto_box(byte[] message, byte[] nonce, byte[] t... method crypto_box_keypair (line 20) | native public byte[] crypto_box_keypair(byte[] pk, byte[] sk); method generateMlkemKeyPair (line 22) | native public CompletableFuture generateMlkemKeyPair(); method encapsulate (line 23) | native public CompletableFuture encapsulate(byte[] publicKey... method decapsulate (line 24) | native public CompletableFuture decapsulate(byte[] cipherTextB... FILE: src/peergos/shared/crypto/random/SafeRandom.java type SafeRandom (line 6) | @JsType method randombytes (line 9) | void randombytes(byte[] b, int offset, int len); method randomBytes (line 11) | default byte[] randomBytes(int len) { class Javascript (line 17) | class Javascript implements SafeRandom { method randombytes (line 20) | @Override FILE: src/peergos/shared/crypto/symmetric/Salsa20Poly1305.java type Salsa20Poly1305 (line 8) | public interface Salsa20Poly1305 { method secretbox (line 10) | byte[] secretbox(byte[] data, byte[] nonce, byte[] key); method secretbox_open (line 12) | byte[] secretbox_open(byte[] cipher, byte[] nonce, byte[] key); class Javascript (line 14) | class Javascript implements Salsa20Poly1305 { method secretbox (line 17) | @Override method secretbox_open (line 22) | @Override FILE: src/peergos/shared/crypto/symmetric/SymmetricKey.java type SymmetricKey (line 13) | public interface SymmetricKey extends Cborable type Type (line 16) | enum Type { method Type (line 21) | Type(int value) { method byValue (line 26) | public static Type byValue(int val) { method addProvider (line 35) | static void addProvider(Type t, Salsa20Poly1305 provider) { method setRng (line 39) | static void setRng(Type t, SafeRandom rng) { method type (line 43) | Type type(); method getKey (line 45) | byte[] getKey(); method encrypt (line 47) | @JsMethod method decrypt (line 50) | @JsMethod method createNonce (line 53) | @JsMethod method isDirty (line 56) | @JsMethod method makeDirty (line 59) | @JsMethod method fromByteArray (line 62) | @JsMethod method toByteArray (line 67) | @JsMethod method fromCbor (line 72) | static SymmetricKey fromCbor(Cborable cbor) { method random (line 84) | @JsMethod method createNull (line 89) | static SymmetricKey createNull() { FILE: src/peergos/shared/crypto/symmetric/TweetNaClKey.java class TweetNaClKey (line 8) | public class TweetNaClKey implements SymmetricKey method TweetNaClKey (line 18) | public TweetNaClKey(byte[] secretKey, boolean isDirty, Salsa20Poly1305... method type (line 28) | public Type type() { method getKey (line 32) | public byte[] getKey() method isDirty (line 37) | public boolean isDirty() { method makeDirty (line 41) | public SymmetricKey makeDirty() { method encrypt (line 45) | public byte[] encrypt(byte[] data, byte[] nonce) method decrypt (line 50) | public byte[] decrypt(byte[] data, byte[] nonce) method encrypt (line 55) | private static byte[] encrypt(byte[] key, byte[] data, byte[] nonce, S... method decrypt (line 60) | private static byte[] decrypt(byte[] key, byte[] cipher, byte[] nonce,... method createNonce (line 65) | public byte[] createNonce() method equals (line 72) | @Override method hashCode (line 84) | @Override method toCbor (line 91) | public CborObject toCbor() { method fromCbor (line 98) | public static TweetNaClKey fromCbor(Cborable cbor, Salsa20Poly1305 pro... method random (line 106) | public static TweetNaClKey random(Salsa20Poly1305 provider, SafeRandom... FILE: src/peergos/shared/display/Content.java type Content (line 8) | public interface Content extends Cborable { method inlineText (line 10) | @JsMethod method reference (line 13) | @JsMethod method fromCbor (line 16) | static Content fromCbor(Cborable cbor) { FILE: src/peergos/shared/display/FileRef.java class FileRef (line 10) | @JsType method FileRef (line 16) | @JsConstructor method toCbor (line 25) | @Override method toJson (line 35) | public String toJson() { method fromJson (line 39) | public static FileRef fromJson(String json) { method fromCbor (line 49) | public static FileRef fromCbor(Cborable cbor) { method equals (line 60) | @Override method hashCode (line 68) | @Override FILE: src/peergos/shared/display/Reference.java class Reference (line 8) | @JsType method Reference (line 13) | public Reference(FileRef ref) { method toCbor (line 17) | @Override method inlineText (line 25) | @Override method reference (line 30) | @Override method toString (line 35) | @Override method equals (line 40) | @Override method hashCode (line 48) | @Override FILE: src/peergos/shared/display/Text.java class Text (line 8) | @JsType method Text (line 13) | public Text(String content) { method inlineText (line 17) | @Override method reference (line 22) | @Override method toCbor (line 27) | @Override method toString (line 32) | @Override method equals (line 37) | @Override method hashCode (line 45) | @Override FILE: src/peergos/shared/email/Attachment.java class Attachment (line 12) | @JsType method Attachment (line 20) | @JsConstructor method toCbor (line 30) | @Override method fromCbor (line 40) | public static Attachment fromCbor(Cborable cbor) { FILE: src/peergos/shared/email/EmailClient.java class EmailClient (line 46) | public class EmailClient { method EmailClient (line 55) | public EmailClient(App emailApp, Crypto crypto, BoxingKeyPair encrypti... method decryptEmail (line 61) | private CompletableFuture decryptEmail(SourcedAsymmetric... method decryptAttachment (line 65) | private CompletableFuture decryptAttachment(SourcedAsymmetricC... method uploadForwardedAttachments (line 69) | private CompletableFuture uploadForwardedAttachments(EmailMes... method reduceMovingForwardedAttachments (line 78) | private CompletableFuture reduceMovingForwardedAttachments(Li... method uploadAttachment (line 96) | @JsMethod method send (line 104) | @JsMethod method getNewIncoming (line 111) | @JsMethod method getNewSent (line 117) | @JsMethod method getAttachment (line 123) | @JsMethod method listFiles (line 129) | public CompletableFuture> listFiles(Path internalPa... method moveToPrivateSent (line 138) | @JsMethod method moveToPrivateInbox (line 146) | @JsMethod method reduceMovingAttachmentsToFolder (line 154) | private CompletableFuture reduceMovingAttachmentsToFolder(Lis... method moveToPrivateDir (line 180) | public CompletableFuture moveToPrivateDir(String account, Ema... method saveEmail (line 188) | private CompletableFuture saveEmail(String folder, EmailMessa... method initialise (line 200) | public static CompletableFuture initialise(Crypto crypto,... method getEmailAddress (line 216) | @JsMethod method load (line 226) | @JsMethod method connectToBridge (line 241) | @JsMethod FILE: src/peergos/shared/email/EmailMessage.java class EmailMessage (line 14) | @JsType method EmailMessage (line 36) | @JsConstructor method prepare (line 61) | public EmailMessage prepare(String generatedMsgId, String fromEmailAdd... method withAttachments (line 66) | public EmailMessage withAttachments(List suppliedAttachmen... method withError (line 71) | public EmailMessage withError(String error) { method toBytes (line 76) | public byte[] toBytes() { method toCbor (line 80) | @Override method fromCbor (line 117) | public static EmailMessage fromCbor(Cborable cbor) { FILE: src/peergos/shared/fingerprint/FingerPrint.java class FingerPrint (line 16) | public class FingerPrint implements Cborable { method FingerPrint (line 23) | public FingerPrint(byte[] ourFingerPrint, byte[] friendsFingerPrint, l... method getDisplayString (line 29) | @JsMethod method getBase64Thumbnail (line 34) | @JsMethod method generate (line 40) | public static FingerPrint generate(String ourname, method decodeFromPixels (line 54) | @JsMethod method matches (line 68) | @JsMethod method getQrCodeData (line 75) | public byte[] getQrCodeData() { method equals (line 88) | @Override method hashCode (line 98) | @Override method toCbor (line 106) | @Override method fromCbor (line 115) | public static FingerPrint fromCbor(CborObject cbor) { method fromString (line 125) | public static FingerPrint fromString(String scanned) { method calculateDisplayString (line 130) | private static String calculateDisplayString(byte[] us, byte[] friend) { method compareArrays (line 138) | private static int compareArrays(byte[] a, byte[] b) { method calculateHalfFingerprint (line 147) | private static byte[] calculateHalfFingerprint(String name, method hash (line 164) | private static byte[] hash(byte[] input, int iterations, Hasher h) { method getDisplayStringFor (line 170) | private static String getDisplayStringFor(byte[] fingerprint) { method getEncodedChunk (line 179) | private static String getEncodedChunk(byte[] hash, int offset) { method byteArray5ToLong (line 192) | private static long byteArray5ToLong(byte[] in, int start) { FILE: src/peergos/shared/hamt/Champ.java class Champ (line 21) | public class Champ implements Cborable { class KeyElement (line 25) | public static class KeyElement { method KeyElement (line 29) | public KeyElement(ByteArrayWrapper key, Optional valueHash) { method equals (line 34) | @Override method hashCode (line 43) | @Override class HashPrefixPayload (line 49) | public static class HashPrefixPayload { method HashPrefixPayload (line 53) | public HashPrefixPayload(KeyElement[] mappings, MaybeMultihash li... method HashPrefixPayload (line 60) | public HashPrefixPayload(KeyElement[] mappings) { method HashPrefixPayload (line 64) | public HashPrefixPayload(MaybeMultihash link) { method isShard (line 68) | public boolean isShard() { method keyCount (line 72) | public int keyCount() { method equals (line 76) | @Override method hashCode (line 85) | @Override method empty (line 93) | public static Champ empty(Function[] co... method withBat (line 113) | public Champ withBat(Optional newMirrorBat) { method keyCount (line 117) | private int keyCount() { method nodeCount (line 126) | private int nodeCount() { method mask (line 135) | private static int mask(byte[] hash, int depth, int nbits) { method getIndex (line 146) | private static int getIndex(BitSet bitmap, int bitpos) { method getChild (line 158) | CompletableFuture>>> getChild(Public... method size (line 166) | public CompletableFuture size(PublicKeyHash owner, int depth, Co... method hasMultipleMappings (line 188) | public boolean hasMultipleMappings() { method get (line 201) | public CompletableFuture> get(PublicKeyHash owner, ByteArr... method withMirrorBat (line 225) | private Champ withMirrorBat(Optional mirrorBat, int depth) { method put (line 247) | public CompletableFuture, Multihash>> put(PublicKeyHash ... method pushMappingsDownALevel (line 312) | private CompletableFuture, Multihash>> pushMappingsDownA... method copyAndSetValue (line 345) | private Champ copyAndSetValue(final int setIndex, final int payload... method insertIntoPrefix (line 358) | private Champ insertIntoPrefix(final int index, final ByteArrayWrap... method addNewPrefix (line 372) | private Champ addNewPrefix(final int bitpos, final ByteArrayWrapper... method copyAndMigrateFromInlineToNode (line 387) | private Champ copyAndMigrateFromInlineToNode(final int bitpos, fina... method overwriteChildLink (line 410) | private Champ overwriteChildLink(final int bitpos, final Pair, Multihash>> remove(PublicKeyHa... method removeAll (line 560) | public CompletableFuture, Multihash>> removeAll( method buildAndWrite (line 672) | private CompletableFuture, Multihash>> buildAndWrite( method collectAllMappings (line 713) | @SuppressWarnings("unchecked") method copyAndMigrateFromNodeToInline (line 723) | private Champ copyAndMigrateFromNodeToInline(final int bitpos, fina... method removeMapping (line 754) | private Champ removeMapping(final int bitpos, final int payloadInde... method reduceAllMappings (line 777) | public CompletableFuture reduceAllMappings(PublicKeyHash owner, method applyToAllMappings (line 798) | public CompletableFuture applyToAllMappings(PublicKeyHash owner, method getMappings (line 819) | private List> getMappings() { method getLinks (line 826) | private List> getLinks() { method getElement (line 832) | public static Optional> getE... method hashAndMaskKeys (line 846) | public static CompletableFuture Champ fromCbor(Cborable cbor, Fu... method fromCborList (line 919) | public static Champ fromCborList(Cborable cbor... FILE: src/peergos/shared/hamt/ChampUtil.java class ChampUtil (line 24) | public class ChampUtil { method merge (line 26) | public static CompletableFuture, Mu... method applyToDiff (line 67) | public static CompletableFuture applyToD... FILE: src/peergos/shared/hamt/ChampWrapper.java class ChampWrapper (line 19) | public class ChampWrapper implements ImmutableTree method ChampWrapper (line 31) | public ChampWrapper(Champ root, method getRoot (line 46) | public Multihash getRoot() { method create (line 50) | public static CompletableFuture> ... method create (line 64) | public static CompletableFuture> ... method get (line 85) | @Override method put (line 99) | @Override method remove (line 120) | @Override method removeAll (line 134) | public CompletableFuture removeAll( method commit (line 158) | private CompletableFuture commit(SigningPrivateKeyAndPublic... method size (line 168) | public CompletableFuture size() { method reduceAllMappings (line 177) | public CompletableFuture reduceAllMappings(PublicKeyHash owner, method applyToAllMappings (line 188) | public CompletableFuture applyToAllMappings(PublicKeyHash own... FILE: src/peergos/shared/inode/DirectoryInode.java class DirectoryInode (line 15) | public class DirectoryInode implements Cborable { method DirectoryInode (line 26) | public DirectoryInode(List children, method DirectoryInode (line 40) | public DirectoryInode(Champ children, method buildChamp (line 54) | private static Champ buildChamp(Cborable rootCbor) { method getChild (line 58) | public CompletableFuture> getChild(String name) { method hasMoreThanOneChild (line 65) | public CompletableFuture hasMoreThanOneChild() { method getChildren (line 71) | public CompletableFuture> getChildren() { method addChild (line 80) | public CompletableFuture addChild(InodeCap child, method toChampKey (line 100) | private static ByteArrayWrapper toChampKey(InodeCap val) { method removeChild (line 104) | public CompletableFuture removeChild(InodeCap child, method equals (line 119) | @Override method hashCode (line 127) | @Override method buildChamp (line 132) | public static CompletableFuture buildChamp(List { method Inode (line 11) | public Inode(long inode, PathElement name) { method Inode (line 18) | public Inode(long inode, String name) { method compareTo (line 22) | @Override method withoutCap (line 27) | public InodeCap withoutCap() { method toString (line 31) | public String toString() { method equals (line 35) | @Override method hashCode (line 44) | @Override method toCbor (line 49) | @Override method fromCbor (line 57) | public static Inode fromCbor(Cborable cbor) { FILE: src/peergos/shared/inode/InodeCap.java class InodeCap (line 8) | public class InodeCap implements Cborable { method InodeCap (line 12) | public InodeCap(Inode inode, Optional cap) { method equals (line 17) | @Override method hashCode (line 26) | @Override method toCbor (line 31) | @Override method fromCbor (line 39) | public static InodeCap fromCbor(Cborable cbor) { FILE: src/peergos/shared/inode/InodeFileSystem.java class InodeFileSystem (line 22) | public class InodeFileSystem implements Cborable { method InodeFileSystem (line 28) | public InodeFileSystem(long inodeCount, ChampWrapper c... method putValue (line 34) | private CompletableFuture putValue(PublicKeyHash owner, method remove (line 45) | private CompletableFuture remove(PublicKeyHash owner, method getValue (line 55) | private CompletableFuture> getValue(Inode key) { method addCap (line 60) | public CompletableFuture addCap(PublicKeyHash owner, method rootKey (line 74) | public static Inode rootKey() { method removeCap (line 78) | public CompletableFuture removeCap(PublicKeyHash owner, method removeCapRecurse (line 102) | private CompletableFuture> removeCapRec... method getOrMkdir (line 134) | private CompletableFuture> getOr... method addCapRecurse (line 154) | private CompletableFuture addCapRecurse(PublicKeyHash... method getByPath (line 197) | public CompletableFuture>> getByPath(S... method listDirectory (line 204) | public CompletableFuture> listDirectory(String path) { method listDirectoryRecurse (line 211) | private CompletableFuture> listDirectoryRecurse(InodeCa... method getByPathRecurse (line 229) | private CompletableFuture>> getByPathR... method getRoot (line 249) | public Multihash getRoot() { method toCbor (line 253) | @Override method build (line 261) | public static CompletableFuture build(PublicKeyHash o... method createEmpty (line 277) | public static CompletableFuture createEmpty(PublicKey... method tail (line 289) | private static String[] tail(String[] in) { FILE: src/peergos/shared/inode/PathElement.java class PathElement (line 7) | public class PathElement { method PathElement (line 10) | public PathElement(String name) { method equals (line 16) | @Override method hashCode (line 24) | @Override method toString (line 29) | public String toString() { FILE: src/peergos/shared/io/ipfs/Cid.java class Cid (line 9) | public class Cid extends Multihash { class CidEncodingException (line 13) | public static final class CidEncodingException extends RuntimeException { method CidEncodingException (line 15) | public CidEncodingException(String message) { type Codec (line 20) | public enum Codec { method Codec (line 28) | Codec(long type) { method lookup (line 38) | public static Codec lookup(long c) { method Cid (line 48) | public Cid(long version, Codec codec, Multihash.Type type, byte[] hash) { method build (line 54) | public static Cid build(long version, Codec codec, Multihash h) { method toBytesV0 (line 58) | private byte[] toBytesV0() { method toBytesV1 (line 62) | private byte[] toBytesV1() { method toBytes (line 74) | @Override method isRaw (line 83) | public boolean isRaw() { method bareMultihash (line 87) | @Override method toString (line 92) | @Override method equals (line 102) | @Override method hashCode (line 118) | @Override method buildV0 (line 128) | public static Cid buildV0(Multihash h) { method buildCidV1 (line 132) | public static Cid buildCidV1(Codec c, Multihash.Type type, byte[] hash) { method decode (line 136) | public static Cid decode(String v) { method decodePeerId (line 148) | public static Cid decodePeerId(String peerId) { method cast (line 157) | public static Cid cast(byte[] data) { FILE: src/peergos/shared/io/ipfs/MultiAddress.java class MultiAddress (line 7) | public class MultiAddress method MultiAddress (line 11) | public MultiAddress(Multihash hash) { method MultiAddress (line 15) | public MultiAddress(String address) { method MultiAddress (line 19) | public MultiAddress(byte[] raw) { method getBytes (line 24) | public byte[] getBytes() { method isTCPIP (line 28) | public boolean isTCPIP() { method getHost (line 39) | public String getHost() { method getTCPPort (line 46) | public int getTCPPort() { method decodeFromString (line 53) | private static byte[] decodeFromString(String addr) { method encodeToString (line 81) | private static String encodeToString(byte[] raw) { method toString (line 105) | @Override method equals (line 110) | @Override method hashCode (line 117) | @Override FILE: src/peergos/shared/io/ipfs/Multihash.java class Multihash (line 14) | @JsType type Type (line 19) | @JsType method Type (line 30) | Type(int index, int length) { method lookup (line 41) | public static Type lookup(int t) { method Multihash (line 51) | @JsConstructor method isIdentity (line 64) | public boolean isIdentity() { method bareMultihash (line 68) | public Multihash bareMultihash() { method decode (line 72) | public static Multihash decode(byte[] multihash) { method compareTo (line 75) | @Override method toBytes (line 88) | public byte[] toBytes() { method getHash (line 100) | public byte[] getHash() { method serializeObj (line 103) | @SuppressWarnings("unusable-by-js") method deserializeObj (line 113) | @SuppressWarnings("unusable-by-js") method toString (line 130) | @Override method equals (line 135) | @Override method hashCode (line 142) | @Override method toBase58 (line 147) | public String toBase58() { method fromBase58 (line 151) | public static Multihash fromBase58(String base58) { method readVarint (line 155) | @JsIgnore method putUvarint (line 174) | @JsIgnore FILE: src/peergos/shared/io/ipfs/Protocol.java class Protocol (line 9) | public class Protocol { type Type (line 13) | enum Type { method Type (line 46) | Type(int code, int size, String name) { method encode (line 53) | static byte[] encode(int code) { method Protocol (line 62) | public Protocol(Type type) { method appendCode (line 66) | public void appendCode(OutputStream out) throws IOException { method isTerminal (line 70) | public boolean isTerminal() { method size (line 74) | public int size() { method name (line 78) | public String name() { method code (line 82) | public int code() { method toString (line 86) | @Override method addressToBytes (line 91) | public byte[] addressToBytes(String addr) { method readAddress (line 234) | public String readAddress(InputStream in) throws IOException { method read (line 296) | private static void read(InputStream in, byte[] b) throws IOException { method read (line 300) | private static void read(InputStream in, byte[] b, int offset, int len... method sizeForAddress (line 309) | public int sizeForAddress(InputStream in) throws IOException { method putUvarint (line 317) | static int putUvarint(byte[] buf, long x) { method readVarint (line 328) | static long readVarint(InputStream in) throws IOException { method get (line 359) | public static Protocol get(String name) { method get (line 365) | public static Protocol get(int code) { FILE: src/peergos/shared/io/ipfs/api/JSONParser.java class JSONParser (line 7) | public class JSONParser method skipSpaces (line 9) | private static char skipSpaces(String json, int[] pos) method parseBoolean (line 23) | private static Boolean parseBoolean(String json, int[] pos) method parseNumber (line 40) | private static Number parseNumber(String json, int[] pos) method parseArray (line 116) | private static List parseArray(String json, int[] pos) method parseObject (line 147) | private static Map parseObject(String json, int[] pos) method parseString (line 187) | private static String parseString(String json, int[] pos) method parse (line 219) | private static Object parse(String json, int[] pos) method parse (line 257) | public static Object parse(Object json) method parse (line 264) | public static Object parse(String json) method parseStream (line 271) | public static List parseStream(String json) method escapeString (line 283) | private static void escapeString(String s, StringBuffer buf) method toString (line 296) | private static void toString(Object obj, StringBuffer buf) method toString (line 376) | public static String toString(Object obj) method stripWhitespace (line 383) | public static String stripWhitespace(String src) method getValue (line 416) | public static Object getValue(Object json, String path) FILE: src/peergos/shared/io/ipfs/api/MerkleNode.java class MerkleNode (line 9) | public class MerkleNode { method MerkleNode (line 17) | public MerkleNode(String hash) { method MerkleNode (line 21) | public MerkleNode(String hash, Optional name) { method MerkleNode (line 25) | public MerkleNode(String hash, Optional name, Optional getName(); method isDirectory (line 13) | boolean isDirectory(); method getContents (line 15) | default byte[] getContents() throws IOException { class NativeFile (line 25) | class NativeFile implements NamedStreamable { method NativeFile (line 29) | public NativeFile(String relativePath, File source) { method NativeFile (line 34) | public NativeFile(File source) { method getInputStream (line 38) | public InputStream getInputStream() throws IOException { method isDirectory (line 42) | public boolean isDirectory() { method getFile (line 46) | public File getFile() { method getName (line 50) | public Optional getName() { class ByteArrayWrapper (line 59) | class ByteArrayWrapper implements NamedStreamable { method ByteArrayWrapper (line 63) | public ByteArrayWrapper(byte[] data) { method ByteArrayWrapper (line 67) | public ByteArrayWrapper(String name, byte[] data) { method ByteArrayWrapper (line 71) | public ByteArrayWrapper(Optional name, byte[] data) { method isDirectory (line 76) | public boolean isDirectory() { method getInputStream (line 80) | public InputStream getInputStream() throws IOException { method getName (line 84) | public Optional getName() { FILE: src/peergos/shared/io/ipfs/api/Peer.java class Peer (line 10) | public class Peer { method Peer (line 17) | public Peer(MultiAddress address, Multihash id, long latency, String m... method fromJSON (line 25) | public static Peer fromJSON(Object json) { FILE: src/peergos/shared/io/ipfs/bases/Base16.java class Base16 (line 5) | public class Base16 { method decode (line 6) | public static byte[] decode(String hex) method encode (line 14) | public static String encode(byte[] data) FILE: src/peergos/shared/io/ipfs/bases/Base32.java class Base32 (line 46) | public class Base32 extends BaseNCodec { method Base32 (line 166) | public Base32() { method Base32 (line 177) | public Base32(final byte pad) { method Base32 (line 188) | public Base32(final boolean useHex) { method Base32 (line 200) | public Base32(final boolean useHex, final byte pad) { method Base32 (line 215) | public Base32(final int lineLength) { method Base32 (line 237) | public Base32(final int lineLength, final byte[] lineSeparator) { method Base32 (line 262) | public Base32(final int lineLength, final byte[] lineSeparator, final ... method Base32 (line 288) | public Base32(final int lineLength, final byte[] lineSeparator, final ... method decode (line 343) | @Override method encode (line 438) | @Override method isInAlphabet (line 542) | @Override FILE: src/peergos/shared/io/ipfs/bases/Base36.java class Base36 (line 5) | public class Base36 { method decode (line 7) | public static byte[] decode(String in) { method encode (line 15) | public static String encode(byte[] in) { method zeroPrefixLength (line 25) | private static int zeroPrefixLength(byte[] bytes) { method zeroPrefixLength (line 34) | private static int zeroPrefixLength(String in) { FILE: src/peergos/shared/io/ipfs/bases/Base58.java class Base58 (line 46) | public class Base58 { method encode (line 63) | public static String encode(byte[] input) { method decode (line 99) | public static byte[] decode(String input) { method decodeToBigInteger (line 135) | public static BigInteger decodeToBigInteger(String input) { method divmod (line 151) | private static byte divmod(byte[] number, int firstDigit, int base, in... FILE: src/peergos/shared/io/ipfs/bases/Base64.java class Base64 (line 56) | public class Base64 extends BaseNCodec { method Base64 (line 176) | public Base64() { method Base64 (line 195) | public Base64(final boolean urlSafe) { method Base64 (line 218) | public Base64(final int lineLength) { method Base64 (line 245) | public Base64(final int lineLength, final byte[] lineSeparator) { method Base64 (line 276) | public Base64(final int lineLength, final byte[] lineSeparator, final ... method isUrlSafe (line 309) | public boolean isUrlSafe() { method encode (line 334) | @Override method decode (line 431) | @Override method isArrayByteBase64 (line 499) | @Deprecated method isBase64 (line 512) | public static boolean isBase64(final byte octet) { method isBase64 (line 526) | public static boolean isBase64(final String base64) { method isBase64 (line 540) | public static boolean isBase64(final byte[] arrayOctet) { method encodeBase64 (line 556) | public static byte[] encodeBase64(final byte[] binaryData) { method encodeBase64String (line 571) | public static String encodeBase64String(final byte[] binaryData) { method encodeBase64URLSafe (line 584) | public static byte[] encodeBase64URLSafe(final byte[] binaryData) { method encodeBase64URLSafeString (line 597) | public static String encodeBase64URLSafeString(final byte[] binaryData) { method encodeBase64Chunked (line 608) | public static byte[] encodeBase64Chunked(final byte[] binaryData) { method encodeBase64 (line 623) | public static byte[] encodeBase64(final byte[] binaryData, final boole... method encodeBase64 (line 642) | public static byte[] encodeBase64(final byte[] binaryData, final boole... method encodeBase64 (line 663) | public static byte[] encodeBase64(final byte[] binaryData, final boole... method decodeBase64 (line 694) | public static byte[] decodeBase64(final String base64String) { method decodeBase64 (line 708) | public static byte[] decodeBase64(final byte[] base64Data) { method decodeInteger (line 723) | public static BigInteger decodeInteger(final byte[] pArray) { method encodeInteger (line 737) | public static byte[] encodeInteger(final BigInteger bigInt) { method toIntegerBytes (line 751) | static byte[] toIntegerBytes(final BigInteger bigInt) { method isInAlphabet (line 782) | @Override FILE: src/peergos/shared/io/ipfs/bases/BaseNCodec.java class BaseNCodec (line 31) | public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder { class Context (line 40) | static class Context { method Context (line 87) | Context() {} method BaseNCodec (line 171) | protected BaseNCodec(final int unencodedBlockSize, final int encodedBl... method BaseNCodec (line 185) | protected BaseNCodec(final int unencodedBlockSize, final int encodedBl... method hasData (line 202) | boolean hasData(final Context context) { // package protected for acc... method available (line 212) | int available(final Context context) { // package protected for acces... method getDefaultBufferSize (line 221) | protected int getDefaultBufferSize() { method resizeBuffer (line 229) | private byte[] resizeBuffer(final Context context) { method ensureBufferSize (line 249) | protected byte[] ensureBufferSize(final int size, final Context context){ method readResults (line 272) | int readResults(final byte[] b, final int bPos, final int bAvail, fina... method isWhiteSpace (line 292) | protected static boolean isWhiteSpace(final byte byteToCheck) { method encode (line 314) | @Override method encodeToString (line 330) | public String encodeToString(final byte[] pArray) { method encodeAsString (line 343) | public String encodeAsString(final byte[] pArray){ method decode (line 358) | @Override method decode (line 376) | public byte[] decode(final String pArray) { method decode (line 387) | @Override method encode (line 407) | @Override method encode (line 428) | public byte[] encode(final byte[] pArray, final int offset, final int ... method encode (line 441) | abstract void encode(byte[] pArray, int i, int length, Context context); method decode (line 444) | abstract void decode(byte[] pArray, int i, int length, Context context); method isInAlphabet (line 454) | protected abstract boolean isInAlphabet(byte value); method isInAlphabet (line 466) | public boolean isInAlphabet(final byte[] arrayOctet, final boolean all... method isInAlphabet (line 485) | public boolean isInAlphabet(final String basen) { method containsAlphabetOrPad (line 498) | protected boolean containsAlphabetOrPad(final byte[] arrayOctet) { method getEncodedLength (line 518) | public long getEncodedLength(final byte[] pArray) { FILE: src/peergos/shared/io/ipfs/bases/BinaryDecoder.java type BinaryDecoder (line 25) | public interface BinaryDecoder extends Decoder { method decode (line 36) | byte[] decode(byte[] source) throws DecoderException; FILE: src/peergos/shared/io/ipfs/bases/BinaryEncoder.java type BinaryEncoder (line 25) | public interface BinaryEncoder extends Encoder { method encode (line 36) | byte[] encode(byte[] source) throws EncoderException; FILE: src/peergos/shared/io/ipfs/bases/CharEncoding.java class CharEncoding (line 58) | public class CharEncoding { FILE: src/peergos/shared/io/ipfs/bases/Charsets.java class Charsets (line 59) | public class Charsets { FILE: src/peergos/shared/io/ipfs/bases/Decoder.java type Decoder (line 30) | public interface Decoder { method decode (line 45) | Object decode(Object source) throws DecoderException; FILE: src/peergos/shared/io/ipfs/bases/DecoderException.java class DecoderException (line 26) | public class DecoderException extends Exception { method DecoderException (line 41) | public DecoderException() { method DecoderException (line 52) | public DecoderException(final String message) { method DecoderException (line 69) | public DecoderException(final String message, final Throwable cause) { method DecoderException (line 83) | public DecoderException(final Throwable cause) { FILE: src/peergos/shared/io/ipfs/bases/Encoder.java type Encoder (line 29) | public interface Encoder { method encode (line 42) | Object encode(Object source) throws EncoderException; FILE: src/peergos/shared/io/ipfs/bases/EncoderException.java class EncoderException (line 27) | public class EncoderException extends Exception { method EncoderException (line 42) | public EncoderException() { method EncoderException (line 53) | public EncoderException(final String message) { method EncoderException (line 72) | public EncoderException(final String message, final Throwable cause) { method EncoderException (line 86) | public EncoderException(final Throwable cause) { FILE: src/peergos/shared/io/ipfs/bases/Multibase.java class Multibase (line 5) | public class Multibase { type Base (line 7) | public enum Base { method Base (line 25) | Base(char prefix) { method lookup (line 35) | public static Base lookup(char p) { method encode (line 42) | public static String encode(Base b, byte[] data) { method encoding (line 67) | public static Base encoding(String data) { method decode (line 71) | public static byte[] decode(String data) { FILE: src/peergos/shared/io/ipfs/bases/StringUtils.java class StringUtils (line 34) | public class StringUtils { method getBytes (line 45) | private static byte[] getBytes(final String string, final Charset char... method getBytesUtf8 (line 65) | public static byte[] getBytesUtf8(final String string) { method newString (line 81) | private static String newString(final byte[] bytes, final Charset char... method newStringUsAscii (line 97) | public static String newStringUsAscii(final byte[] bytes) { method newStringUtf8 (line 113) | public static String newStringUtf8(final byte[] bytes) { FILE: src/peergos/shared/login/LoginCache.java type LoginCache (line 8) | public interface LoginCache { method setLoginData (line 10) | CompletableFuture setLoginData(LoginData login); method removeLoginData (line 12) | CompletableFuture removeLoginData(String username); method getEntryData (line 14) | CompletableFuture getEntryData(String username, Public... FILE: src/peergos/shared/login/LoginResponse.java class LoginResponse (line 11) | public class LoginResponse implements Cborable { method LoginResponse (line 15) | public LoginResponse(Either re... method toCbor (line 19) | @Override method fromCbor (line 27) | public static LoginResponse fromCbor(Cborable cbor) { FILE: src/peergos/shared/login/OfflineAccountStore.java class OfflineAccountStore (line 12) | public class OfflineAccountStore implements Account { method OfflineAccountStore (line 18) | public OfflineAccountStore(Account target, LoginCache local, OnlineSta... method setLoginData (line 24) | @Override method getLoginData (line 33) | @Override method getSecondAuthMethods (line 73) | @Override method enableTotpFactor (line 78) | @Override method registerSecurityKeyStart (line 83) | @Override method registerSecurityKeyComplete (line 88) | @Override method deleteSecondFactor (line 93) | @Override method addTotpFactor (line 98) | @Override FILE: src/peergos/shared/login/mfa/MultiFactorAuthMethod.java class MultiFactorAuthMethod (line 9) | @JsType type Type (line 14) | @JsType method Type (line 22) | Type(int value, boolean hasChallengeValue) { method byValue (line 28) | public static Type byValue(int val) { method MultiFactorAuthMethod (line 39) | public MultiFactorAuthMethod(String name, byte[] credentialId, LocalDa... method toCbor (line 49) | @Override method fromCbor (line 60) | public static MultiFactorAuthMethod fromCbor(Cborable cbor) { method toString (line 71) | @Override FILE: src/peergos/shared/login/mfa/MultiFactorAuthRequest.java class MultiFactorAuthRequest (line 8) | @JsType method MultiFactorAuthRequest (line 14) | public MultiFactorAuthRequest(List methods, byt... method toCbor (line 19) | @Override method fromCbor (line 27) | public static MultiFactorAuthRequest fromCbor(Cborable cbor) { FILE: src/peergos/shared/login/mfa/MultiFactorAuthResponse.java class MultiFactorAuthResponse (line 9) | @JsType method MultiFactorAuthResponse (line 14) | public MultiFactorAuthResponse(byte[] credentialId, Either getAdmins() { method host (line 56) | public Member host() { method getMember (line 60) | public Member getMember(Id id) { method getMember (line 64) | public Member getMember(String username) { method sendMessage (line 71) | public CompletableFuture sendMessage(Message body, method sendMessage (line 88) | private CompletableFuture sendMessage(Message body, method getRecent (line 102) | public synchronized List getRecent() { method withMembers (line 106) | private Chat withMembers(Map updated) { method withTime (line 110) | private Chat withTime(TreeClock newTime) { method withHost (line 114) | private Chat withHost(Id host) { method withProperties (line 118) | private Chat withProperties(Map updated) { method addToRecent (line 122) | private Chat addToRecent(MessageEnvelope m) { method generateChatIdentity (line 130) | public static PrivateChatState generateChatIdentity(Crypto crypto) { method applyMessage (line 142) | public CompletableFuture applyMessage(SignedMessage signed, method merge (line 255) | public CompletableFuture merge(String chatUid, method mergeMessage (line 270) | private CompletableFuture mergeMessage(String chatUid, method incrementHost (line 294) | private Chat incrementHost(Member source) { method mergeMessageTimestamp (line 300) | private Chat mergeMessageTimestamp(TreeClock timestamp, Member source) { method join (line 308) | public CompletableFuture join(Member host, method copy (line 319) | public Chat copy(Member host) { method inviteMember (line 328) | public CompletableFuture inviteMember(String username, method inviteMembers (line 338) | public CompletableFuture inviteMembers(List userna... method toCbor (line 362) | @Override method fromCbor (line 377) | public static Chat fromCbor(Cborable cbor) { method createNew (line 391) | public static Chat createNew(String uid, String username, PublicKeyHas... method createNew (line 401) | public static List createNew(String uid, List usernames,... method equals (line 419) | @Override method hashCode (line 432) | @Override FILE: src/peergos/shared/messaging/ChatController.java class ChatController (line 20) | public class ChatController { method ChatController (line 35) | public ChatController(String chatUuid, method host (line 52) | public Member host() { method getMember (line 56) | public Member getMember(String username) { method getUsername (line 60) | @JsMethod method getMemberNames (line 65) | @JsMethod method getPendingMemberNames (line 74) | @JsMethod method with (line 83) | public ChatController with(PrivateChatState priv) { method deletedMemberNames (line 87) | @JsMethod method getRecent (line 92) | @JsMethod method getMessageFromRef (line 97) | @JsMethod method generateHash (line 110) | @JsMethod method hashMessage (line 117) | private CompletableFuture hashMessage(MessageEnvelope m) { method getMessages (line 125) | @JsMethod method sendMessage (line 131) | @JsMethod method getGroupProperty (line 137) | @JsMethod method hasGroupProperty (line 142) | @JsMethod method getTitle (line 147) | @JsMethod method getAdmins (line 152) | @JsMethod method isAdmin (line 157) | @JsMethod method withState (line 162) | private ChatController withState(Chat c) { method withStore (line 166) | private ChatController withStore(MessageStore newStore) { method withRoot (line 170) | private ChatController withRoot(FileWrapper root) { method join (line 174) | public CompletableFuture join(SigningPrivateKeyAndPubl... method addAdmin (line 180) | @JsMethod method removeAdmin (line 190) | @JsMethod method invite (line 203) | public CompletableFuture invite(List usernames, method mergeMessages (line 209) | public CompletableFuture mergeMessages(String username, method copyFile (line 215) | private CompletableFuture copyFile(FileWrapper dir, Path sou... method getChatMediaDir (line 228) | private Path getChatMediaDir(ChatController current) { method mirrorMedia (line 235) | private CompletableFuture mirrorMedia(FileRef ref, ChatContr... method overwriteState (line 252) | private CompletableFuture overwriteState(FileWrapper root, C... method applyAndCommit (line 258) | private CompletableFuture applyAndCommit(Function> commitUpdate... method commitPrivateState (line 293) | private static CompletableFuture commitPrivateState(Optional... method getSharedLogAndIndex (line 309) | private static CompletableFuture> getSh... method getChatMessageStore (line 315) | public static CompletableFuture getChatMessageStore(File... method getChatState (line 325) | public static CompletableFuture getChatState(FileWrapper chatSha... method getPrivateChatState (line 330) | private static CompletableFuture getPrivateChatState... method getChatController (line 335) | public static CompletableFuture getChatController(File... FILE: src/peergos/shared/messaging/ChatUpdate.java class ChatUpdate (line 7) | public class ChatUpdate { method ChatUpdate (line 14) | public ChatUpdate(Chat state, method isEmpty (line 26) | public boolean isEmpty() { method ChatUpdate (line 30) | public ChatUpdate(Chat state, method apply (line 37) | public ChatUpdate apply(ChatUpdate next) { method withState (line 47) | public ChatUpdate withState(Chat c) { method empty (line 51) | public static ChatUpdate empty(Chat c) { FILE: src/peergos/shared/messaging/FileBackedMessageStore.java class FileBackedMessageStore (line 14) | public class FileBackedMessageStore implements MessageStore { method FileBackedMessageStore (line 24) | public FileBackedMessageStore(FileWrapper messages, method getChunkByteOffset (line 38) | private CompletableFuture> getChunkByteOffset(long... method findOffset (line 46) | private CompletableFuture> findOffset(AsyncReader r, method getMessagesFrom (line 74) | @Override method getMessages (line 85) | @Override method addMessages (line 96) | @Override method revokeAccess (line 138) | @Override FILE: src/peergos/shared/messaging/GroupProperty.java class GroupProperty (line 7) | public class GroupProperty implements Cborable { method GroupProperty (line 15) | public GroupProperty(Id author, TreeClock updateTimestamp, String valu... method toCbor (line 21) | @Override method fromCbor (line 30) | public static GroupProperty fromCbor(Cborable cbor) { method equals (line 42) | @Override method hashCode (line 52) | @Override FILE: src/peergos/shared/messaging/Id.java class Id (line 14) | public final class Id implements Comparable, Cborable { method Id (line 18) | public Id(int[] id) { method Id (line 22) | public Id(int counter) { method creator (line 26) | public static Id creator() { method fork (line 30) | public Id fork(int counter) { method parent (line 37) | public Id parent() { method compareTo (line 41) | @Override method toCbor (line 46) | @Override method fromCbor (line 53) | public static Id fromCbor(Cborable cbor) { method toString (line 63) | @Override method hashCode (line 68) | @Override method equals (line 73) | @Override method compare (line 80) | private static int compare(int[] a, int[] b) { method mismatch (line 91) | private static int mismatch(int[] a, int[] b, int length) { FILE: src/peergos/shared/messaging/Member.java class Member (line 9) | public class Member implements Cborable { method Member (line 18) | public Member(String username, method Member (line 34) | public Member(String username, Id id, PublicKeyHash identity, long mes... method incrementInvited (line 38) | public Member incrementInvited() { method incrementMessages (line 42) | public Member incrementMessages() { method removed (line 46) | public Member removed(boolean updated) { method withChatId (line 50) | public Member withChatId(OwnerProof proof) { method copy (line 54) | public Member copy() { method toCbor (line 58) | @Override method fromCbor (line 71) | public static Member fromCbor(Cborable cbor) { method equals (line 86) | @Override method hashCode (line 100) | @Override FILE: src/peergos/shared/messaging/MessageEnvelope.java class MessageEnvelope (line 10) | @JsType method MessageEnvelope (line 21) | public MessageEnvelope(Id author, method toCbor (line 33) | @Override method fromCbor (line 44) | public static MessageEnvelope fromCbor(Cborable cbor) { method parseUtcMillis (line 56) | private static LocalDateTime parseUtcMillis(long millis) { method toString (line 60) | @Override method equals (line 65) | @Override method hashCode (line 77) | @Override FILE: src/peergos/shared/messaging/MessageRef.java class MessageRef (line 8) | @JsType method MessageRef (line 13) | public MessageRef(Multihash envelopeHash) { method toCbor (line 17) | @Override method fromCbor (line 24) | public static MessageRef fromCbor(Cborable cbor) { method toString (line 32) | @Override method equals (line 37) | @Override method hashCode (line 45) | @Override FILE: src/peergos/shared/messaging/MessageStore.java type MessageStore (line 8) | public interface MessageStore { method getMessagesFrom (line 10) | CompletableFuture> getMessagesFrom(long index); method getMessages (line 12) | CompletableFuture> getMessages(long fromIndex, lon... method addMessages (line 14) | CompletableFuture addMessages(Snapshot initialVersion, Commi... method revokeAccess (line 16) | CompletableFuture revokeAccess(Set usernames, Snapsh... FILE: src/peergos/shared/messaging/Messenger.java class Messenger (line 31) | public class Messenger { method Messenger (line 40) | @JsConstructor method createChat (line 48) | @JsMethod method createAppChat (line 53) | @JsMethod method initChat (line 58) | private CompletableFuture initChat(String appName) { method createChatRoot (line 90) | private CompletableFuture createChatRoot(String chatId) { method getChatPath (line 97) | public static Path getChatPath(String hostUsername, String chatId) { method getChatSharedDir (line 101) | private Path getChatSharedDir(String chatUid) { method invite (line 105) | @JsMethod method cloneLocallyAndJoin (line 118) | @JsMethod method updatePrivateState (line 156) | private CompletableFuture updatePrivateState(PrivateCh... method allOtherMembersRemoved (line 167) | public boolean allOtherMembersRemoved(ChatController current) { method mergeMessages (line 172) | @JsMethod method mergeAllUpdates (line 200) | @JsMethod method removeMember (line 216) | @JsMethod method sendMessage (line 227) | @JsMethod method uploadMedia (line 232) | @JsMethod method getChatMediaDir (line 248) | private Path getChatMediaDir(ChatController current) { method getOrMkdirToStoreMedia (line 255) | private CompletableFuture> getOrMkdirToStoreMe... method setGroupProperty (line 265) | @JsMethod method getChat (line 270) | @JsMethod method deleteChat (line 277) | @JsMethod method listChats (line 287) | @JsMethod method getMessageStoreMirror (line 302) | private CompletableFuture getMessageStoreMirror(String u... FILE: src/peergos/shared/messaging/PrivateChatState.java class PrivateChatState (line 10) | public class PrivateChatState implements Cborable { method PrivateChatState (line 16) | public PrivateChatState(SigningPrivateKeyAndPublicHash chatIdentity, method addDeleted (line 24) | public PrivateChatState addDeleted(String username) { method apply (line 30) | public PrivateChatState apply(PrivateChatState newer) { method toCbor (line 36) | @Override method fromCbor (line 49) | public static PrivateChatState fromCbor(Cborable cbor) { FILE: src/peergos/shared/messaging/SignedMessage.java class SignedMessage (line 7) | public final class SignedMessage implements Cborable { method SignedMessage (line 11) | public SignedMessage(byte[] signature, MessageEnvelope msg) { method toCbor (line 16) | @Override method fromCbor (line 21) | public static SignedMessage fromCbor(Cborable cbor) { method toString (line 30) | @Override method equals (line 35) | @Override method hashCode (line 43) | @Override FILE: src/peergos/shared/messaging/TreeClock.java class TreeClock (line 11) | public class TreeClock implements Cborable { method TreeClock (line 15) | public TreeClock(SortedMap time) { method merge (line 19) | public TreeClock merge(TreeClock other) { method isBeforeOrEqual (line 28) | public boolean isBeforeOrEqual(TreeClock b) { method hasGreaterCounterThan (line 36) | public boolean hasGreaterCounterThan(TreeClock b) { method isConcurrentWith (line 44) | public boolean isConcurrentWith(TreeClock b) { method removeMember (line 48) | public TreeClock removeMember(Id remover, Id toRemove) { method newMembersFrom (line 55) | public Set newMembersFrom(TreeClock other) { method withMember (line 61) | public TreeClock withMember(Id member) { method hasId (line 67) | public boolean hasId(Id member) { method getEventCounter (line 71) | public long getEventCounter(Id member) { method isIncrementOf (line 78) | public boolean isIncrementOf(TreeClock parent) { method increment (line 102) | public TreeClock increment(Id member) { method init (line 109) | public static TreeClock init(List members) { method toCbor (line 117) | @Override method fromCbor (line 128) | public static TreeClock fromCbor(Cborable cbor) { method toString (line 140) | @Override method equals (line 147) | @Override method hashCode (line 155) | @Override FILE: src/peergos/shared/messaging/messages/ApplicationMessage.java class ApplicationMessage (line 10) | @JsType method ApplicationMessage (line 14) | public ApplicationMessage(List body) { method toString (line 18) | @Override method type (line 23) | @Override method toCbor (line 28) | @Override method fromCbor (line 36) | public static ApplicationMessage fromCbor(Cborable cbor) { method equals (line 45) | @Override method hashCode (line 53) | @Override method text (line 58) | public static ApplicationMessage text(String text) { method attachment (line 62) | public static ApplicationMessage attachment(String text, List... FILE: src/peergos/shared/messaging/messages/DeleteMessage.java class DeleteMessage (line 14) | @JsType method DeleteMessage (line 19) | public DeleteMessage(MessageRef target) { method type (line 23) | @Override method toCbor (line 28) | @Override method fromCbor (line 36) | public static DeleteMessage fromCbor(Cborable cbor) { method build (line 45) | public static CompletableFuture build(MessageEnvelope t... method equals (line 50) | @Override method hashCode (line 58) | @Override FILE: src/peergos/shared/messaging/messages/EditMessage.java class EditMessage (line 14) | @JsType method EditMessage (line 20) | public EditMessage(MessageRef priorVersion, ApplicationMessage content) { method type (line 25) | @Override method toCbor (line 30) | @Override method fromCbor (line 39) | public static EditMessage fromCbor(Cborable cbor) { method build (line 49) | public static CompletableFuture build(MessageEnvelope pri... method equals (line 54) | @Override method hashCode (line 63) | @Override FILE: src/peergos/shared/messaging/messages/Invite.java class Invite (line 9) | public class Invite implements Message { method Invite (line 14) | public Invite(String username, PublicKeyHash identity, Id recipientId) { method type (line 20) | @Override method toCbor (line 25) | @Override method fromCbor (line 35) | public static Invite fromCbor(Cborable cbor) { method toString (line 45) | @Override method equals (line 50) | @Override method hashCode (line 60) | @Override FILE: src/peergos/shared/messaging/messages/Join.java class Join (line 11) | public class Join implements Message { method Join (line 17) | public Join(String username, PublicKeyHash identity, OwnerProof chatId... method type (line 24) | @Override method toCbor (line 29) | @Override method fromCbor (line 40) | public static Join fromCbor(Cborable cbor) { method toString (line 51) | @Override method equals (line 56) | @Override method hashCode (line 67) | @Override FILE: src/peergos/shared/messaging/messages/Message.java type Message (line 7) | @JsType method type (line 10) | Type type(); method fromCbor (line 12) | static Message fromCbor(Cborable cbor) { type Type (line 32) | @JsType method Type (line 45) | Type(int value) { method byValue (line 50) | public static Type byValue(int val) { FILE: src/peergos/shared/messaging/messages/RemoveMember.java class RemoveMember (line 14) | @JsType method RemoveMember (line 20) | public RemoveMember(String chatUid, Id memberToRemove) { method type (line 25) | @Override method toCbor (line 30) | @Override method fromCbor (line 39) | public static RemoveMember fromCbor(Cborable cbor) { method equals (line 49) | @Override method hashCode (line 57) | @Override FILE: src/peergos/shared/messaging/messages/ReplyTo.java class ReplyTo (line 14) | @JsType method ReplyTo (line 20) | public ReplyTo(MessageRef parent, ApplicationMessage content) { method type (line 25) | @Override method toCbor (line 30) | @Override method fromCbor (line 39) | public static ReplyTo fromCbor(Cborable cbor) { method build (line 49) | public static CompletableFuture build(MessageEnvelope parent,... method equals (line 54) | @Override method hashCode (line 63) | @Override FILE: src/peergos/shared/messaging/messages/SetGroupState.java class SetGroupState (line 13) | @JsType method SetGroupState (line 18) | public SetGroupState(String key, String value) { method type (line 23) | @Override method toCbor (line 28) | @Override method fromCbor (line 37) | public static SetGroupState fromCbor(Cborable cbor) { method toString (line 47) | @Override method equals (line 52) | @Override method hashCode (line 60) | @Override FILE: src/peergos/shared/mutable/BufferedPointers.java class BufferedPointers (line 14) | public class BufferedPointers implements MutablePointers { class WriterUpdate (line 16) | public static class WriterUpdate { method WriterUpdate (line 22) | public WriterUpdate(PublicKeyHash writer, MaybeMultihash prevHash, M... method toString (line 29) | @Override method BufferedPointers (line 42) | public BufferedPointers(MutablePointers target) { method isBufferedWrite (line 48) | public boolean isBufferedWrite(PublicKeyHash writer, MaybeMultihash ta... method getCommittedPointerTarget (line 57) | public Optional, Optional>> getCommittedPoint... method getUpdates (line 71) | public List getUpdates() { method getSigners (line 77) | public Map getSigners() { method addWrite (line 81) | public PointerUpdate addWrite(SigningPrivateKeyAndPublicHash w, method isEmpty (line 108) | public boolean isEmpty() { method getPointerTarget (line 114) | @Override method getPointer (line 123) | @Override method setPointer (line 128) | @Override method setPointer (line 134) | @Override method setPointers (line 139) | @Override method getRoots (line 144) | public List getRoots() { method commit (line 153) | public CompletableFuture commit(PublicKeyHash owner, method clearCache (line 165) | @Override method recordCommitted (line 170) | public void recordCommitted(List updates) { method clear (line 174) | public void clear() { FILE: src/peergos/shared/mutable/CachingPointers.java class CachingPointers (line 11) | public class CachingPointers implements MutablePointers { method CachingPointers (line 18) | public CachingPointers(MutablePointers target, int cacheTTL) { method getPointer (line 23) | @Override method getPointerTarget (line 38) | @Override method setPointer (line 56) | @Override method setPointer (line 69) | @Override method setPointers (line 87) | @Override method clearCache (line 105) | @Override FILE: src/peergos/shared/mutable/HttpMutablePointers.java class HttpMutablePointers (line 15) | public class HttpMutablePointers implements MutablePointersProxy { method disableLog (line 17) | public static void disableLog() { method HttpMutablePointers (line 26) | public HttpMutablePointers(HttpPoster direct, HttpPoster p2p) method HttpMutablePointers (line 38) | public HttpMutablePointers(HttpPoster p2p, Multihash targetNodeID) method getProxyUrlPrefix (line 46) | private static String getProxyUrlPrefix(Multihash targetId) { method setPointer (line 50) | @Override method setPointer (line 57) | @Override method setPointer (line 65) | private CompletableFuture setPointer(String urlPrefix, method getPointer (line 88) | @Override method getPointer (line 93) | @Override method getPointer (line 98) | public CompletableFuture> getPointer(String urlPrefix... method setPointers (line 113) | @Override method setPointers (line 118) | @Override method setPointers (line 123) | private CompletableFuture setPointers(String urlPrefix, method clearCache (line 138) | @Override FILE: src/peergos/shared/mutable/MultiWriterCommit.java class MultiWriterCommit (line 10) | public class MultiWriterCommit implements Cborable { method MultiWriterCommit (line 13) | public MultiWriterCommit(List updates) { method toCbor (line 17) | @Override method fromCbor (line 24) | public static MultiWriterCommit fromCbor(Cborable cbor) { FILE: src/peergos/shared/mutable/MutablePointers.java type MutablePointers (line 17) | public interface MutablePointers { method setPointer (line 26) | CompletableFuture setPointer(PublicKeyHash owner, PublicKeyHa... method setPointers (line 31) | CompletableFuture setPointers(PublicKeyHash owner, List setPointer(PublicKeyHash owner, Sig... method getPointer (line 43) | CompletableFuture> getPointer(PublicKeyHash owner, Pu... method getPointerTarget (line 51) | default CompletableFuture getPointerTarget(PublicKeyHas... method clearCache (line 58) | MutablePointers clearCache(); method parsePointerTarget (line 60) | static CompletableFuture parsePointerTarget(byte[] poin... method isValidUpdate (line 70) | static CompletableFuture isValidUpdate(PublicSigningKey write... method isValidUpdate (line 80) | static CompletableFuture isValidUpdate(PublicSigningKey write... FILE: src/peergos/shared/mutable/MutablePointersProxy.java type MutablePointersProxy (line 12) | public interface MutablePointersProxy extends MutablePointers { method setPointer (line 22) | CompletableFuture setPointer(Multihash targetServerId, Public... method getPointer (line 30) | CompletableFuture> getPointer(Multihash targetServerI... method setPointers (line 32) | CompletableFuture setPointers(Multihash targetServerId, Publi... FILE: src/peergos/shared/mutable/OfflinePointerCache.java class OfflinePointerCache (line 10) | public class OfflinePointerCache implements MutablePointers { method OfflinePointerCache (line 19) | public OfflinePointerCache(MutablePointers target, PointerCache cache,... method setPointer (line 25) | @Override method setPointers (line 36) | @Override method getPointer (line 49) | @Override method clearCache (line 92) | @Override FILE: src/peergos/shared/mutable/PointerCache.java type PointerCache (line 11) | public interface PointerCache { method put (line 13) | CompletableFuture put(PublicKeyHash owner, PublicKeyHash writ... method get (line 15) | CompletableFuture> get(PublicKeyHash owner, PublicKey... method doUpdate (line 17) | default CompletableFuture doUpdate(Optional current, ... FILE: src/peergos/shared/mutable/PointerUpdate.java class PointerUpdate (line 8) | public class PointerUpdate implements Cborable { method PointerUpdate (line 14) | public PointerUpdate(MaybeMultihash original, MaybeMultihash updated, ... method increment (line 22) | public static Optional increment(Optional sequence) { method empty (line 26) | public static PointerUpdate empty() { method toString (line 30) | @Override method toCbor (line 35) | @Override method fromCbor (line 49) | public static PointerUpdate fromCbor(CborObject cbor) { FILE: src/peergos/shared/mutable/ProxyingMutablePointers.java class ProxyingMutablePointers (line 10) | public class ProxyingMutablePointers implements MutablePointers { method ProxyingMutablePointers (line 17) | public ProxyingMutablePointers(List serverIds, CoreNode core, Mut... method setPointer (line 24) | @Override method setPointers (line 33) | @Override method getPointer (line 42) | @Override method clearCache (line 51) | @Override FILE: src/peergos/shared/mutable/RetryMutablePointers.java class RetryMutablePointers (line 12) | public class RetryMutablePointers implements MutablePointers { method RetryMutablePointers (line 19) | public RetryMutablePointers(MutablePointers target) { method retryAfter (line 23) | private void retryAfter(Supplier> method, int... method jitter (line 27) | private int jitter(int minMilliseconds, int rangeMilliseconds) { method runWithRetry (line 31) | private CompletableFuture runWithRetry(Supplier CompletableFuture recurse(int retriesLeft, Supplier host, method ensureValidUpdateTo (line 36) | public void ensureValidUpdateTo(ResolutionRecord existingValue) { method toCbor (line 48) | @Override method fromCbor (line 59) | public static ResolutionRecord fromCbor(Cborable cbor) { FILE: src/peergos/shared/social/BlindFollowRequest.java class BlindFollowRequest (line 15) | public class BlindFollowRequest implements Cborable { method BlindFollowRequest (line 20) | public BlindFollowRequest(PublicBoxingKey dummySource, PaddedAsymmetri... method toCbor (line 25) | @Override method fromCbor (line 33) | public static BlindFollowRequest fromCbor(Cborable cbor) { method build (line 41) | public static CompletableFuture build(PublicBoxing... FILE: src/peergos/shared/social/FollowRequest.java class FollowRequest (line 10) | @JsType method FollowRequest (line 16) | public FollowRequest(Optional entry, Optional sendFollowRequest(String urlPrefix,... method getFollowRequests (line 55) | @Override method getFollowRequests (line 60) | @Override method getFollowRequests (line 65) | private CompletableFuture getFollowRequests(String urlPrefix, ... method removeFollowRequest (line 78) | @Override method removeFollowRequest (line 83) | @Override method removeFollowRequest (line 88) | private CompletableFuture removeFollowRequest(String urlPrefi... method encode (line 100) | private static String encode(String component) { FILE: src/peergos/shared/social/ProcessedCaps.java class ProcessedCaps (line 11) | public class ProcessedCaps implements Cborable { method ProcessedCaps (line 16) | public ProcessedCaps(int readCaps, int writeCaps, long readCapBytes, l... method add (line 24) | public ProcessedCaps add(CapsDiff diff) { method createGroupDiff (line 50) | public CapsDiff createGroupDiff(String name, CapsDiff diff) { method empty (line 56) | public static ProcessedCaps empty() { method toCbor (line 60) | @Override method fromCbor (line 76) | public static ProcessedCaps fromCbor(Cborable cbor) { FILE: src/peergos/shared/social/ProxyingSocialNetwork.java class ProxyingSocialNetwork (line 10) | public class ProxyingSocialNetwork implements SocialNetwork { method ProxyingSocialNetwork (line 17) | public ProxyingSocialNetwork(List serverIds, CoreNode core, Socia... method sendFollowRequest (line 24) | @Override method getFollowRequests (line 33) | @Override method removeFollowRequest (line 42) | @Override FILE: src/peergos/shared/social/SharedItem.java class SharedItem (line 9) | @JsType method SharedItem (line 14) | public SharedItem(AbsoluteCapability cap, String owner, String sharer,... method equals (line 21) | @Override method hashCode (line 32) | @Override method toCbor (line 37) | @Override method fromCbor (line 47) | public static SharedItem fromCbor(Cborable cbor) { method toString (line 59) | @Override FILE: src/peergos/shared/social/SocialFeed.java class SocialFeed (line 29) | public class SocialFeed { method SocialFeed (line 42) | public SocialFeed(FileWrapper dataDir, method createNewPost (line 62) | @JsMethod method updatePost (line 82) | @JsMethod method uploadMediaForPost (line 95) | @JsMethod method getOrMkdirToStoreMedia (line 109) | private CompletableFuture> getOrMkdirToStoreMe... method getDirFromHome (line 118) | public static Path getDirFromHome(SocialPost post) { method hasUnseen (line 124) | @JsMethod method getFeedSize (line 129) | @JsMethod method getLastSeenIndex (line 134) | @JsMethod method setLastSeenIndex (line 139) | @JsMethod method getPriorByteOffset (line 150) | private CompletableFuture> getPriorByteOffset(int ... method getShared (line 160) | @JsMethod method getSharedFiles (line 174) | @JsMethod method mergeCommentReferences (line 180) | private CompletableFuture mergeCommentsIntoParent(String par... method commit (line 229) | private synchronized CompletableFuture commit() { method update (line 243) | @JsMethod class Update (line 278) | private static class Update extends Triple>> getFriendU... method mergeUpdates (line 301) | private synchronized CompletableFuture> mer... method mergeInComments (line 316) | private CompletableFuture> add... method addToFeed (line 341) | private synchronized CompletableFuture> add... method appendToFeedAndCommitState (line 362) | private synchronized CompletableFuture appendToFeedAndCommit... method setVersion (line 384) | private CompletableFuture setVersion(Snapshot s) { method ensureFeedUptodate (line 394) | private CompletableFuture ensureFeedUptodate() { method load (line 404) | public static CompletableFuture load(FileWrapper dataDir, ... method getUpdatedState (line 415) | private CompletableFuture> getUpdatedStat... method create (line 426) | public static CompletableFuture create(UserContext c) { class FeedState (line 439) | private static class FeedState implements Cborable { method FeedState (line 444) | public FeedState(int lastSeenIndex, int feedSizeRecords, long feedSi... method toCbor (line 451) | @Override method fromCbor (line 465) | public static FeedState fromCbor(Cborable cbor) { FILE: src/peergos/shared/social/SocialNetwork.java type SocialNetwork (line 7) | public interface SocialNetwork { method sendFollowRequest (line 17) | CompletableFuture sendFollowRequest(PublicKeyHash target, byt... method getFollowRequests (line 25) | CompletableFuture getFollowRequests(PublicKeyHash owner, byte[... method removeFollowRequest (line 33) | CompletableFuture removeFollowRequest(PublicKeyHash owner, by... FILE: src/peergos/shared/social/SocialNetworkProxy.java type SocialNetworkProxy (line 8) | public interface SocialNetworkProxy extends SocialNetwork { method sendFollowRequest (line 17) | CompletableFuture sendFollowRequest(Multihash targetServerId,... method getFollowRequests (line 24) | CompletableFuture getFollowRequests(Multihash targetServerId, ... method removeFollowRequest (line 32) | CompletableFuture removeFollowRequest(Multihash targetServerI... FILE: src/peergos/shared/social/SocialPost.java class SocialPost (line 15) | @JsType type Resharing (line 21) | @JsType method SocialPost (line 38) | @JsConstructor method references (line 55) | @JsMethod method createInitialPost (line 62) | public static SocialPost createInitialPost(String author, List body, method addComment (line 84) | public SocialPost addComment(FileRef comment) { method addComments (line 91) | public SocialPost addComments(List newComments) { method serializeWithoutComments (line 100) | private byte[] serializeWithoutComments() { method contentHash (line 105) | public CompletableFuture contentHash(Hasher h) { method toCbor (line 109) | @Override method fromCbor (line 129) | public static SocialPost fromCbor(Cborable cbor) { class MutableRef (line 150) | public static class MutableRef implements Cborable { method MutableRef (line 154) | @JsConstructor method toCbor (line 160) | @Override method fromCbor (line 168) | public static MutableRef fromCbor(Cborable cbor) { method equals (line 178) | @Override method hashCode (line 186) | @Override FILE: src/peergos/shared/storage/BlockCache.java type BlockCache (line 8) | public interface BlockCache { method put (line 10) | CompletableFuture put(Cid hash, byte[] data); method get (line 12) | CompletableFuture> get(Cid hash); method hasBlock (line 14) | boolean hasBlock(Cid hash); method clear (line 16) | CompletableFuture clear(); method getMaxSize (line 18) | long getMaxSize(); method setMaxSize (line 20) | void setMaxSize(long maxSizeBytes); FILE: src/peergos/shared/storage/BlockMirrorCap.java class BlockMirrorCap (line 9) | public class BlockMirrorCap implements Cborable { method BlockMirrorCap (line 14) | public BlockMirrorCap(Cid hash, Optional bat) { method toCbor (line 19) | @Override method fromCbor (line 27) | public static BlockMirrorCap fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/BlockStoreProperties.java class BlockStoreProperties (line 7) | public class BlockStoreProperties implements Cborable { method BlockStoreProperties (line 12) | public BlockStoreProperties(boolean directWrites, method useDirectBlockStore (line 24) | public boolean useDirectBlockStore() { method empty (line 28) | public static BlockStoreProperties empty() { method toCbor (line 32) | @Override method fromCbor (line 43) | public static BlockStoreProperties fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/BlockWriteGroup.java class BlockWriteGroup (line 11) | public class BlockWriteGroup implements Cborable { method BlockWriteGroup (line 15) | public BlockWriteGroup(List blocks, List signatures) { method toCbor (line 22) | @Override method fromCbor (line 31) | public static BlockWriteGroup fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/BufferedStorage.java class BufferedStorage (line 22) | public class BufferedStorage extends DelegatingStorage { method BufferedStorage (line 28) | public BufferedStorage(ContentAddressedStorage target, Hasher hasher) { method hasBufferedBlock (line 36) | public boolean hasBufferedBlock(Cid c) { method isEmpty (line 42) | public boolean isEmpty() { method target (line 48) | public ContentAddressedStorage target() { method directToOrigin (line 52) | @Override method startTransaction (line 57) | @Override method closeTransaction (line 63) | @Override method getChampLookup (line 68) | @Override method tryLocalChampLookup (line 121) | private CompletableFuture>> tryLocalChampLookup(... method getChampLookup (line 179) | public CompletableFuture> getChampLookup(PublicKeyHash ow... method put (line 259) | @Override method putRaw (line 268) | @Override method put (line 278) | private CompletableFuture> put(PublicKeyHash writer, method put (line 289) | private synchronized Cid put(Cid cid, OpLog.BlockWrite block) { method downloadFragments (line 298) | @Override method getRaw (line 308) | @Override method get (line 318) | @Override method put (line 324) | @Override method signBlocks (line 335) | public CompletableFuture> signBlocks(Map roots) { method markReachable (line 376) | private static void markReachable(Cid current, List reachable... method getAllWriterData (line 391) | public List commit(PublicKeyHash owner, method clone (line 480) | public BufferedStorage clone() { method withStorage (line 484) | public BufferedStorage withStorage(Function hashToCid(byte[] input, boolean isRaw) { method totalSize (line 511) | public int totalSize() { FILE: src/peergos/shared/storage/CachingStorage.java class CachingStorage (line 13) | public class CachingStorage extends DelegatingStorage { method CachingStorage (line 20) | public CachingStorage(ContentAddressedStorage target, int cacheSize, i... method getCached (line 30) | public Collection getCached() { method blockStoreProperties (line 36) | @Override method directToOrigin (line 41) | @Override method clearBlockCache (line 46) | @Override method put (line 54) | @Override method get (line 74) | @Override method putRaw (line 117) | @Override method getRaw (line 138) | @Override FILE: src/peergos/shared/storage/CachingVerifyingStorage.java class CachingVerifyingStorage (line 15) | public class CachingVerifyingStorage extends DelegatingStorage { method CachingVerifyingStorage (line 25) | public CachingVerifyingStorage(ContentAddressedStorage target, int max... method id (line 37) | @Override method ids (line 42) | @Override method verify (line 47) | private CompletableFuture verify(byte[] data, Multihash claimed... method blockStoreProperties (line 69) | @Override method directToOrigin (line 74) | @Override method clearBlockCache (line 79) | @Override method cache (line 87) | private boolean cache(Multihash h, byte[] block) { method getChampLookup (line 96) | @Override method put (line 106) | @Override method get (line 125) | @Override method putRaw (line 169) | @Override method getRaw (line 189) | @Override FILE: src/peergos/shared/storage/CasException.java class CasException (line 5) | public class CasException extends RuntimeException { method CasException (line 7) | @JsConstructor method CasException (line 12) | public CasException(Object actualExisting, Object claimedExisting) { FILE: src/peergos/shared/storage/ChunkMirrorCap.java class ChunkMirrorCap (line 12) | public class ChunkMirrorCap implements Cborable { method ChunkMirrorCap (line 17) | public ChunkMirrorCap(byte[] mapKey, Optional bat) { method toCbor (line 22) | public CborObject toCbor() { method fromCbor (line 29) | public static ChunkMirrorCap fromCbor(Cborable cbor) { method encodeToString (line 38) | public String encodeToString() { method fromString (line 42) | public static ChunkMirrorCap fromString(String encoded) { FILE: src/peergos/shared/storage/ContentAddressedStorage.java type ContentAddressedStorage (line 28) | public interface ContentAddressedStorage { method blockStoreProperties (line 35) | default CompletableFuture blockStoreProperties() { method linkHost (line 39) | CompletableFuture linkHost(PublicKeyHash owner); method clearBlockCache (line 44) | default void clearBlockCache() {} method directToOrigin (line 50) | ContentAddressedStorage directToOrigin(); method getBlockCache (line 52) | Optional getBlockCache(); method authReads (line 54) | default CompletableFuture> authReads(PublicKeyHash ... method authWrites (line 58) | default CompletableFuture> authWrites(PublicKeyHash... method put (line 68) | default CompletableFuture put(PublicKeyHash owner, method put (line 78) | default CompletableFuture put(PublicKeyHash owner, method putRaw (line 87) | default CompletableFuture putRaw(PublicKeyHash owner, method id (line 101) | CompletableFuture id(); method ids (line 107) | CompletableFuture> ids(); method startTransaction (line 115) | CompletableFuture startTransaction(PublicKeyHash owner); method closeTransaction (line 124) | CompletableFuture closeTransaction(PublicKeyHash owner, Trans... method put (line 135) | CompletableFuture> put(PublicKeyHash owner, method get (line 147) | CompletableFuture> get(PublicKeyHash owner, Cid h... method putRaw (line 159) | CompletableFuture> putRaw(PublicKeyHash owner, method getRaw (line 173) | CompletableFuture> getRaw(PublicKeyHash owner, Cid ha... method getChampLookup (line 175) | CompletableFuture> getChampLookup(PublicKeyHash owner, method getChampRoot (line 180) | default CompletableFuture getChampRoot(Optional committedRoot, method getChampLookup (line 192) | default CompletableFuture> getChampLookup(PublicKeyHash o... method getSize (line 221) | CompletableFuture> getSize(PublicKeyHash owner, Mult... method getIpnsEntry (line 223) | CompletableFuture getIpnsEntry(Multihash signer); method getSecretLink (line 225) | CompletableFuture getSecretLink(SecretLink link); method getLinkCounts (line 227) | CompletableFuture getLinkCounts(String owner, LocalDateTim... method hashToCid (line 229) | default CompletableFuture hashToCid(byte[] input, boolean isRaw, ... method buildCid (line 234) | default Cid buildCid(byte[] sha256, boolean isRaw) { method downloadFragments (line 238) | default CompletableFuture> downloadFragments(Pu... method putSigningKey (line 247) | default CompletableFuture putSigningKey(byte[] signature, method putSigningKey (line 254) | default CompletableFuture putSigningKey(byte[] signature, method hashKey (line 262) | static PublicKeyHash hashKey(PublicSigningKey key) { method putBoxingKey (line 266) | default CompletableFuture putBoxingKey(PublicKeyHash ow... method getSigningKey (line 277) | default CompletableFuture> getSigningKey(Pu... method getBoxingKey (line 284) | default CompletableFuture> getBoxingKey(Publ... class HTTP (line 291) | class HTTP implements ContentAddressedStorage { method HTTP (line 323) | public HTTP(HttpPoster poster, boolean isPeergosServer, Hasher hashe... method directToOrigin (line 329) | @Override method getObjectHash (line 334) | private static Cid getObjectHash(Object rawJson) { method encode (line 349) | private static String encode(String component) { method id (line 357) | @Override method ids (line 363) | @Override method linkHost (line 372) | @Override method blockStoreProperties (line 380) | @Override method authReads (line 388) | @Override method authWrites (line 399) | @Override method startTransaction (line 423) | @Override method closeTransaction (line 431) | @Override method getChampLookup (line 439) | @Override method getSecretLink (line 457) | @Override method getLinkCounts (line 466) | @Override method put (line 476) | @Override method putRaw (line 485) | @Override method bulkPut (line 500) | private CompletableFuture> bulkPut(PublicKeyHash owner, method put (line 547) | private CompletableFuture> put(PublicKeyHash owner, method get (line 587) | @Override method getRaw (line 607) | @Override method getSize (line 626) | @Override method getIpnsEntry (line 634) | @Override method getBlockCache (line 640) | @Override class Proxying (line 646) | class Proxying implements ContentAddressedStorage { method Proxying (line 654) | public Proxying(ContentAddressedStorage local, method directToOrigin (line 668) | @Override method id (line 673) | @Override method ids (line 678) | @Override method blockStoreProperties (line 683) | @Override method linkHost (line 688) | @Override method authReads (line 697) | @Override method authWrites (line 702) | @Override method startTransaction (line 713) | @Override method closeTransaction (line 722) | @Override method getChampLookup (line 731) | @Override method getSecretLink (line 740) | @Override method getLinkCounts (line 752) | @Override method get (line 762) | @Override method getRaw (line 771) | @Override method getSize (line 780) | @Override method getIpnsEntry (line 785) | @Override method put (line 790) | @Override method putRaw (line 803) | @Override method getBlockCache (line 817) | @Override method getWriterData (line 823) | static CompletableFuture getWriterData(PublicKeyH... FILE: src/peergos/shared/storage/ContentAddressedStorageProxy.java type ContentAddressedStorageProxy (line 24) | public interface ContentAddressedStorageProxy { method linkHost (line 26) | CompletableFuture linkHost(Multihash targetServerId, PublicKey... method startTransaction (line 28) | CompletableFuture startTransaction(Multihash targetServ... method closeTransaction (line 30) | CompletableFuture closeTransaction(Multihash targetServerId, ... method getChampLookup (line 32) | CompletableFuture> getChampLookup(Multihash targetServerI... method getSecretLink (line 34) | CompletableFuture getSecretLink(Multihash targetS... method getLinkCounts (line 36) | CompletableFuture getLinkCounts(Multihash targetServerId, ... method get (line 38) | CompletableFuture> get(Multihash targetServerId, ... method getRaw (line 40) | CompletableFuture> getRaw(Multihash targetServerId, P... method put (line 42) | CompletableFuture> put(Multihash targetServerId, method putRaw (line 49) | CompletableFuture> putRaw(Multihash targetServerId, class HTTP (line 57) | class HTTP implements ContentAddressedStorageProxy { method HTTP (line 63) | public HTTP(HttpPoster poster) { method getObjectHash (line 67) | private static Cid getObjectHash(Object rawJson) { method encode (line 75) | private static String encode(String component) { method getProxyUrlPrefix (line 83) | public static String getProxyUrlPrefix(Multihash targetId) { method linkHost (line 87) | @Override method startTransaction (line 95) | @Override method closeTransaction (line 103) | @Override method getChampLookup (line 112) | @Override method getSecretLink (line 129) | @Override method getLinkCounts (line 139) | @Override method get (line 152) | @Override method getRaw (line 165) | @Override method put (line 177) | @Override method putRaw (line 187) | @Override method put (line 198) | private CompletableFuture> put(Multihash targetServerId, FILE: src/peergos/shared/storage/DecodedSpaceRequest.java class DecodedSpaceRequest (line 14) | @JsType method DecodedSpaceRequest (line 19) | public DecodedSpaceRequest(QuotaControl.LabelledSignedSpaceRequest sou... method getUsername (line 24) | @JsMethod method getSizeInMiB (line 29) | @JsMethod method toString (line 34) | @Override method decodeSpaceRequests (line 39) | public static CompletableFuture> decodeSpace... FILE: src/peergos/shared/storage/DelegatingStorage.java class DelegatingStorage (line 15) | public abstract class DelegatingStorage implements ContentAddressedStora... method DelegatingStorage (line 19) | public DelegatingStorage(ContentAddressedStorage target) { method blockStoreProperties (line 23) | @Override method linkHost (line 28) | @Override method clearBlockCache (line 33) | @Override method id (line 38) | @Override method ids (line 43) | @Override method startTransaction (line 48) | @Override method closeTransaction (line 53) | @Override method put (line 58) | @Override method get (line 65) | @Override method putRaw (line 70) | @Override method getRaw (line 80) | @Override method getChampLookup (line 85) | @Override method getSecretLink (line 90) | @Override method getLinkCounts (line 95) | @Override method getSize (line 100) | @Override method getIpnsEntry (line 105) | @Override method downloadFragments (line 110) | @Override method authReads (line 120) | @Override method authWrites (line 125) | @Override method getBlockCache (line 136) | @Override FILE: src/peergos/shared/storage/DirectS3BlockStore.java class DirectS3BlockStore (line 21) | public class DirectS3BlockStore implements ContentAddressedStorage { method DirectS3BlockStore (line 35) | public DirectS3BlockStore(BlockStoreProperties blockStoreProperties, method blockStoreProperties (line 53) | @Override method linkHost (line 58) | @Override method directToOrigin (line 63) | @Override method hashToKey (line 68) | public static String hashToKey(Multihash hash) { method keyToHash (line 75) | public static Cid keyToHash(String keyFileName) { method id (line 81) | @Override method ids (line 86) | @Override method startTransaction (line 91) | @Override method closeTransaction (line 96) | @Override method put (line 101) | @Override method onOwnersNode (line 110) | private CompletableFuture onOwnersNode(PublicKeyHash owner) { method putRaw (line 127) | @Override method bulkPutRaw (line 163) | private CompletableFuture> bulkPutRaw(PublicKeyHash owner, method downloadFragments (line 194) | @Override method get (line 268) | @Override method getRaw (line 273) | @Override method getSize (line 325) | @Override method getIpnsEntry (line 330) | @Override method getChampLookup (line 335) | @Override method getSecretLink (line 346) | @Override method getLinkCounts (line 351) | @Override method getBlockCache (line 356) | @Override FILE: src/peergos/shared/storage/HashVerifyingStorage.java class HashVerifyingStorage (line 15) | public class HashVerifyingStorage extends DelegatingStorage { method HashVerifyingStorage (line 20) | public HashVerifyingStorage(ContentAddressedStorage source, Hasher has... method verify (line 26) | private CompletableFuture verify(byte[] data, Multihash claimed... method blockStoreProperties (line 48) | @Override method directToOrigin (line 53) | @Override method put (line 58) | @Override method get (line 70) | @Override method putRaw (line 78) | @Override method getRaw (line 91) | @Override FILE: src/peergos/shared/storage/HttpFileNotFoundException.java class HttpFileNotFoundException (line 5) | public class HttpFileNotFoundException extends RuntimeException { method HttpFileNotFoundException (line 7) | @JsConstructor FILE: src/peergos/shared/storage/HttpSpaceUsage.java class HttpSpaceUsage (line 14) | public class HttpSpaceUsage implements SpaceUsageProxy { method disableLog (line 16) | public static void disableLog() { method HttpSpaceUsage (line 23) | public HttpSpaceUsage(HttpPoster direct, HttpPoster p2p) method getProxyUrlPrefix (line 29) | private static String getProxyUrlPrefix(Multihash targetId) { method getUsage (line 33) | @Override method getUsage (line 38) | @Override method getUsage (line 43) | private CompletableFuture getUsage(String urlPrefix, HttpPoster ... method getPaymentProperties (line 52) | @Override method getPaymentProperties (line 57) | @Override method getPaymentProperties (line 62) | private CompletableFuture getPaymentProperties(Stri... method getQuota (line 70) | @Override method getQuota (line 75) | @Override method getQuota (line 80) | private CompletableFuture getQuota(String urlPrefix, HttpPoster ... method requestQuota (line 88) | @Override method requestSpace (line 93) | @Override method requestSpace (line 98) | public CompletableFuture requestSpace(String urlPre... method encode (line 105) | private static String encode(String component) { FILE: src/peergos/shared/storage/IpfsTransaction.java class IpfsTransaction (line 8) | public class IpfsTransaction { method call (line 18) | public static CompletableFuture call(PublicKeyHash owner, FILE: src/peergos/shared/storage/IpnsEntry.java class IpnsEntry (line 12) | public class IpnsEntry { method IpnsEntry (line 16) | public IpnsEntry(byte[] signature, byte[] data) { method verifySignature (line 21) | private CompletableFuture verifySignature(Multihash signer, pe... method getValue (line 29) | public CompletableFuture getValue(Multihash signer, ... method getValue (line 43) | public ResolutionRecord getValue() { method getIpnsSequence (line 53) | public long getIpnsSequence() { method toJson (line 61) | public Map toJson() { method fromJson (line 68) | public static IpnsEntry fromJson(Object json) { FILE: src/peergos/shared/storage/JSAccountCache.java class JSAccountCache (line 13) | public class JSAccountCache implements LoginCache { method JSAccountCache (line 17) | public JSAccountCache() { method setLoginData (line 20) | @Override method removeLoginData (line 26) | @Override method getEntryData (line 32) | @Override FILE: src/peergos/shared/storage/JSBatCache.java class JSBatCache (line 12) | public class JSBatCache implements EncryptedBatCache { method JSBatCache (line 16) | public JSBatCache() { method getUserBats (line 20) | @Override method setUserBats (line 30) | @Override FILE: src/peergos/shared/storage/JSBlockCache.java class JSBlockCache (line 8) | public class JSBlockCache implements BlockCache { method JSBlockCache (line 11) | public JSBlockCache(int maxSizeMiB) { method get (line 15) | @Override method hasBlock (line 20) | @Override method put (line 25) | @Override method clear (line 30) | @Override method getMaxSize (line 35) | @Override method setMaxSize (line 40) | @Override FILE: src/peergos/shared/storage/JSPkiCache.java class JSPkiCache (line 15) | public class JSPkiCache implements PkiCache { method JSPkiCache (line 19) | public JSPkiCache() { method getChain (line 23) | @Override method setChain (line 36) | @Override method getUsername (line 47) | @Override FILE: src/peergos/shared/storage/JSPointerCache.java class JSPointerCache (line 11) | public class JSPointerCache implements PointerCache { method JSPointerCache (line 15) | public JSPointerCache(int maxItems, ContentAddressedStorage storage) { method put (line 20) | @Override method get (line 34) | @Override FILE: src/peergos/shared/storage/LinkCounts.java class LinkCounts (line 10) | public class LinkCounts implements Cborable { method LinkCounts (line 13) | public LinkCounts(Map> counts) { method toCbor (line 17) | @Override method fromCbor (line 30) | public static LinkCounts fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/LocalOnlyStorage.java class LocalOnlyStorage (line 17) | public class LocalOnlyStorage implements ContentAddressedStorage { method LocalOnlyStorage (line 22) | public LocalOnlyStorage(BlockCache cache, Supplier blocks) { method build (line 36) | public static CompletableFuture build(Hasher h, List<... method getRaw (line 48) | @Override method blockStoreProperties (line 53) | @Override method linkHost (line 58) | @Override method directToOrigin (line 63) | @Override method clearBlockCache (line 68) | @Override method id (line 73) | @Override method ids (line 78) | @Override method startTransaction (line 83) | @Override method closeTransaction (line 88) | @Override method put (line 93) | @Override method get (line 98) | @Override method putRaw (line 103) | @Override method getChampLookup (line 113) | @Override method getSize (line 118) | @Override method getSecretLink (line 123) | @Override method getLinkCounts (line 128) | @Override method getIpnsEntry (line 133) | @Override method downloadFragments (line 138) | @Override method authReads (line 148) | @Override method authWrites (line 153) | @Override method getBlockCache (line 164) | @Override FILE: src/peergos/shared/storage/MajorRateLimitException.java class MajorRateLimitException (line 5) | public class MajorRateLimitException extends RuntimeException { method MajorRateLimitException (line 7) | @JsConstructor FILE: src/peergos/shared/storage/PaymentProperties.java class PaymentProperties (line 10) | public final class PaymentProperties implements Cborable { method PaymentProperties (line 21) | private PaymentProperties(Optional paymentServerUrl, method PaymentProperties (line 39) | public PaymentProperties(long freeQuota) { method PaymentProperties (line 43) | public PaymentProperties(String paymentServerUrl, Optional cli... method getExpiry (line 49) | @JsMethod method getNextCharge (line 54) | @JsMethod method isPaid (line 59) | @JsMethod method freeMb (line 64) | @JsMethod method desiredMb (line 69) | @JsMethod method isAnnual (line 74) | @JsMethod method hasError (line 79) | @JsMethod method getError (line 84) | @JsMethod method getUrl (line 89) | @JsMethod method getClientSecret (line 94) | @JsMethod method errored (line 99) | public static PaymentProperties errored(String paymentServerUrl, method toCbor (line 108) | @Override method fromCbor (line 123) | public static PaymentProperties fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/PointerCasException.java class PointerCasException (line 9) | public class PointerCasException extends RuntimeException { method PointerCasException (line 14) | public PointerCasException(MaybeMultihash actualExisting, Optional fields) { method toCbor (line 17) | @Override method fromCbor (line 29) | public static PresignedUrl fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/ProxyingSpaceUsage.java class ProxyingSpaceUsage (line 13) | public class ProxyingSpaceUsage implements SpaceUsage { method ProxyingSpaceUsage (line 20) | public ProxyingSpaceUsage(List serverIds, CoreNode core, SpaceUsa... method getUsage (line 27) | @Override method getPaymentProperties (line 38) | @Override method getQuota (line 43) | @Override method requestQuota (line 52) | @Override FILE: src/peergos/shared/storage/QuotaControl.java type QuotaControl (line 14) | public interface QuotaControl { method getPaymentProperties (line 16) | CompletableFuture getPaymentProperties(PublicKeyHas... method getQuota (line 18) | CompletableFuture getQuota(PublicKeyHash owner, byte[] signedTime); method requestQuota (line 20) | CompletableFuture requestQuota(PublicKeyHash owner,... method requestQuota (line 22) | default CompletableFuture requestQuota(String usern... class LabelledSignedSpaceRequest (line 28) | class LabelledSignedSpaceRequest implements Cborable { method LabelledSignedSpaceRequest (line 32) | public LabelledSignedSpaceRequest(String username, byte[] signedRequ... method getUsername (line 37) | public String getUsername() { method toCbor (line 41) | @Override method fromCbor (line 49) | public static LabelledSignedSpaceRequest fromCbor(Cborable cbor) { class SpaceRequest (line 57) | class SpaceRequest implements Cborable { method SpaceRequest (line 64) | public SpaceRequest(String username, long bytes, boolean annual, lon... method getSizeInBytes (line 74) | public long getSizeInBytes() { method toCbor (line 78) | @Override method fromCbor (line 90) | public static SpaceRequest fromCbor(Cborable cbor) { method toString (line 100) | @Override FILE: src/peergos/shared/storage/RamBlockCache.java class RamBlockCache (line 10) | public class RamBlockCache implements BlockCache { method RamBlockCache (line 15) | public RamBlockCache(int maxValueSize, int cacheSize) { method getMaxSize (line 21) | @Override method setMaxSize (line 26) | @Override method getCached (line 31) | public Collection getCached() { method put (line 35) | @Override method get (line 42) | @Override method hasBlock (line 47) | @Override method clear (line 52) | @Override FILE: src/peergos/shared/storage/RateLimitException.java class RateLimitException (line 5) | public class RateLimitException extends RuntimeException { method RateLimitException (line 7) | @JsConstructor FILE: src/peergos/shared/storage/RetryStorage.java class RetryStorage (line 21) | public class RetryStorage implements ContentAddressedStorage { method RetryStorage (line 28) | public RetryStorage(ContentAddressedStorage target, int maxAttempts) { method directToOrigin (line 33) | @Override method retryAfter (line 38) | private static void retryAfter(Supplier> meth... method jitter (line 42) | private static int jitter(int minMilliseconds, int rangeMilliseconds) { method runWithRetry (line 46) | private CompletableFuture runWithRetry(Supplier CompletableFuture runWithRetry(int maxAttempts, S... method recurse (line 54) | private static CompletableFuture recurse(int retriesLeft, int m... method blockStoreProperties (line 87) | @Override method id (line 91) | @Override method ids (line 96) | @Override method linkHost (line 101) | @Override method startTransaction (line 106) | @Override method closeTransaction (line 111) | @Override method put (line 116) | @Override method get (line 121) | @Override method putRaw (line 126) | @Override method getRaw (line 136) | @Override method getChampLookup (line 141) | @Override method getSecretLink (line 146) | @Override method getLinkCounts (line 151) | @Override method getSize (line 156) | @Override method getIpnsEntry (line 161) | @Override method downloadFragments (line 166) | @Override method authReads (line 176) | @Override method authWrites (line 181) | @Override method getBlockCache (line 192) | @Override FILE: src/peergos/shared/storage/SpaceUsage.java type SpaceUsage (line 7) | public interface SpaceUsage extends QuotaControl { method getUsage (line 9) | CompletableFuture getUsage(PublicKeyHash owner, byte[] signedTim... FILE: src/peergos/shared/storage/SpaceUsageProxy.java type SpaceUsageProxy (line 8) | public interface SpaceUsageProxy extends SpaceUsage { method getPaymentProperties (line 10) | CompletableFuture getPaymentProperties(Multihash ta... method getUsage (line 15) | CompletableFuture getUsage(Multihash targetServerId, PublicKeyHa... method getQuota (line 17) | CompletableFuture getQuota(Multihash targetServerId, PublicKeyHa... method requestSpace (line 19) | CompletableFuture requestSpace(Multihash targetServ... FILE: src/peergos/shared/storage/StorageQuotaExceededException.java class StorageQuotaExceededException (line 5) | public class StorageQuotaExceededException extends RuntimeException { method StorageQuotaExceededException (line 7) | @JsConstructor FILE: src/peergos/shared/storage/TransactionId.java class TransactionId (line 3) | public final class TransactionId { method TransactionId (line 6) | public TransactionId(String id) { method toString (line 10) | @Override method build (line 15) | public static TransactionId build(String id) { FILE: src/peergos/shared/storage/UnauthedCachingStorage.java class UnauthedCachingStorage (line 19) | public class UnauthedCachingStorage extends DelegatingStorage { method UnauthedCachingStorage (line 25) | public UnauthedCachingStorage(ContentAddressedStorage target, BlockCac... method blockStoreProperties (line 33) | @Override method directToOrigin (line 38) | @Override method clearBlockCache (line 43) | @Override method getBlockCache (line 49) | @Override method getPending (line 54) | private synchronized CompletableFuture> getPending(Ci... method putPending (line 58) | private synchronized void putPending(Cid key, CompletableFuture cacheBlocks(List blocks, Hasher hasher) { method put (line 161) | @Override method get (line 177) | @Override method putRaw (line 183) | @Override method downloadFragments (line 200) | @Override FILE: src/peergos/shared/storage/WriteAuthRequest.java class WriteAuthRequest (line 9) | public class WriteAuthRequest implements Cborable { method WriteAuthRequest (line 15) | public WriteAuthRequest(List signatures, List sizes, Lis... method toCbor (line 21) | @Override method fromCbor (line 36) | public static WriteAuthRequest fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/WriteFilter.java class WriteFilter (line 13) | public class WriteFilter extends DelegatingStorage { method WriteFilter (line 18) | public WriteFilter(ContentAddressedStorage dht, BiFunction calculateId(Hasher h) { method toCbor (line 43) | @Override method fromCbor (line 50) | public static Bat fromCbor(Cborable cbor) { method hashCode (line 58) | @Override method equals (line 63) | @Override method generateAuth (line 70) | public CompletableFuture generateAuth(Cid block, method createRawBlockPrefix (line 85) | public static byte[] createRawBlockPrefix(Bat inlineBat, Optional getBlockBats(Cid h, byte[] data) { method getRawBlockBats (line 102) | public static List getRawBlockBats(byte[] block) { method getCborBlockBats (line 111) | public static List getCborBlockBats(byte[] data) { method removeRawBlockBatPrefix (line 118) | public static byte[] removeRawBlockBatPrefix(byte[] block) { method random (line 128) | public static Bat random(SafeRandom r) { FILE: src/peergos/shared/storage/auth/BatCache.java type BatCache (line 6) | public interface BatCache { method getUserBats (line 8) | CompletableFuture> getUserBats(String username); method setUserBats (line 10) | CompletableFuture setUserBats(String username, List getBat(BatId id); method getUserBats (line 16) | CompletableFuture> getUserBats(String username, byte[]... method addBat (line 18) | CompletableFuture addBat(String username, BatId id, Bat bat, ... method getUserBats (line 20) | default CompletableFuture> getUserBats(String username... method addBat (line 27) | default CompletableFuture addBat(String username, BatId id, B... FILE: src/peergos/shared/storage/auth/BatCaveProxy.java type BatCaveProxy (line 11) | public interface BatCaveProxy { method getUserBats (line 13) | CompletableFuture> getUserBats(Multihash targetServerI... method addBat (line 15) | CompletableFuture addBat(Multihash targetServerId, String use... FILE: src/peergos/shared/storage/auth/BatId.java class BatId (line 11) | public class BatId implements Cborable { method BatId (line 15) | public BatId(Cid id) { method isInline (line 19) | public boolean isInline() { method getInline (line 23) | public Optional getInline() { method inline (line 29) | public static BatId inline(Bat b) { method sha256 (line 33) | public static CompletableFuture sha256(Bat b, Hasher h) { method toCbor (line 38) | @Override method fromCbor (line 43) | public static BatId fromCbor(Cborable cbor) { method toString (line 49) | @Override method hashCode (line 54) | @Override method equals (line 59) | @Override FILE: src/peergos/shared/storage/auth/BatList.java class BatList (line 7) | public class BatList implements Cborable { method BatList (line 11) | public BatList(List bats) { method toCbor (line 15) | @Override method fromCbor (line 20) | public static BatList fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/auth/BatWithId.java class BatWithId (line 9) | public class BatWithId implements Cborable { method BatWithId (line 14) | public BatWithId(Bat bat, Cid id) { method id (line 23) | public BatId id() { method encode (line 27) | public String encode() { method decode (line 31) | public static BatWithId decode(String in) { method toCbor (line 35) | @Override method fromCbor (line 43) | public static BatWithId fromCbor(Cborable cbor) { method hashCode (line 51) | @Override method equals (line 56) | @Override FILE: src/peergos/shared/storage/auth/BlockAuth.java class BlockAuth (line 10) | public class BlockAuth implements Cborable { method BlockAuth (line 17) | public BlockAuth(byte[] signature, int expirySeconds, String awsDateti... method shortDate (line 26) | public String shortDate() { method encode (line 30) | public String encode() { method timestamp (line 34) | public LocalDateTime timestamp() { method fromString (line 45) | public static BlockAuth fromString(String in) { method timeToPackedLong (line 51) | private static long timeToPackedLong(String t) { method packedLongToTime (line 61) | private static String packedLongToTime(long packed) { method toCbor (line 77) | @Override method fromCbor (line 87) | public static BlockAuth fromCbor(Cborable cbor) { FILE: src/peergos/shared/storage/auth/EncryptedBatCache.java type EncryptedBatCache (line 8) | public interface EncryptedBatCache { method getUserBats (line 10) | CompletableFuture> getUserBats(String username, Symmet... method setUserBats (line 12) | CompletableFuture setUserBats(String username, List> getUserBats(String urlPrefi... method addBat (line 48) | @Override method addBat (line 53) | @Override method addBat (line 58) | private CompletableFuture addBat(String urlPrefix, HttpPoster... method getBat (line 67) | @Override FILE: src/peergos/shared/storage/auth/OfflineBatCache.java class OfflineBatCache (line 11) | public class OfflineBatCache implements BatCave { method OfflineBatCache (line 16) | public OfflineBatCache(BatCave target, BatCache cache) { method getBat (line 21) | @Override method getUserBats (line 26) | @Override method addBat (line 36) | @Override FILE: src/peergos/shared/storage/auth/ProxyingBatCave.java class ProxyingBatCave (line 9) | public class ProxyingBatCave implements BatCave { method ProxyingBatCave (line 16) | public ProxyingBatCave(List serverIds, CoreNode core, BatCave loc... method getUserBats (line 23) | @Override method addBat (line 33) | @Override method getBat (line 43) | @Override FILE: src/peergos/shared/storage/auth/S3Request.java class S3Request (line 24) | public class S3Request { method S3Request (line 42) | public S3Request(String verb, method preSignPut (line 75) | public static CompletableFuture preSignPut(String key, method preSignCopy (line 94) | public static CompletableFuture preSignCopy(String sourc... method preSignGet (line 114) | public static CompletableFuture preSignGet(String key, method preSignHead (line 128) | public static CompletableFuture preSignHead(String key, method preSignNulliPotent (line 141) | private static CompletableFuture preSignNulliPotent(Stri... method preSignRequest (line 162) | public static CompletableFuture preSignRequest(S3Request... method computeSignature (line 180) | public static CompletableFuture computeSignature(S3Request pol... method stringToSign (line 194) | public String stringToSign() { method urlEncode (line 203) | private static String urlEncode(String in) { method toCanonicalRequest (line 211) | public String toCanonicalRequest() { method getHeaders (line 233) | private Map getHeaders(String signature) { method getOriginalHeaders (line 242) | private Map getOriginalHeaders() { method getQueryString (line 257) | private String getQueryString(String signature) { method getQueryParameters (line 269) | private Map getQueryParameters() { method getCanonicalHeaders (line 282) | private SortedMap getCanonicalHeaders() { method headersToSign (line 291) | private String headersToSign() { method scope (line 298) | private String scope() { method credential (line 302) | private String credential() { method isGet (line 306) | public boolean isGet() { method isHead (line 310) | public boolean isHead() { method currentDatetime (line 314) | public static String currentDatetime() { FILE: src/peergos/shared/storage/controller/AllowedSignups.java class AllowedSignups (line 8) | @JsType method AllowedSignups (line 13) | public AllowedSignups(boolean free, boolean paid) { method toCbor (line 18) | @Override method fromCbor (line 26) | public static AllowedSignups fromCbor(CborObject cbor) { FILE: src/peergos/shared/storage/controller/HttpInstanceAdmin.java class HttpInstanceAdmin (line 15) | public class HttpInstanceAdmin implements InstanceAdmin { method HttpInstanceAdmin (line 24) | public HttpInstanceAdmin(HttpPoster poster) { method getVersionInfo (line 28) | @Override method getPendingSpaceRequests (line 34) | @Override method approveSpaceRequest (line 47) | @Override method acceptingSignups (line 56) | @Override method addToWaitList (line 62) | @Override method encode (line 68) | private static String encode(String component) { FILE: src/peergos/shared/storage/controller/InstanceAdmin.java type InstanceAdmin (line 18) | public interface InstanceAdmin { method getVersionInfo (line 20) | CompletableFuture getVersionInfo(); method getPendingSpaceRequests (line 22) | CompletableFuture> getPe... method approveSpaceRequest (line 26) | CompletableFuture approveSpaceRequest(PublicKeyHash adminIden... method acceptingSignups (line 30) | @JsMethod method addToWaitList (line 33) | @JsMethod class VersionInfo (line 36) | class VersionInfo implements Cborable { method VersionInfo (line 40) | public VersionInfo(Version version, String sourceVersion) { method toCbor (line 45) | @Override method fromCbor (line 53) | public static VersionInfo fromCbor(Cborable cbor) { method toString (line 60) | @Override FILE: src/peergos/shared/user/Account.java type Account (line 12) | public interface Account { method setLoginData (line 19) | CompletableFuture setLoginData(LoginData login, byte[] auth, ... method setLoginData (line 21) | default CompletableFuture setLoginData(LoginData login, method getLoginData (line 36) | CompletableFuture> getL... method getSecondAuthMethods (line 50) | CompletableFuture> getSecondAuthMethods(St... method getSecondAuthMethods (line 52) | @JsMethod method enableTotpFactor (line 60) | CompletableFuture enableTotpFactor(String username, byte[] cr... method enableTotpFactor (line 62) | @JsMethod method addTotpFactor (line 73) | CompletableFuture addTotpFactor(String username, byte[] auth); method addTotpFactor (line 75) | @JsMethod method registerSecurityKeyStart (line 83) | CompletableFuture registerSecurityKeyStart(String username, by... method registerSecurityKeyStart (line 85) | @JsMethod method registerSecurityKeyComplete (line 93) | CompletableFuture registerSecurityKeyComplete(String username... method registerSecurityKeyComplete (line 95) | @JsMethod method deleteSecondFactor (line 106) | CompletableFuture deleteSecondFactor(String username, byte[] ... method deleteSecondFactor (line 107) | @JsMethod FILE: src/peergos/shared/user/AccountProxy.java type AccountProxy (line 14) | public interface AccountProxy extends Account { method setLoginData (line 16) | CompletableFuture setLoginData(Multihash targetServerId, Logi... method getLoginData (line 18) | CompletableFuture> getL... method getSecondAuthMethods (line 24) | CompletableFuture> getSecondAuthMethods(Mu... method addTotpFactor (line 26) | CompletableFuture addTotpFactor(Multihash targetServerId, Str... method enableTotpFactor (line 28) | CompletableFuture enableTotpFactor(Multihash targetServerId, method registerSecurityKeyStart (line 34) | CompletableFuture registerSecurityKeyStart(Multihash targetSer... method registerSecurityKeyComplete (line 36) | CompletableFuture registerSecurityKeyComplete(Multihash targe... method deleteSecondFactor (line 38) | CompletableFuture deleteSecondFactor(Multihash targetServerId... FILE: src/peergos/shared/user/AcquaintanceSourcedTrieNode.java class AcquaintanceSourcedTrieNode (line 13) | public class AcquaintanceSourcedTrieNode implements TrieNode { method AcquaintanceSourcedTrieNode (line 19) | public AcquaintanceSourcedTrieNode(String ownerName, method build (line 27) | public static CompletableFuture>... method convert (line 33) | private FileWrapper convert(FileWrapper file, String path) { method getByPath (line 37) | @Override method getByPath (line 47) | @Override method getChildren (line 58) | @Override method getChildren (line 70) | @Override method getChildNames (line 83) | @Override method put (line 88) | @Override method putNode (line 93) | @Override method removeEntry (line 98) | @Override method getChildNodes (line 105) | @Override method getChildNode (line 110) | @Override method isEmpty (line 115) | @Override FILE: src/peergos/shared/user/App.java class App (line 34) | public class App implements StoreAppData { method App (line 41) | private App(UserContext ctx, String username, Path appDataDirectory) { method getDataDir (line 48) | public static Path getDataDir(String appName, String username) { method getAppSubdomain (line 52) | @JsMethod method getAppSubdomainWithAnonymityClass (line 58) | @JsMethod method init (line 67) | @JsMethod method validatePath (line 82) | private void validatePath(Path path) { method normalisePath (line 97) | private Path normalisePath(Path path) { method fullPath (line 102) | private Path fullPath(Path path, String username) { method appendFileContents (line 108) | private CompletableFuture appendFileContents(Path path, byte[... method writeFileContents (line 117) | private CompletableFuture writeFileContents(Path path, byte[]... method readInternal (line 126) | @JsMethod method readFileContents (line 131) | private CompletableFuture readFileContents(Path path) { method appendInternal (line 143) | @JsMethod method writeInternal (line 148) | @JsMethod method deleteInternal (line 153) | @JsMethod method dirInternal (line 167) | @JsMethod method mimeTypeInternal (line 180) | @JsMethod method createDirectoryInternal (line 193) | @JsMethod method existsInternal (line 204) | @JsMethod FILE: src/peergos/shared/user/CapsDiff.java class CapsDiff (line 8) | public class CapsDiff { method CapsDiff (line 13) | public CapsDiff(long priorReadByteOffset, method readCapCount (line 23) | public int readCapCount() { method writeCapCount (line 27) | public int writeCapCount() { method flatten (line 31) | public CapsDiff flatten() { method getNewCaps (line 37) | public List getNewCaps() { method mergeGroups (line 45) | public CapsDiff mergeGroups(CapsDiff other) { method isEmpty (line 52) | public boolean isEmpty() { method updatedReadBytes (line 58) | public long updatedReadBytes() { method updatedWriteBytes (line 62) | public long updatedWriteBytes() { method priorBytes (line 66) | public long priorBytes() { method empty (line 70) | public static CapsDiff empty() { class ReadAndWriteCaps (line 74) | public static class ReadAndWriteCaps { method ReadAndWriteCaps (line 77) | public ReadAndWriteCaps(CapabilitiesFromUser readCaps, CapabilitiesF... method empty (line 82) | public static ReadAndWriteCaps empty() { FILE: src/peergos/shared/user/CommittedWriterData.java class CommittedWriterData (line 11) | public class CommittedWriterData implements Cborable { method CommittedWriterData (line 17) | public CommittedWriterData(MaybeMultihash hash, Optional p... method CommittedWriterData (line 23) | public CommittedWriterData(MaybeMultihash hash, WriterData props, Opti... method toString (line 27) | @Override method equals (line 32) | @Override method hashCode (line 40) | @Override type Retriever (line 45) | public interface Retriever { method getWriterData (line 46) | CompletableFuture getWriterData(Cid hash, Optio... method toCbor (line 49) | @Override method fromCbor (line 58) | public static CommittedWriterData fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/Committer.java type Committer (line 10) | public interface Committer { method commit (line 12) | CompletableFuture commit(PublicKeyHash owner, method commit (line 18) | default CompletableFuture commit(PublicKeyHash owner, FILE: src/peergos/shared/user/CommitterBuilder.java type CommitterBuilder (line 7) | public interface CommitterBuilder { method buildCommitter (line 9) | Committer buildCommitter(Committer c, PublicKeyHash owner, Supplier { method apply (line 9) | CompletableFuture> apply(Snapshot input, Committer c... FILE: src/peergos/shared/user/ComplexMutation.java type ComplexMutation (line 5) | public interface ComplexMutation { method apply (line 7) | CompletableFuture apply(Snapshot input, Committer committer); FILE: src/peergos/shared/user/EntryPoint.java class EntryPoint (line 15) | @JsType method EntryPoint (line 21) | public EntryPoint(AbsoluteCapability pointer, String ownerName) { method withOwner (line 26) | public EntryPoint withOwner(PublicKeyHash newOwner) { method serializeAndSymmetricallyEncrypt (line 30) | public byte[] serializeAndSymmetricallyEncrypt(SymmetricKey key) { method isValid (line 41) | public CompletableFuture isValid(String path, NetworkAccess n... method toCbor (line 54) | @Override method fromCbor (line 63) | @SuppressWarnings("unusable-by-js") method equals (line 74) | @Override method hashCode (line 83) | @Override method symmetricallyDecryptAndDeserialize (line 88) | static EntryPoint symmetricallyDecryptAndDeserialize(byte[] input, Sym... method toString (line 94) | @Override FILE: src/peergos/shared/user/ExternalTrieNode.java class ExternalTrieNode (line 10) | public class ExternalTrieNode implements TrieNode { method ExternalTrieNode (line 14) | public ExternalTrieNode(String dirPath, TrieNode root) { method subPath (line 21) | private String subPath(String relative) { method getByPath (line 27) | @Override method getByPath (line 32) | @Override method getChildren (line 37) | @Override method getChildren (line 42) | @Override method getChildNames (line 47) | @Override method put (line 52) | @Override method putNode (line 57) | @Override method removeEntry (line 62) | @Override method getChildNodes (line 67) | @Override method getChildNode (line 72) | @Override method isEmpty (line 77) | @Override FILE: src/peergos/shared/user/FileSharedWithState.java class FileSharedWithState (line 6) | @JsType method FileSharedWithState (line 13) | public FileSharedWithState(Set readAccess, Set writeAc... method get (line 19) | public Set get(SharedWithCache.Access type) { FILE: src/peergos/shared/user/FriendAnnotation.java class FriendAnnotation (line 9) | public class FriendAnnotation implements Cborable { method FriendAnnotation (line 15) | @JsConstructor method getUsername (line 22) | public String getUsername() { method isVerified (line 26) | @JsMethod method toCbor (line 31) | @Override method fromCbor (line 40) | public static FriendAnnotation fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/FriendSourcedTrieNode.java class FriendSourcedTrieNode (line 15) | public class FriendSourcedTrieNode implements TrieNode { method FriendSourcedTrieNode (line 24) | public FriendSourcedTrieNode(IncomingCapCache cache, type GroupAdder (line 37) | public interface GroupAdder { method add (line 38) | CompletableFuture add(CapabilityWithPath cap, String owner... method addGroup (line 41) | public synchronized void addGroup(EntryPoint group) { method build (line 46) | public static CompletableFuture> build... method build (line 53) | public static CompletableFuture> build... method getLatestVersion (line 61) | public CompletableFuture getLatestVersion(NetworkAccess netw... method ensureUptodate (line 71) | public synchronized CompletableFuture> ensure... method getCaps (line 78) | public synchronized CompletableFuture getCaps(ProcessedCaps ... method getFriendRoot (line 84) | private CompletableFuture> getFriendRoot(Network... method convert (line 101) | private FileWrapper convert(FileWrapper file, String path) { method updateIncludingGroups (line 105) | public CompletableFuture> updateIncludingGrou... method getByPath (line 123) | @Override method getByPath (line 139) | @Override method canonicalise (line 153) | private static String canonicalise(String path) { method getChildren (line 159) | @Override method getChildren (line 174) | @Override method getChildNames (line 187) | @Override method put (line 192) | @Override method putNode (line 197) | @Override method removeEntry (line 202) | @Override method getChildNodes (line 209) | @Override method getChildNode (line 214) | @Override method isEmpty (line 219) | @Override FILE: src/peergos/shared/user/FriendsGroups.java class FriendsGroups (line 9) | public class FriendsGroups implements Cborable { method FriendsGroups (line 13) | public FriendsGroups(Map pathToGroup) { method getFriends (line 17) | public Set getFriends(String friend) { method addGroup (line 24) | public FriendsGroups addGroup(CapabilityWithPath group, String owner) { method empty (line 30) | public static FriendsGroups empty() { method toCbor (line 34) | @Override method fromCbor (line 44) | public static FriendsGroups fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/Groups.java class Groups (line 10) | public class Groups implements Cborable { method Groups (line 13) | public Groups(Map uidToGroupName) { method generate (line 17) | public static Groups generate(SafeRandom r) { method generateUid (line 26) | public static String generateUid(SafeRandom r) { method toCbor (line 30) | @Override method fromCbor (line 42) | public static Groups fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/HttpAccount.java class HttpAccount (line 15) | public class HttpAccount implements AccountProxy { method HttpAccount (line 21) | public HttpAccount(HttpPoster direct, HttpPoster p2p) { method HttpAccount (line 27) | public HttpAccount(HttpPoster p2p, Multihash targetNodeID) { method getProxyUrlPrefix (line 33) | private static String getProxyUrlPrefix(Multihash targetId) { method setLoginData (line 37) | @Override method setLoginData (line 42) | @Override method setLoginData (line 47) | private CompletableFuture setLoginData(String urlPrefix, method getLoginData (line 64) | @Override method getLoginData (line 75) | @Override method getLoginData (line 84) | private CompletableFuture> getSecondAuthMe... method addTotpFactor (line 118) | @Override method addTotpFactor (line 123) | @Override method addTotpFactor (line 128) | private CompletableFuture addTotpFactor(String urlPrefix, Htt... method registerSecurityKeyStart (line 134) | @Override method registerSecurityKeyStart (line 139) | @Override method registerSecurityKeyStart (line 144) | private CompletableFuture registerSecurityKeyStart(String urlP... method registerSecurityKeyComplete (line 149) | @Override method registerSecurityKeyComplete (line 154) | @Override method registerSecurityKeyComplete (line 159) | private CompletableFuture registerSecurityKeyComplete(String ... method enableTotpFactor (line 166) | @Override method enableTotpFactor (line 171) | @Override method enableTotpFactor (line 176) | private CompletableFuture enableTotpFactor(String urlPrefix, method deleteSecondFactor (line 189) | @Override method deleteSecondFactor (line 194) | @Override method deleteSecondFactor (line 199) | private CompletableFuture deleteSecondFactor(String urlPrefix, FILE: src/peergos/shared/user/HttpPoster.java type HttpPoster (line 6) | public interface HttpPoster { method post (line 8) | CompletableFuture post(String url, byte[] payload, boolean unz... method post (line 10) | default CompletableFuture post(String url, byte[] payload, boo... method postUnzip (line 14) | CompletableFuture postUnzip(String url, byte[] payload, int ti... method postUnzip (line 16) | default CompletableFuture postUnzip(String url, byte[] payload) { method postMultipart (line 20) | default CompletableFuture postMultipart(String url, List postMultipart(String url, List files... method put (line 26) | CompletableFuture put(String url, byte[] payload, Map put(String url, byte[] payload, Map<... method get (line 32) | CompletableFuture get(String url, Map headers); method get (line 34) | default CompletableFuture get(String url) { FILE: src/peergos/shared/user/IdentityLink.java class IdentityLink (line 15) | public class IdentityLink implements Cborable { type KnownService (line 17) | @JsType method KnownService (line 34) | KnownService(int code, String usernameRegex) { method byCode (line 50) | public static KnownService byCode(int t) { method byName (line 56) | public static KnownService byName(String name) { class IdentityService (line 64) | public static class IdentityService implements Cborable { method IdentityService (line 67) | public IdentityService(Either name) { method usernameRegex (line 71) | public String usernameRegex() { method name (line 78) | @JsMethod method toCbor (line 83) | @Override method fromCbor (line 96) | public static IdentityService fromCbor(Cborable cbor) { method equals (line 106) | @Override method hashCode (line 114) | @Override method parse (line 119) | public static IdentityService parse(String name) { method IdentityLink (line 133) | public IdentityLink(String usernameA, IdentityService serviceA, String... method textToPost (line 140) | public String textToPost() { method parse (line 144) | public static IdentityLink parse(String firstLine) { method decrypt (line 155) | public static CompletableFuture decrypt(String encrypted... method toCbor (line 162) | @Override method fromCbor (line 172) | public static IdentityLink fromCbor(Cborable cbor) { method equals (line 185) | @Override method hashCode (line 196) | @Override FILE: src/peergos/shared/user/IdentityLinkProof.java class IdentityLinkProof (line 15) | public class IdentityLinkProof implements Cborable { method IdentityLinkProof (line 26) | public IdentityLinkProof(IdentityLink claim, method hasUrl (line 36) | @JsMethod method signedClaim (line 41) | public byte[] signedClaim() { method isValid (line 46) | public CompletableFuture isValid(PublicSigningKey peergosIden... method encodedSignature (line 55) | @JsMethod method postText (line 60) | public String postText(String urlToPeergosPost) { method getFilename (line 64) | public String getFilename() { method getUrlToPost (line 68) | public String getUrlToPost(String peergosServerUrl, FileWrapper proofF... method encryptedPostText (line 79) | public String encryptedPostText() { method withPostUrl (line 88) | public IdentityLinkProof withPostUrl(String postUrl) { method withKey (line 92) | public IdentityLinkProof withKey(SymmetricKey key) { method toCbor (line 96) | @Override method fromCbor (line 111) | @JsMethod method parse (line 130) | @JsMethod method buildAndSign (line 140) | @JsMethod FILE: src/peergos/shared/user/ImmutableTree.java type ImmutableTree (line 17) | public interface ImmutableTree { method get (line 25) | CompletableFuture> get(byte[] rawKey); method put (line 34) | CompletableFuture put(PublicKeyHash owner, method remove (line 48) | CompletableFuture remove(PublicKeyHash owner, FILE: src/peergos/shared/user/IncomingCapCache.java class IncomingCapCache (line 30) | public class IncomingCapCache { method IncomingCapCache (line 40) | public IncomingCapCache(FileWrapper cacheRoot, FileWrapper worldRoot, ... method build (line 48) | public static CompletableFuture build(FileWrapper ca... method owner (line 53) | public PublicKeyHash owner() { method signingPair (line 57) | public SigningPrivateKeyAndPublicHash signingPair() { class ChildElement (line 61) | public static class ChildElement implements Cborable { method ChildElement (line 66) | public ChildElement(PathElement name, AbsoluteCapability cap, List children) { method addChild (line 102) | public CompletableFuture addChild(String filename, method getChild (line 150) | public Optional getChild(String name) { method getChildren (line 157) | public Set getChildren() { method getChildNames (line 163) | public Set getChildNames() { method empty (line 169) | public static CapsInDirectory empty() { method of (line 173) | public static CapsInDirectory of(String filename, AbsoluteCapability... method toCbor (line 177) | @Override method fromCbor (line 184) | public static CapsInDirectory fromCbor(Cborable cbor) { method getByPath (line 194) | public CompletableFuture> getByPath(Path file, method pathSuffix (line 209) | private static String pathSuffix(List path, int from) { method getByPath (line 215) | private CompletableFuture> getByPath(FileWrapper... method getCaps (line 266) | private CompletableFuture getCaps(FileWrapper dir, Sn... method getAnyValidParentOfAChild (line 277) | private CompletableFuture> getAnyValidParentOfAC... method getIndirectChildren (line 302) | private CompletableFuture> getIndirectChildren(FileWr... method getChildren (line 318) | public CompletableFuture> getChildren(Path dir, method getChildren (line 333) | private CompletableFuture> getChildren(FileWrapper mi... method getVersion (line 375) | public Snapshot getVersion() { method getLatestVersion (line 379) | public CompletableFuture getLatestVersion(EntryPoint sharedD... method ensureFriendUptodate (line 384) | public synchronized CompletableFuture> ensure... method getCapsFrom (line 419) | public CompletableFuture getCapsFrom(String friend, method retrieveNewCaps (line 445) | private static CompletableFuture retrieveNewCaps(FileWrapper... method retrieveNewCaps (line 457) | private static CompletableFuture retrieveNewCaps(FileWrapper... method ensureUptodate (line 471) | private synchronized CompletableFuture> ensur... method getWritableCaps (line 486) | private static synchronized CompletableFuture ge... method addNewCapsToMirror (line 499) | private CompletableFuture> addNewCapsToMirror... method addCapToMirror (line 529) | private static CompletableFuture addCapToMirror(String fr... method getAndUpdateWorldRoot (line 565) | private synchronized CompletableFuture getAndUpdateWorldR... method getAndUpdateRoot (line 572) | private synchronized CompletableFuture getAndUpdateRoot(S... FILE: src/peergos/shared/user/JavaScriptPoster.java class JavaScriptPoster (line 8) | public class JavaScriptPoster implements HttpPoster { method JavaScriptPoster (line 13) | public JavaScriptPoster(boolean isAbsolute, boolean useGet) { method canonicalise (line 18) | private String canonicalise(String url) { method post (line 24) | @Override method post (line 29) | @Override method postUnzip (line 34) | @Override method postUnzip (line 39) | @Override method postMultipart (line 44) | @Override method put (line 49) | @Override method get (line 60) | @Override method get (line 65) | @Override method emptyArray (line 79) | @JsMethod method convertToBytes (line 85) | @JsMethod FILE: src/peergos/shared/user/LinkProperties.java class LinkProperties (line 13) | public class LinkProperties implements Cborable { method LinkProperties (line 22) | public LinkProperties(long label, String linkPassword, String userPass... method with (line 34) | @JsMethod method withExisting (line 40) | public LinkProperties withExisting(Optional existing) { method toLink (line 44) | public SecretLink toLink(PublicKeyHash owner) { method autoOpen (line 48) | @JsMethod method maxRetrievalsString (line 53) | @JsMethod method toLinkString (line 58) | @JsMethod method getLinkLabel (line 63) | @JsMethod method toCbor (line 68) | @Override method fromCbor (line 82) | public static LinkProperties fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/LoginData.java class LoginData (line 10) | public class LoginData implements Cborable { method LoginData (line 17) | public LoginData(String username, method toCbor (line 27) | @Override method fromCbor (line 40) | public static LoginData fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/Migrate.java class Migrate (line 11) | public class Migrate { method buildMigrationChain (line 13) | public static CompletableFuture> buildMigratio... FILE: src/peergos/shared/user/MutableTree.java type MutableTree (line 14) | public interface MutableTree { method put (line 26) | CompletableFuture put(WriterData base, method get (line 43) | CompletableFuture get(WriterData base, PublicKeyHash o... method remove (line 53) | CompletableFuture remove(WriterData base, method removeAll (line 64) | CompletableFuture removeAll(WriterData base, FILE: src/peergos/shared/user/MutableTreeImpl.java class MutableTreeImpl (line 20) | public class MutableTreeImpl implements MutableTree { method MutableTreeImpl (line 29) | public MutableTreeImpl(MutablePointers mutable, method log (line 39) | private T log(T result, String toPrint) { method put (line 45) | @Override method get (line 62) | @Override method remove (line 74) | @Override method removeAll (line 90) | @Override FILE: src/peergos/shared/user/Mutation.java type Mutation (line 7) | public interface Mutation { method apply (line 9) | CompletableFuture apply(WriterData input, TransactionId tid); FILE: src/peergos/shared/user/NativeJSAccountCache.java class NativeJSAccountCache (line 9) | @JsType(namespace = "accountCache", isNative = true) method init (line 12) | public native void init(); method setLoginData (line 14) | public native CompletableFuture setLoginData(String key, byte... method remove (line 16) | public native CompletableFuture remove(String key); method getEntryData (line 18) | public native CompletableFuture getEntryData(String key); FILE: src/peergos/shared/user/NativeJSBatCache.java class NativeJSBatCache (line 9) | @JsType(namespace = "batCache", isNative = true) method init (line 12) | public native void init(); method getUserBats (line 14) | public native CompletableFuture getUserBats(String username); method setUserBats (line 16) | public native CompletableFuture setUserBats(String username, ... FILE: src/peergos/shared/user/NativeJSCache.java class NativeJSCache (line 9) | @JsType(namespace = "cache", isNative = true) method init (line 12) | public native void init(int maxSizeMiB); method put (line 14) | public native CompletableFuture put(Cid hash, byte[] data); method get (line 16) | public native CompletableFuture> get(Cid hash); method hasBlock (line 18) | public native boolean hasBlock(Cid hash); method clear (line 20) | public native CompletableFuture clear(); FILE: src/peergos/shared/user/NativeJSHttp.java class NativeJSHttp (line 8) | @JsType(namespace = "http", isNative = true) method post (line 15) | public native CompletableFuture post(String url, byte[] payloa... method get (line 49) | public native CompletableFuture get(String url) ; method getWithHeaders (line 81) | public native CompletableFuture getWithHeaders(String url, Str... method postMultipart (line 83) | public native CompletableFuture postMultipart(String url, List... method put (line 85) | public native CompletableFuture put(String url, byte[] payload... FILE: src/peergos/shared/user/NativeJSPkiCache.java class NativeJSPkiCache (line 8) | @JsType(namespace = "pkiCache", isNative = true) method init (line 11) | public native void init(); method getChain (line 13) | public native CompletableFuture> getChain(String username); method setChain (line 15) | public native CompletableFuture setChain(String username, Str... method getUsername (line 17) | public native CompletableFuture getUsername(String serialisedP... FILE: src/peergos/shared/user/NativeJSPointerCache.java class NativeJSPointerCache (line 9) | @JsType(namespace = "pointerCache", isNative = true) method init (line 12) | public native void init(int size); method put (line 14) | public native CompletableFuture put(PublicKeyHash owner, Publ... method get (line 16) | public native CompletableFuture> get(PublicKeyHash ow... FILE: src/peergos/shared/user/OwnedKeyChamp.java class OwnedKeyChamp (line 16) | public class OwnedKeyChamp { method OwnedKeyChamp (line 22) | private OwnedKeyChamp(Multihash root, ChampWrapper createEmpty(PublicKeyHash owner, method build (line 40) | public static CompletableFuture build(PublicKeyHash own... method reverse (line 45) | private static byte[] reverse(byte[] in) { method keyToBytes (line 52) | private static byte[] keyToBytes(PublicKeyHash key) { method get (line 56) | public CompletableFuture> get(PublicKeyHash owner, method add (line 64) | public CompletableFuture add(PublicKeyHash owner, method remove (line 74) | public CompletableFuture remove(PublicKeyHash owner, method contains (line 85) | public CompletableFuture contains(PublicKeyHash ownedKey) { method applyToAllMappings (line 90) | public CompletableFuture applyToAllMappings(PublicKeyHash owner, FILE: src/peergos/shared/user/PendingSocialState.java class PendingSocialState (line 8) | public class PendingSocialState implements Cborable { method PendingSocialState (line 12) | public PendingSocialState(Set pendingOutgoingFollowRequests) { method withPending (line 16) | public PendingSocialState withPending(String username) { method withoutPending (line 22) | public PendingSocialState withoutPending(String username) { method empty (line 28) | public static PendingSocialState empty() { method toCbor (line 32) | @Override method fromCbor (line 41) | public static PendingSocialState fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/Profile.java class Profile (line 7) | @JsType method Profile (line 18) | public Profile(Optional profilePhoto, FILE: src/peergos/shared/user/ProfilePaths.java class ProfilePaths (line 17) | public class ProfilePaths { method getAndParse (line 30) | private static CompletableFuture> getAndParse(Path p, ... method parse (line 35) | private static CompletableFuture> parse(Optional CompletableFuture serializeAndSet(Path p, ... method getProfile (line 51) | @JsMethod method getProfileFields (line 60) | public static CompletableFuture getProfileFields(Function serverIds, CoreNode core, Account loc... method setLoginData (line 26) | @Override method getLoginData (line 37) | @Override method addTotpFactor (line 52) | @Override method registerSecurityKeyStart (line 61) | @Override method registerSecurityKeyComplete (line 72) | @Override method getSecondAuthMethods (line 81) | @Override method enableTotpFactor (line 90) | @Override method deleteSecondFactor (line 99) | @Override FILE: src/peergos/shared/user/RandomSecretType.java class RandomSecretType (line 7) | public class RandomSecretType implements SecretGenerationAlgorithm { method RandomSecretType (line 9) | public RandomSecretType() { method toCbor (line 12) | @Override method fromCbor (line 19) | static RandomSecretType fromCbor(CborObject cbor) { method generateBoxerAndIdentity (line 23) | @Override method withoutBoxerOrIdentity (line 28) | @Override method getType (line 33) | @Override method getExtraSalt (line 38) | @Override FILE: src/peergos/shared/user/RetrievedEntryPoint.java class RetrievedEntryPoint (line 5) | public class RetrievedEntryPoint { method RetrievedEntryPoint (line 11) | public RetrievedEntryPoint(EntryPoint entry, String path, FileWrapper ... method getPath (line 17) | public String getPath() { FILE: src/peergos/shared/user/ScryptGenerator.java class ScryptGenerator (line 8) | public class ScryptGenerator implements SecretGenerationAlgorithm { method ScryptGenerator (line 18) | public ScryptGenerator(int memoryCost, int cpuCost, int parallelism, i... method generateBoxerAndIdentity (line 28) | @Override method withoutBoxerOrIdentity (line 33) | @Override method getExtraSalt (line 38) | @Override method toCbor (line 43) | @Override method fromCbor (line 55) | static ScryptGenerator fromCbor(Cborable cbor) { method getType (line 65) | @Override FILE: src/peergos/shared/user/SecretGenerationAlgorithm.java type SecretGenerationAlgorithm (line 10) | public interface SecretGenerationAlgorithm extends Cborable { type Type (line 12) | @JsType method Type (line 19) | Type(int value) { method byValue (line 24) | public static Type byValue(int val) { method getType (line 31) | @JsMethod method getExtraSalt (line 34) | String getExtraSalt(); method generateBoxerAndIdentity (line 36) | boolean generateBoxerAndIdentity(); method withoutBoxerOrIdentity (line 38) | SecretGenerationAlgorithm withoutBoxerOrIdentity(); method getDefault (line 40) | static SecretGenerationAlgorithm getDefault(SafeRandom rnd) { method getLegacy (line 44) | static SecretGenerationAlgorithm getLegacy(SafeRandom rnd) { method getDefaultWithoutExtraSalt (line 48) | static SecretGenerationAlgorithm getDefaultWithoutExtraSalt() { method generateSalt (line 52) | static String generateSalt(SafeRandom rnd) { method withNewSalt (line 56) | static SecretGenerationAlgorithm withNewSalt(SecretGenerationAlgorithm... method fromCbor (line 64) | static SecretGenerationAlgorithm fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/SecretLinkChamp.java class SecretLinkChamp (line 17) | public class SecretLinkChamp { method SecretLinkChamp (line 24) | private SecretLinkChamp(Multihash root, ChampWrapper createEmpty(PublicKeyHash owner, method build (line 44) | public static CompletableFuture build(PublicKeyHash o... method keyToBytes (line 49) | private CompletableFuture keyToBytes(long key) { method get (line 57) | public CompletableFuture> get(PublicKeyHash... method add (line 66) | public CompletableFuture> add(SigningPrivateKeyAn... method remove (line 79) | public CompletableFuture remove(PublicKeyHash owner, method contains (line 91) | public CompletableFuture contains(long label) { FILE: src/peergos/shared/user/ServerConversation.java class ServerConversation (line 7) | public class ServerConversation implements Comparable { method ServerConversation (line 14) | public ServerConversation(List messages) { method lastMessage (line 26) | public ServerMessage lastMessage() { method compareTo (line 30) | @Override method combine (line 35) | public static List combine(List all) { FILE: src/peergos/shared/user/ServerMessage.java class ServerMessage (line 9) | @JsType type Type (line 13) | @JsType method Type (line 20) | Type(int value) { method byValue (line 25) | public static Type byValue(int val) { method ServerMessage (line 44) | public ServerMessage(long id, Type type, long sentEpochMillis, String ... method summary (line 55) | public String summary() { method getAuthor (line 60) | @JsMethod method id (line 65) | @JsMethod method getPreviousMessageId (line 70) | @JsMethod method getContents (line 75) | @JsMethod method getSendTime (line 80) | @JsMethod method compareTo (line 85) | @Override method buildUserMessage (line 90) | public static ServerMessage buildUserMessage(String body) { method toCbor (line 94) | @Override method fromCbor (line 106) | public static ServerMessage fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/ServerMessager.java type ServerMessager (line 11) | public interface ServerMessager { method getMessages (line 13) | CompletableFuture> getMessages(String username, by... method sendMessage (line 15) | CompletableFuture sendMessage(String username, byte[] signedB... method getMessages (line 17) | default CompletableFuture> getMessages(String user... method sendMessage (line 24) | default CompletableFuture sendMessage(String username, Server... class HTTP (line 29) | class HTTP implements ServerMessager { method HTTP (line 32) | public HTTP(HttpPoster poster) { method getMessages (line 36) | @Override method sendMessage (line 46) | @Override FILE: src/peergos/shared/user/SharedWithCache.java class SharedWithCache (line 21) | public class SharedWithCache { type Access (line 23) | @JsType method SharedWithCache (line 35) | public SharedWithCache(FileWrapper base, method canonicalise (line 45) | private static Path canonicalise(Path p) { method toRelative (line 49) | private static Path toRelative(Path p) { method cacheBase (line 53) | private static Path cacheBase(String username) { method retrieve (line 57) | private CompletableFuture> retrieve(Path dir... method retrieveWithFile (line 61) | private CompletableFuture>... method addSharedWith (line 72) | private static CompletableFuture addSharedWith(FileWrapper b... method buildSharedWithCache (line 91) | private static CompletableFuture buildSharedWithCache(TrieNod... method initializeCache (line 121) | private static CompletableFuture initializeCache(Trie... method initOrBuild (line 136) | public static CompletableFuture initOrBuild(TrieNode ... method getOrMkdir (line 145) | private static CompletableFuture getOrMkdir(FileWrapper p... method getOrMkdirs (line 156) | private static CompletableFuture getOrMkdirs(FileWrapper ... method getDirSharingState (line 163) | public CompletableFuture getDirSharingState(Path dir,... method processShared (line 172) | public CompletableFuture processShared(BiConsumer processShared(BiConsumer> r... method toList (line 228) | private static List toList(Path p) { method parseCacheFile (line 232) | private static CompletableFuture parseCacheFile(FileW... method getFilename (line 239) | private static String getFilename(Path p) { method getAllDescendantShares (line 243) | public CompletableFuture> getAllDescendantS... method merge (line 269) | private Map merge(Map a, Map b) { method getAllDescendantSharesRecurse (line 275) | public CompletableFuture> getAllDescendantS... method getAllReadShares (line 291) | public CompletableFuture>> getAllReadShares(Path... method getAllWriteShares (line 300) | public CompletableFuture>> getAllWriteShares(Pat... method getSharedWith (line 309) | public CompletableFuture getSharedWith(Path p, Sn... method applyAndCommit (line 314) | public CompletableFuture applyAndCommit(Path toFile, Functio... method applyIfPresentAndCommit (line 328) | public CompletableFuture applyIfPresentAndCommit(Path toFile... method deleteDirIfPresent (line 346) | public CompletableFuture deleteDirIfPresent(Path toDir, Snap... method rename (line 362) | public CompletableFuture rename(Path initial, Path after, Sn... method addSecretLink (line 375) | public CompletableFuture addSecretLink(Path p, LinkPropertie... method removeSecretLink (line 380) | public CompletableFuture removeSecretLink(Path p, long label... method addSharedWith (line 384) | public CompletableFuture addSharedWith(Access access, Path p... method addAllSharedWith (line 388) | public CompletableFuture addAllSharedWith(Map clearSharedWith(Path p, Snapshot in... method removeSharedWith (line 397) | public CompletableFuture removeSharedWith(Access access, Pat... FILE: src/peergos/shared/user/SharedWithState.java class SharedWithState (line 15) | public class SharedWithState implements Cborable { method SharedWithState (line 20) | public SharedWithState(Map> readShares, method isEmpty (line 28) | public boolean isEmpty() { method empty (line 32) | public static SharedWithState empty() { method readShares (line 36) | public Map> readShares() { method links (line 40) | public Map> links() { method writeShares (line 44) | public Map> writeShares() { method get (line 48) | @JsMethod method filter (line 57) | public Optional filter(String childName) { method addLink (line 80) | public SharedWithState addLink(String filename, LinkProperties link) { method addLinks (line 93) | public SharedWithState addLinks(String filename, Set n... method removeLink (line 106) | public SharedWithState removeLink(String filename, long label) { method add (line 122) | public SharedWithState add(SharedWithCache.Access access, String filen... method addAll (line 145) | public SharedWithState addAll(SharedWithState other) { method remove (line 176) | public SharedWithState remove(SharedWithCache.Access access, String fi... method clear (line 201) | public SharedWithState clear(String filename) { method isShared (line 224) | @JsMethod method hasLink (line 229) | @JsMethod method toCbor (line 234) | @Override method fromCbor (line 258) | public static SharedWithState fromCbor(Cborable cbor) { method equals (line 283) | @Override method hashCode (line 291) | @Override FILE: src/peergos/shared/user/Snapshot.java class Snapshot (line 18) | public class Snapshot implements Cborable { method Snapshot (line 22) | public Snapshot(Map versions) { method Snapshot (line 26) | public Snapshot(PublicKeyHash writer, CommittedWriterData base) { method merge (line 32) | public Snapshot merge(Snapshot other) { method mergeAndOverwriteWith (line 42) | public Snapshot mergeAndOverwriteWith(Snapshot other) { method retainOnly (line 50) | public Snapshot retainOnly(PublicKeyHash writer) { method contains (line 54) | public boolean contains(PublicKeyHash writer) { method get (line 58) | public CommittedWriterData get(PublicKeyHash writer) { method get (line 64) | public CommittedWriterData get(SigningPrivateKeyAndPublicHash writer) { method remove (line 70) | public Snapshot remove(PublicKeyHash w) { method withVersion (line 76) | public Snapshot withVersion(PublicKeyHash writer, CommittedWriterData ... method withWriter (line 82) | public CompletableFuture withWriter(PublicKeyHash owner, Pub... method withWriters (line 88) | public CompletableFuture withWriters(PublicKeyHash owner, Se... method toCbor (line 93) | @Override method fromCbor (line 102) | public static Snapshot fromCbor(Cborable cbor) { method equals (line 114) | @Override method hashCode (line 122) | @Override method toString (line 127) | @Override FILE: src/peergos/shared/user/SocialState.java class SocialState (line 10) | @JsType method SocialState (line 23) | public SocialState(List pendingIncoming, method getFollowers (line 49) | public Set getFollowers() { method getFollowing (line 53) | public Set getFollowing() { method getFriends (line 57) | public Set getFriends() { method getFriendsGroupUid (line 63) | public String getFriendsGroupUid() { method getFollowersGroupUid (line 67) | public String getFollowersGroupUid() { FILE: src/peergos/shared/user/TofuKeyStore.java class TofuKeyStore (line 15) | public class TofuKeyStore implements Cborable { method TofuKeyStore (line 21) | public TofuKeyStore(Map> chains, Map getPublicKey(String username) { method getUsername (line 42) | public Optional getUsername(PublicKeyHash signer) { method getChain (line 47) | public List getChain(String username) { method updateChain (line 58) | public CompletableFuture updateChain(String username, List> getByPath(String path, Hasher... method getByPath (line 16) | @JsIgnore method getChildren (line 19) | CompletableFuture> getChildren(String path, Hasher ha... method getChildren (line 21) | @JsIgnore method getChildNames (line 24) | Set getChildNames(); method put (line 26) | TrieNode put(String path, EntryPoint e); method putNode (line 28) | TrieNode putNode(String path, TrieNode t); method removeEntry (line 30) | TrieNode removeEntry(String path); method getChildNodes (line 32) | Collection getChildNodes(); method getChildNode (line 34) | TrieNode getChildNode(String name); method isEmpty (line 36) | boolean isEmpty(); method canonicalise (line 38) | static String canonicalise(String path) { FILE: src/peergos/shared/user/TrieNodeImpl.java class TrieNodeImpl (line 15) | @JsType method disableLog (line 18) | public static void disableLog() { method TrieNodeImpl (line 24) | @JsConstructor method getAnyValidParentOfAChild (line 30) | private CompletableFuture> getAnyValidParentOfAC... method getByPath (line 40) | @Override method indirectlyRetrieveChildren (line 71) | private CompletableFuture> indirectlyRetrieveChildren... method getByPath (line 81) | @Override method getChildren (line 113) | @Override method getChildren (line 149) | @Override method getChildNames (line 186) | @Override method put (line 191) | @Override method putNode (line 207) | @Override method removeEntry (line 224) | @Override method getChildNodes (line 243) | @Override method getChildNode (line 248) | @Override method empty (line 253) | public static TrieNodeImpl empty() { method isEmpty (line 257) | @Override FILE: src/peergos/shared/user/UserContext.java class UserContext (line 44) | public class UserContext { method UserContext (line 84) | public UserContext(String username, method buildTransactionService (line 113) | private static CompletableFuture buildTransactionS... method buildCapCache (line 124) | private static CompletableFuture buildCapCache(TrieN... method getTransactionService (line 135) | @JsMethod method signIn (line 140) | public static CompletableFuture signIn(String username, method signIn (line 148) | @JsMethod method signIn (line 181) | public static CompletableFuture signIn(String username, method restoreContext (line 193) | @JsMethod method getLoginData (line 217) | private static CompletableFuture login(String username, method login (line 290) | private static CompletableFuture login(String username, method signUp (line 331) | @JsMethod method ensureCurrentHost (line 356) | @JsMethod method isPostQuantum (line 375) | @JsMethod method ensurePostQuantum (line 384) | @JsMethod method getAndVerifyServerIdChain (line 420) | public CompletableFuture getAndVerifyServerIdChain(Multihash ... method validateResolutionRecord (line 432) | public CompletableFuture validateResolutionRecord(Ip... method getVersion (line 436) | @JsMethod method signSpaceRequest (line 442) | private static CompletableFuture signSpaceRequest(String usern... method signUp (line 447) | public static CompletableFuture signUp(String username, method signUpGeneral (line 459) | public static CompletableFuture signUpGeneral(String user... method completeSignup (line 547) | private static CompletableFuture completeSignup(String username, method startMirror (line 570) | private static CompletableFuture startMirror(String username, method mirrorLoginData (line 592) | @JsMethod method mirrorOnThisServer (line 626) | @JsMethod method getMigrationId (line 651) | @JsMethod method isHome (line 657) | @JsMethod method migrateToThisServer (line 665) | @JsMethod method retryUntilPositiveQuota (line 680) | private static CompletableFuture retryUntilPositiveQuota(Netw... method ensureUsernameClaimRenewed (line 698) | @JsMethod method createSpecialDirectory (line 706) | private static CompletableFuture createSpecialDirectory(Trie... class EncryptedURL (line 717) | @JsType method EncryptedURL (line 722) | public EncryptedURL(String base64Nonce, String base64Ciphertext) { method encryptURL (line 728) | @JsMethod method decryptURL (line 739) | @JsMethod method generateFingerPrint (line 752) | @JsMethod method isSecretLink (line 769) | @JsMethod method fromSecretLinksV2 (line 774) | public static CompletableFuture fromSecretLinksV2(List fromSecretLink(AbsoluteC... method fromSecretLinks (line 832) | private static CompletableFuture fromSecretLinks(List buildTrieFromCap(AbsoluteCa... method buildTrieFromCaps (line 875) | private static CompletableFuture buildTrieFromCaps(List createSecretLink(String fileP... method updateSecretLink (line 931) | @JsMethod method updateSecretLink (line 938) | private CompletableFuture> updateSecret... method deleteSecretLink (line 964) | @JsMethod method deleteSecretLink (line 971) | public CompletableFuture deleteSecretLink(long label, Path t... method getPublicCapability (line 982) | public static CompletableFuture getPublicCapabilit... method getPublicFile (line 1006) | @JsMethod method getEntryPath (line 1015) | @JsMethod method getLinkPath (line 1025) | private CompletableFuture getLinkPath(FileWrapper file) { method init (line 1041) | private CompletableFuture init(Consumer progressC... method getMirrorBat (line 1052) | public static CompletableFuture> getMirrorBat(Stri... method getMirrorBat (line 1083) | public CompletableFuture> getMirrorBat() { method ensureMirrorId (line 1087) | @JsMethod method mirrorBatId (line 1104) | public Optional mirrorBatId() { method getSharingFolder (line 1108) | public CompletableFuture getSharingFolder() { method getAndDecodePendingSpaceRequests (line 1116) | @JsMethod method getPendingSpaceRequests (line 1125) | @JsMethod method decodeSpaceRequests (line 1137) | @JsMethod method approveSpaceRequest (line 1147) | @JsMethod method rejectSpaceRequest (line 1160) | @JsMethod method getPaymentProperties (line 1169) | @JsMethod method getQuota (line 1179) | @JsMethod method getSpaceUsage (line 1189) | @JsMethod method requestSpace (line 1199) | @JsMethod method isRegistered (line 1204) | @JsMethod method isAvailable (line 1213) | @JsMethod method getUsernameClaimExpiry (line 1219) | public CompletableFuture getUsernameClaimExpiry() { method usernameIsExpired (line 1224) | public CompletableFuture usernameIsExpired() { method renewUsernameClaim (line 1229) | public CompletableFuture renewUsernameClaim(LocalDate expiry) { method signupWithRetry (line 1233) | private static CompletableFuture signupWithRetry(UserPublicKe... method updateChainWithRetry (line 1255) | private static CompletableFuture updateChainWithRetry(String ... method updateHostInPki (line 1279) | public static CompletableFuture updateHostInPki(String username, method renewUsernameClaim (line 1297) | public static CompletableFuture renewUsernameClaim(String use... method getKeyGenAlgorithm (line 1315) | public CompletableFuture getKeyGenAlgorithm... method getNamedKey (line 1321) | public CompletableFuture> getNamedKey(String n... method changePassword (line 1327) | @JsMethod method changePassword (line 1342) | public CompletableFuture changePassword(String oldPassword, method createEntryDirectory (line 1449) | private static CompletableFuture createEntryDirectory(Signin... method getSigningKey (line 1517) | public CompletableFuture getSigningKey(PublicKeyHash... method getBoxingKey (line 1521) | public CompletableFuture getBoxingKey(PublicKeyHash o... method getPublicKeyHashes (line 1530) | public CompletableFuture> getPublic... method getPublicKeys (line 1541) | @JsMethod method addNamedOwnedKeyAndCommit (line 1552) | public CompletableFuture addNamedOwnedKeyAndCommi... method deleteAccount (line 1559) | @JsMethod method unPublishFile (line 1584) | public CompletableFuture unPublishFile(Path path) { method removePublicCap (line 1605) | private CompletableFuture removePublicCap(String ... method makePublic (line 1618) | public CompletableFuture makePublic(FileWrapper f... method ensureAllowedToShare (line 1639) | private static void ensureAllowedToShare(FileWrapper file, String ourn... method getFriendRoots (line 1646) | @JsMethod method getFollowing (line 1653) | @JsMethod method getFollowerNames (line 1661) | @JsMethod method getFollowerRoots (line 1666) | public CompletableFuture> getFollowerRoots(bo... method getFollowerRoots (line 1674) | private CompletableFuture> getFollowerRoots(S... method getFollowingNodes (line 1684) | public CompletableFuture> getFollowingNodes... method getFriendAnnotations (line 1693) | public CompletableFuture> getFriendAnnot... method addFriendAnnotation (line 1710) | @JsMethod method getGroupNameMappings (line 1746) | public CompletableFuture getGroupNameMappings() { method getFriendNames (line 1754) | private CompletableFuture> getFriendNames() { method initialiseGroups (line 1761) | private CompletableFuture initialiseGroups(Groups g) { method getPendingOutgoingFollowRequests (line 1776) | private CompletableFuture getPendingOutgoingFollow... method removeFromPendingOutgoing (line 1790) | private CompletableFuture removeFromPendingOutgoing(String us... method getSocialState (line 1811) | @JsMethod method sendInitialFollowRequest (line 1827) | @JsMethod method sendInitialFollowRequests (line 1835) | @JsMethod method sendReplyFollowRequest (line 1844) | @JsMethod method blindAndSendFollowRequest (line 1939) | private CompletableFuture blindAndSendFollowRequest(PublicKey... method sendFollowRequest (line 1944) | public CompletableFuture sendFollowRequest(String targetUsern... method getSocialFeed (line 1985) | @JsMethod method unShareReadAccess (line 1995) | public CompletableFuture unShareReadAccess(Path path, String ... method unShareWriteAccess (line 1999) | public CompletableFuture unShareWriteAccess(Path path, String... method rotateAllKeys (line 2003) | private CompletableFuture rotateAllKeys(FileWrapper file, method unShareReadAccessWith (line 2109) | @JsMethod method unShareReadAccessWith (line 2124) | public CompletableFuture unShareReadAccessWith(Path path, method unShareWriteAccessWith (line 2154) | @JsMethod method sharedWith (line 2188) | @JsMethod method getDirectorySharingState (line 2193) | @JsMethod method processShared (line 2201) | @JsMethod method shareReadAccessWithFriends (line 2206) | @JsMethod method shareReadAccessWithFollowers (line 2217) | @JsMethod method gatherAllUsernamesToUnshare (line 2233) | private Set gatherAllUsernamesToUnshare(SocialState social, method shareReadAccessWith (line 2260) | @JsMethod method shareReadAccessWith (line 2267) | public CompletableFuture shareReadAccessWith(Path path, Set<... method reSendAllSharesAndLinksRecursive (line 2276) | public CompletableFuture reSendAllSharesAndLinksRecursive(Pa... method reshareAndUpdateLinks (line 2284) | private CompletableFuture reshareAndUpdateLinks(Path start, ... method shareReadAccessWith (line 2300) | private CompletableFuture shareReadAccessWith(FileWrapper file, method shareWriteAccessWith (line 2316) | @JsMethod method shareWriteAccessWith (line 2328) | private CompletableFuture shareWriteAccessWith(FileWrapper f... method sendWriteCapToAll (line 2365) | public CompletableFuture sendWriteCapToAll(Path toFile, Set<... method sendWriteCapToAll (line 2377) | public CompletableFuture sendWriteCapToAll(FileWrapper file, method updatedSharedWithCache (line 2396) | private CompletableFuture updatedSharedWithCache(FileWrapper... method shareAccessWith (line 2405) | public CompletableFuture shareAccessWith(FileWrapper file, method addRootEntryPointAndCommit (line 2418) | private static CompletableFuture addRootEntryPointAndCommit(... method updateBoxerAndCommit (line 2440) | private static CompletableFuture updateBoxerAndCommit(Snapsh... method addExternalEntryPoint (line 2472) | private synchronized CompletableFuture addExternalEntryPo... method getFollowRequests (line 2494) | public CompletableFuture> getFollowRequests() { method processFollowRequests (line 2511) | public CompletableFuture> processFol... method processFollowRequests (line 2515) | private CompletableFuture> processFo... method getFiles (line 2610) | @JsMethod method getFiles (line 2624) | public CompletableFuture>> getFiles... method getChildren (line 2637) | public CompletableFuture> getChildren(String path) { method getByPath (line 2642) | public CompletableFuture> getByPath(Path path) { method getByPath (line 2650) | @JsMethod method getByPath (line 2664) | public CompletableFuture> getByPath(String path,... method getUserRoot (line 2672) | public CompletableFuture getUserRoot() { method createOurFileTreeOnly (line 2679) | private static CompletableFuture createOurFileTreeOnly(Strin... method buildFileTree (line 2696) | private CompletableFuture buildFileTree(TrieNode ourRoot, method createFileTree (line 2735) | private CompletableFuture createFileTree(TrieNode ourRoot, method retrieveAndAddEntryPointToTrie (line 2746) | private CompletableFuture retrieveAndAddEntryPointToTrie(Tri... method getFriendsEntryPoints (line 2752) | private CompletableFuture> getFriendsEntryPoints(File... method getFriendsGroupCaps (line 2784) | private CompletableFuture>> ... method addFriendGroupCap (line 2794) | public CompletableFuture addFriendGroupCap(CapabilityWithPat... method addRetrievedEntryPointToTrie (line 2813) | private static CompletableFuture addRetrievedEntryPointToTri... method getWriterData (line 2841) | public static CompletableFuture getWriterData(Net... method getWriterData (line 2848) | public static CompletableFuture getWriterData(Con... method getWriterDataCbor (line 2856) | public static CompletableFuture> getWr... method getWriterDataCbor (line 2865) | private static CompletableFuture> getW... method unfollow (line 2880) | @JsMethod method getBlocked (line 2894) | public CompletableFuture> getBlocked() { method getBlocked (line 2900) | private CompletableFuture> getBlocked(Optional> getGroupUid(String groupNam... method removeFollower (line 2941) | @JsMethod method removeFromFriendGroup (line 2955) | private CompletableFuture removeFromFriendGroup(String userna... method removeFromFollowersGroup (line 2962) | private CompletableFuture removeFromFollowersGroup(String use... method removeFromGroup (line 2976) | public CompletableFuture removeFromGroup(String groupUid, Str... method unshareItemsInSharingFolder (line 2981) | public CompletableFuture unshareItemsInSharingFolder(String f... method revokeAllReadCaps (line 2995) | private CompletableFuture revokeAllReadCaps(List revokeAllWriteCaps(List cleanPartialUploads(Predicate CompletableFuture time(Supplier staticData, method getData (line 34) | public EntryPoints getData(SymmetricKey rootKey) { method toCbor (line 42) | @Override method fromByteArray (line 47) | @JsMethod method fromCbor (line 52) | public static UserStaticData fromCbor(Cborable cbor) { class EntryPoints (line 56) | public static class EntryPoints implements Cborable { method EntryPoints (line 64) | public EntryPoints(long version, method withBoxer (line 74) | public EntryPoints withBoxer(BoxingKeyPair newBoxer) { method addEntryPoint (line 80) | public EntryPoints addEntryPoint(EntryPoint entry) { method toCbor (line 85) | @Override method fromCbor (line 97) | public static EntryPoints fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/UserUtil.java class UserUtil (line 15) | public class UserUtil { method generateUser (line 17) | public static CompletableFuture generateUser(String user... FILE: src/peergos/shared/user/UserWithRoot.java class UserWithRoot (line 6) | public class UserWithRoot { method UserWithRoot (line 11) | public UserWithRoot(SigningKeyPair signer, BoxingKeyPair boxer, Symmet... method getUser (line 17) | public SigningKeyPair getUser() { method getBoxingPair (line 21) | public BoxingKeyPair getBoxingPair() { method getRoot (line 24) | public SymmetricKey getRoot() { FILE: src/peergos/shared/user/WriteSynchronizer.java class WriteSynchronizer (line 18) | public class WriteSynchronizer { method WriteSynchronizer (line 28) | public WriteSynchronizer(MutablePointers mutable, ContentAddressedStor... method clear (line 34) | public void clear() { method setCommitterBuilder (line 38) | public void setCommitterBuilder(CommitterBuilder committerBuilder) { method setFlusher (line 42) | public void setFlusher(BufferedNetworkAccess.Flusher flusher) { method put (line 46) | public void put(PublicKeyHash owner, PublicKeyHash writer, CommittedWr... method putEmpty (line 51) | public void putEmpty(PublicKeyHash owner, PublicKeyHash writer) { method getWriterData (line 65) | public CompletableFuture getWriterData(PublicKeyHash owner, ... method getValue (line 80) | public CompletableFuture getValue(PublicKeyHash owner, Publi... method applyUpdate (line 85) | public CompletableFuture applyUpdate(PublicKeyHash owner, method applyComplexUpdate (line 108) | public CompletableFuture applyComplexUpdate(PublicKeyHash ow... method applyComplexUpdate (line 122) | public CompletableFuture applyComplexUpdate(PublicKeyHash ow... method updateWriterState (line 128) | public CompletableFuture updateWriterState(PublicKeyHash owner, method applyComplexComputation (line 150) | public CompletableFuture> applyComplexComputatio... FILE: src/peergos/shared/user/WriterData.java class WriterData (line 23) | public class WriterData implements Cborable { method WriterData (line 59) | public WriterData(PublicKeyHash controller, method withChamp (line 79) | public WriterData withChamp(Multihash treeRoot) { method withBoxer (line 83) | public WriterData withBoxer(Optional followRequestRecei... method withPublicRoot (line 87) | public WriterData withPublicRoot(Multihash publicChampRoot) { method withOwnedRoot (line 91) | public WriterData withOwnedRoot(Multihash ownedRoot) { method withAlgorithm (line 95) | public WriterData withAlgorithm(SecretGenerationAlgorithm newAlg) { method addOwnedKey (line 99) | public CompletableFuture addOwnedKey(PublicKeyHash owner, method addLink (line 114) | public CompletableFuture> addLink(SigningPrivate... method removeLink (line 131) | public CompletableFuture removeLink(SigningPrivateKeyAndPu... method addOwnedKeyAndCommit (line 145) | public CompletableFuture addOwnedKeyAndCommit(PublicKeyHash ... method removeOwnedKey (line 160) | public CompletableFuture removeOwnedKey(PublicKeyHash owner, method ownsKey (line 173) | public CompletableFuture ownsKey(PublicKeyHash identityKey, method getOwnedKeyChamp (line 197) | public CompletableFuture getOwnedKeyChamp(PublicKeyHash... method getSecretLinkChamp (line 202) | public CompletableFuture getSecretLinkChamp(PublicKey... method applyToOwnedKeys (line 207) | public CompletableFuture> applyToOwnedKeys(PublicKeyHash ow... method addNamedKey (line 215) | public WriterData addNamedKey(String name, OwnerProof newNamedKey) { method withStaticData (line 221) | public WriterData withStaticData(Optional entryPoints) { method createEmpty (line 225) | public static CompletableFuture createEmpty(PublicKeyHash ... method createIdentity (line 242) | public static CompletableFuture createIdentity(PublicKeyHa... method committed (line 262) | public CommittedWriterData committed(MaybeMultihash hash, Optional changeKeys(String username, method commit (line 332) | public CompletableFuture commit(PublicKeyHash owner, method commit (line 342) | public CompletableFuture commit(PublicKeyHash owner, method commitDeletion (line 384) | public static CompletableFuture commitDeletion(PublicKeyHash... method toCbor (line 400) | @Override method fromCbor (line 417) | public static WriterData fromCbor(Cborable cbor) { method getWriterData (line 439) | public static CompletableFuture getWriterData(Pub... method getWriterData (line 451) | public static CompletableFuture getWriterData(Pub... method equals (line 463) | @Override method hashCode (line 471) | @Override FILE: src/peergos/shared/user/app/ShareLocalAppData.java type ShareLocalAppData (line 9) | public interface ShareLocalAppData { method shareInternal (line 11) | CompletableFuture shareInternal(Path relativePath); FILE: src/peergos/shared/user/app/StoreAppData.java type StoreAppData (line 10) | public interface StoreAppData { method existsInternal (line 12) | CompletableFuture existsInternal(Path relativePath, String us... method dirInternal (line 14) | CompletableFuture> dirInternal(Path relativePath, String ... method readInternal (line 16) | CompletableFuture readInternal(Path relativePath, String usern... method writeInternal (line 18) | CompletableFuture writeInternal(Path relativePath, byte[] dat... method deleteInternal (line 20) | CompletableFuture deleteInternal(Path relativePath, String us... method mimeTypeInternal (line 22) | CompletableFuture mimeTypeInternal(Path relativePath, String u... method createDirectoryInternal (line 24) | CompletableFuture createDirectoryInternal(Path relativePath, ... method appendInternal (line 26) | CompletableFuture appendInternal(Path relativePath, byte[] da... FILE: src/peergos/shared/user/fs/AbsoluteCapability.java class AbsoluteCapability (line 17) | public class AbsoluteCapability implements Cborable { method AbsoluteCapability (line 25) | public AbsoluteCapability(PublicKeyHash owner, method AbsoluteCapability (line 41) | public AbsoluteCapability(PublicKeyHash owner, PublicKeyHash writer, b... method getMapKey (line 45) | @JsMethod method getLocation (line 50) | public Location getLocation() { method isWritable (line 54) | @JsMethod method toWritable (line 59) | public WritableAbsoluteCapability toWritable(SymmetricKey writeBaseKey) { method toLink (line 65) | public String toLink() { method fromLink (line 74) | public static AbsoluteCapability fromLink(String keysString) { method build (line 96) | public static AbsoluteCapability build(Location loc, Optional bat... method readOnly (line 100) | public AbsoluteCapability readOnly() { method withMapKey (line 104) | public AbsoluteCapability withMapKey(byte[] newMapKey, Optional n... method withBaseKey (line 108) | public AbsoluteCapability withBaseKey(SymmetricKey newBaseKey) { method withOwner (line 112) | public AbsoluteCapability withOwner(PublicKeyHash owner) { method isNull (line 116) | public boolean isNull() { method createNull (line 125) | public static AbsoluteCapability createNull() { method toCbor (line 129) | @Override method fromCbor (line 141) | public static AbsoluteCapability fromCbor(Cborable cbor) { method equals (line 157) | @Override method hashCode (line 170) | @Override FILE: src/peergos/shared/user/fs/AsyncReader.java type AsyncReader (line 12) | @JsType method seekJS (line 15) | default CompletableFuture seekJS(int high32, int low32) { method seek (line 19) | @JsIgnore method readIntoArray (line 31) | CompletableFuture readIntoArray(byte[] res, int offset, int l... method reset (line 37) | CompletableFuture reset(); method close (line 42) | void close(); method parseStream (line 44) | @JsIgnore method parseStreamRecurse (line 58) | @JsIgnore method parseLimitedStream (line 84) | @JsIgnore method parseLimitedStreamRecurse (line 104) | @JsIgnore class ArrayBacked (line 146) | @JsType method ArrayBacked (line 151) | public ArrayBacked(byte[] data) { method seekJS (line 155) | @Override method readIntoArray (line 163) | @Override method reset (line 170) | @Override method close (line 176) | @Override method build (line 181) | static AsyncReader build(byte[] data) { FILE: src/peergos/shared/user/fs/Blake3state.java class Blake3state (line 12) | public class Blake3state implements Cborable { method Blake3state (line 15) | public Blake3state(byte[] hash) { method toCbor (line 19) | @Override method fromCbor (line 27) | public static Blake3state fromCbor(Cborable c) { method toString (line 32) | @Override method equals (line 37) | @Override method hashCode (line 45) | @Override FILE: src/peergos/shared/user/fs/BrowserFileReader.java class BrowserFileReader (line 7) | public class BrowserFileReader implements AsyncReader { method BrowserFileReader (line 11) | @JsConstructor method getReader (line 16) | public JSFileReader getReader() { method seekJS (line 20) | public CompletableFuture seekJS(int high32, int low32) { method readIntoArray (line 31) | public CompletableFuture readIntoArray(byte[] res, int offset... method reset (line 39) | public CompletableFuture reset() { method close (line 46) | public void close() { FILE: src/peergos/shared/user/fs/CapabilitiesFromUser.java class CapabilitiesFromUser (line 9) | public class CapabilitiesFromUser implements Cborable { method CapabilitiesFromUser (line 14) | public CapabilitiesFromUser(long bytesRead, List r... method getBytesRead (line 19) | public long getBytesRead() { method getRetrievedCapabilities (line 23) | public List getRetrievedCapabilities() { method empty (line 27) | public static CapabilitiesFromUser empty() { method toCbor (line 31) | @Override method fromCbor (line 39) | public static CapabilitiesFromUser fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/fs/CapabilityStore.java class CapabilityStore (line 23) | public class CapabilityStore { method addReadOnlySharingLinkTo (line 28) | public static CompletableFuture addReadOnlySharingLinkTo(Fil... method addEditSharingLinkTo (line 36) | public static CompletableFuture addEditSharingLinkTo(FileWra... method addSharingLinkTo (line 44) | private static CompletableFuture addSharingLinkTo(FileWrappe... method loadReadOnlyLinks (line 75) | public static CompletableFuture loadReadOnlyLink... method loadCachedReadOnlyLinks (line 93) | public static CompletableFuture loadCachedReadOn... method loadWriteableLinks (line 109) | public static CompletableFuture loadWriteableLin... method loadCachedWriteableLinks (line 128) | public static CompletableFuture loadCachedWritea... method loadSharingLinks (line 136) | private static CompletableFuture loadSharingLink... method loadSharingLinksCache (line 168) | private static CompletableFuture loadSharingLink... method loadReadAccessSharingLinksFromIndex (line 185) | public static CompletableFuture loadReadAccessSh... method loadWriteAccessSharingLinksFromIndex (line 198) | public static CompletableFuture loadWriteAccessS... method loadSharingLinksFromIndex (line 211) | private static CompletableFuture loadSharingLink... method cacheFilename (line 232) | private static String cacheFilename(boolean inbound, String suffix) { method getReadOnlyCapabilityFileSize (line 236) | public static CompletableFuture getReadOnlyCapabilityFileSize(Fi... method getEditableCapabilityFileSize (line 242) | public static CompletableFuture getEditableCapabilityFileSize(Fi... method getCapabilityFileSize (line 248) | private static CompletableFuture getCapabilityFileSize(String fi... method readSharingFile (line 256) | public static CompletableFuture> readSharingF... method readSharingFile (line 264) | public static CompletableFuture> readSharingF... method readSharingRecords (line 275) | private static CompletableFuture> readSharing... method getSharingCacheFile (line 310) | private static CompletableFuture> getSharingCach... method readRetrievedCapabilityCache (line 319) | private static CompletableFuture readRetrievedCa... FILE: src/peergos/shared/user/fs/CapabilityWithPath.java class CapabilityWithPath (line 9) | public class CapabilityWithPath implements Cborable { method CapabilityWithPath (line 13) | public CapabilityWithPath(String path, AbsoluteCapability cap) { method toCbor (line 18) | @Override method fromCbor (line 26) | public static CapabilityWithPath fromCbor(Cborable cbor) { method equals (line 35) | @Override method hashCode (line 46) | @Override method toString (line 53) | @Override FILE: src/peergos/shared/user/fs/Chunk.java class Chunk (line 8) | public class Chunk { method Chunk (line 16) | public Chunk(byte[] data, SymmetricKey dataKey, byte[] mapKey, byte[] ... method key (line 23) | public SymmetricKey key() { method mapKey (line 27) | public byte[] mapKey() { method nonce (line 31) | public byte[] nonce() { method data (line 35) | public byte[] data() { method length (line 39) | public int length() { FILE: src/peergos/shared/user/fs/ChunkHashList.java class ChunkHashList (line 9) | public class ChunkHashList implements Cborable { method ChunkHashList (line 13) | public ChunkHashList(byte[] chunkHashes) { method nChunks (line 19) | public int nChunks() { method equalAt (line 23) | public boolean equalAt(int chunkIndex, ChunkHashList other) { method toCbor (line 32) | @Override method fromCbor (line 39) | public static ChunkHashList fromCbor(Cborable cbor) { method equals (line 46) | @Override method hashCode (line 54) | @Override FILE: src/peergos/shared/user/fs/EncryptedCapability.java class EncryptedCapability (line 15) | public class EncryptedCapability implements Cborable { method EncryptedCapability (line 21) | public EncryptedCapability(CipherText payload, boolean hasUserPassword) { method decryptFromPassword (line 26) | @JsMethod method decrypt (line 32) | private AbsoluteCapability decrypt(SymmetricKey k) { method deriveKey (line 36) | private static CompletableFuture deriveKey(String label,... method create (line 41) | private static EncryptedCapability create(AbsoluteCapability raw, Symm... method createFromPassword (line 45) | @JsMethod method randomInt (line 51) | private static int randomInt(int limit, SafeRandom r) { method createLinkPassword (line 60) | public static String createLinkPassword(SafeRandom r) { method toCbor (line 70) | @Override method fromCbor (line 79) | public static EncryptedCapability fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/fs/EncryptedChunkRetriever.java class EncryptedChunkRetriever (line 20) | public class EncryptedChunkRetriever implements FileRetriever { method EncryptedChunkRetriever (line 27) | public EncryptedChunkRetriever(FragmentedPaddedCipherText linksToData, method getFile (line 37) | @Override method getMapLabelAt (line 58) | public CompletableFuture>>> getMap... method getChunk (line 82) | public CompletableFuture> getChunk(CommittedWri... method truncate (line 113) | public static byte[] truncate(byte[] in, int length) { FILE: src/peergos/shared/user/fs/ErasureFragmenter.java class ErasureFragmenter (line 11) | public class ErasureFragmenter implements Fragmenter { method ErasureFragmenter (line 16) | public ErasureFragmenter(int nOriginalFragments, int nAllowedFailures) { method storageIncreaseFactor (line 21) | @Override method split (line 26) | public byte[][] split(byte[] input) { method recombine (line 30) | public byte[] recombine(byte[][] encoded, int startOffset, int truncat... method toCbor (line 38) | @Override method equals (line 47) | @Override method hashCode (line 58) | @Override FILE: src/peergos/shared/user/fs/FileExistsException.java class FileExistsException (line 3) | public class FileExistsException extends RuntimeException { method FileExistsException (line 5) | public FileExistsException(String filename){ FILE: src/peergos/shared/user/fs/FileProperties.java class FileProperties (line 20) | @JsType method FileProperties (line 40) | public FileProperties(String name, method FileProperties (line 72) | @JsIgnore method withLink (line 93) | public FileProperties withLink(FileProperties link) { method ensureValidParsedPath (line 97) | public static void ensureValidParsedPath(Path path) { method ensureValidPath (line 101) | @JsMethod method calculateMapKey (line 107) | public static CompletableFuture>> calculate... method list (line 120) | private static List list(V elem) { method add (line 126) | private static List add(List start, V elem) { // needed for gwt method calculateSubsequentMapKeys (line 130) | public static CompletableFuture>>> cal... method calculateNextMapKey (line 147) | public static CompletableFuture>> calculate... method sizeLow (line 159) | public int sizeLow() { method sizeHigh (line 163) | public int sizeHigh() { method chunkCount (line 167) | public int chunkCount() { method isSocialPost (line 171) | @JsMethod method toCbor (line 176) | @Override method fromCbor (line 197) | @SuppressWarnings("unusable-by-js") method withSize (line 223) | @JsIgnore method withHash (line 228) | public FileProperties withHash(Optional treeHash) { method withNoThumbnail (line 232) | public FileProperties withNoThumbnail() { method withThumbnail (line 235) | public FileProperties withThumbnail(Optional newThumbnail) { method withModified (line 239) | public FileProperties withModified(LocalDateTime modified) { method withNewStreamSecret (line 243) | public FileProperties withNewStreamSecret(byte[] streamSecret) { method asLink (line 247) | public FileProperties asLink() { method getType (line 251) | public String getType() { method getType (line 255) | @JsMethod method toString (line 296) | @Override FILE: src/peergos/shared/user/fs/FileRetriever.java type FileRetriever (line 15) | public interface FileRetriever { method getFile (line 17) | CompletableFuture getFile(CommittedWriterData version, method getMapLabelAt (line 27) | CompletableFuture>>> getMapLabelAt... method getChunk (line 34) | CompletableFuture> getChunk(CommittedWriterData... FILE: src/peergos/shared/user/fs/FileUploader.java class FileUploader (line 21) | public class FileUploader implements AutoCloseable { method disableLog (line 23) | public static void disableLog() { method FileUploader (line 43) | public FileUploader(String name, AsyncReader fileData, method FileUploader (line 80) | public FileUploader(String name, AsyncReader fileData, long offset, lo... class AsyncUploadQueue (line 88) | private static class AsyncUploadQueue { method add (line 94) | public synchronized CompletableFuture add(ChunkUpload chunk) { method poll (line 108) | public synchronized CompletableFuture poll() { method upload (line 123) | public CompletableFuture upload(Snapshot current, method uploadFrom (line 134) | public CompletableFuture uploadFrom(Snapshot current, class ChunkUpload (line 167) | private static class ChunkUpload { method ChunkUpload (line 172) | public ChunkUpload(LocatedChunk chunk, CryptreeNode metadata, List encryptChunk( method uploadChunk (line 222) | public static CompletableFuture uploadChunk(Snapshot current, method uploadChunk (line 246) | public static CompletableFuture uploadChunk(Snapshot current, method close (line 274) | public void close() { FILE: src/peergos/shared/user/fs/FileWrapper.java class FileWrapper (line 31) | public class FileWrapper { method FileWrapper (line 54) | public FileWrapper(Optional capTrie, method FileWrapper (line 87) | public FileWrapper(RetrievedCapability pointer, method withTrieNode (line 95) | public FileWrapper withTrieNode(TrieNode trie) { method withTrieNodeOpt (line 99) | public FileWrapper withTrieNodeOpt(Optional trie) { method withLinkPointer (line 103) | public FileWrapper withLinkPointer(Optional link) { method withVersion (line 107) | public FileWrapper withVersion(Snapshot version) { method getVersionRoot (line 111) | public CommittedWriterData getVersionRoot() { method getLatest (line 115) | @JsMethod method samePointer (line 124) | @JsMethod method getUpdated (line 129) | public CompletableFuture getUpdated(NetworkAccess network) { method getUpdated (line 134) | public CompletableFuture getUpdated(Snapshot version, Net... method owner (line 145) | public PublicKeyHash owner() { method writer (line 149) | public PublicKeyHash writer() { method getPointer (line 153) | public RetrievedCapability getPointer() { method getLinkPointer (line 157) | public RetrievedCapability getLinkPointer() { method isRoot (line 161) | public boolean isRoot() { method getPath (line 165) | public CompletableFuture getPath(NetworkAccess network) { method getContentHash (line 173) | @JsMethod method getDescendentByPath (line 179) | public CompletableFuture> getDescendentByPath(St... method getDescendentByPath (line 185) | public CompletableFuture> getDescendentByPath(St... method ensureUnmodified (line 211) | private void ensureUnmodified() { method setModified (line 216) | private void setModified() { method updateChildLinks (line 222) | public CompletableFuture updateChildLinks( method hasChildWithName (line 234) | public CompletableFuture hasChildWithName(Snapshot version, S... method removeChild (line 246) | public CompletableFuture removeChild(FileWrapper child, N... method removeChild (line 254) | public CompletableFuture removeChild(Snapshot version, method toLink (line 264) | @JsMethod method toWritableLink (line 269) | @JsMethod method isWritable (line 276) | @JsMethod method isReadable (line 281) | @JsMethod method getKey (line 286) | public SymmetricKey getKey() { method getLocation (line 290) | public Location getLocation() { method getDirectChildrenCount (line 294) | @JsMethod method getChildrenCapabilities (line 303) | @JsMethod method retrieveParent (line 311) | public CompletableFuture> retrieveParent(Network... method getAnyLinkPointer (line 316) | public CompletableFuture> getAnyLinkPoin... method retrieveParent (line 331) | public static CompletableFuture> retrieveParent(... method isUserRoot (line 351) | @JsMethod method getParentKey (line 358) | public SymmetricKey getParentKey() { method getChildsEntryWriter (line 362) | private Optional getChildsEntryWriter() { method getChildren (line 367) | @JsMethod method getChildrenFromCaps (line 374) | @JsMethod method getChildren (line 404) | public CompletableFuture> getChildren(Snapshot versio... method getChildren (line 441) | public CompletableFuture> getChildren(Set nam... method getFiles (line 493) | private static CompletableFuture, List> getChild(Snapshot vers... method getOwnerName (line 545) | @JsMethod method isDirectory (line 550) | @JsMethod method isLink (line 556) | public boolean isLink() { method isDirty (line 560) | public boolean isDirty() { method clean (line 573) | public CompletableFuture> clean(Snapshot c... method getMapKey (line 604) | public CompletableFuture>> getMapKey(long o... method truncate (line 613) | @JsMethod method truncate (line 622) | public CompletableFuture truncate(Snapshot initialVersion, C... method getNumberOfChunks (line 653) | public static int getNumberOfChunks(long size) { method generateChildLocationsFromSize (line 659) | public List generateChildLocationsFromSize(long fileSize, Sa... method generateChildLocations (line 663) | public List generateChildLocations(int numberOfChunks, method appendFileJS (line 670) | @JsMethod method uploadFileJS (line 697) | @JsMethod method resumeUpload (line 714) | public CompletableFuture findFirstAbsentChunkIndex(byte[] strea... method binarySearchAbsentChunk (line 775) | public static CompletableFuture binarySearchAbsentChunk(byte[] s... method deriveProbesForIndices (line 815) | private static CompletableFuture>[]> derive... method uploadOrReplaceFile (line 834) | @JsMethod method uploadOrReplaceFile (line 848) | public CompletableFuture uploadOrReplaceFile(String filen... method uploadFileWithHash (line 859) | public CompletableFuture uploadFileWithHash(String filename, method uploadFileWithHash (line 872) | public CompletableFuture uploadFileWithHash(String filename, method uploadOrReplaceFile (line 908) | public CompletableFuture uploadOrReplaceFile(String filen... method uploadOrReplaceFile (line 925) | public CompletableFuture uploadOrReplaceFile(String filename, method uploadAndReturnFile (line 943) | public CompletableFuture uploadAndReturnFile(String filen... method uploadAndReturnFile (line 953) | public CompletableFuture uploadAndReturnFile(String filen... method overwriteFileJS (line 969) | @JsMethod method overwriteFile (line 980) | public CompletableFuture overwriteFile(AsyncReader fileData, method overwriteFile (line 997) | public CompletableFuture overwriteFile(AsyncReader fileData, method overwriteSectionJS (line 1007) | @JsMethod class FileUploadProperties (line 1024) | public static final class FileUploadProperties { method FileUploadProperties (line 1034) | @JsConstructor method withOverwriteExisting (line 1054) | public FileUploadProperties withOverwriteExisting() { method toString (line 1060) | @Override class FolderUploadProperties (line 1066) | public static class FolderUploadProperties { method FolderUploadProperties (line 1070) | @JsConstructor method path (line 1076) | public Path path() { method uploadSubtree (line 1081) | @JsMethod method uploadFolder (line 1108) | public static CompletableFuture uploadFolder(Path toParent, method uploadFilePart (line 1185) | private static CompletableFuture mirrorBatId() { method overwriteSection (line 1304) | public CompletableFuture overwriteSection(Snapshot current, method uploadFileSection (line 1457) | public CompletableFuture uploadFileSection(String filename, method uploadFileSection (line 1488) | public CompletableFuture uploadFileSection(String filename, method updateSize (line 1523) | private CompletableFuture updateSize(Committer committer, method updateThumbnail (line 1530) | @JsMethod method uploadFileSection (line 1542) | public CompletableFuture uploadFileSection(Snapshot initialV... method uploadFileSection (line 1569) | private CompletableFuture recalculateThumbnail(Snapshot snap... method generateThumbnailAndUpdate (line 1734) | private CompletableFuture generateThumbnailAndUpdate(Snapsho... method generateThumbnailAndUpdate (line 1751) | private CompletableFuture generateThumbnailAndUpdate(Snapsho... method updateProperties (line 1785) | private CompletableFuture updateProperties(Snapshot base, method addChildPointer (line 1793) | private CompletableFuture addChildPointer(Snapshot current, method addChildPointers (line 1801) | private CompletableFuture addChildPointers(Snapshot current, method appendToChild (line 1814) | public CompletableFuture appendToChild(String filename, method append (line 1844) | public CompletableFuture append(byte[] fileData, method updateExistingChild (line 1866) | private CompletableFuture updateExistingChild(Snapshot current, method isLegalName (line 1887) | static boolean isLegalName(String name) { method mkdir (line 1899) | @JsMethod method mkdir (line 1908) | public CompletableFuture mkdir(String newFolderName, method mkdir (line 1922) | public CompletableFuture mkdir(String newFolderName, method getOrMkdirs (line 1961) | @JsMethod method getOrMkdirs (line 1978) | public CompletableFuture> getOrMkdirs(List... method getOrMkdir (line 1991) | private CompletableFuture> getOrMkdir(Stri... method rename (line 2029) | @JsMethod method addMirrorBat (line 2092) | public CompletableFuture addMirrorBat(BatId mirrorBat, boole... method setProperties (line 2098) | public CompletableFuture setProperties(FileProperties updated... method setSameNameProperties (line 2130) | public CompletableFuture setSameNameProperties(FileProperties... class PropsUpdate (line 2143) | public static class PropsUpdate { method PropsUpdate (line 2149) | public PropsUpdate(WritableAbsoluteCapability cap, CryptreeNode meta... method getHashUpdates (line 2157) | public CompletableFuture> getHashUpdates(HashTree ha... method bulkSetSameNameProperties (line 2176) | public static CompletableFuture bulkSetSameNameProperties(Sn... method bulkSetSameNameProperties (line 2187) | public static CompletableFuture bulkSetSameNameProperties(Lis... method readOnlyPointer (line 2197) | @JsMethod method writableFilePointer (line 2202) | public WritableAbsoluteCapability writableFilePointer() { method signingPair (line 2208) | public SigningPrivateKeyAndPublicHash signingPair() { method moveTo (line 2216) | @JsMethod method copyTo (line 2302) | @JsMethod method getHash (line 2321) | public CompletableFuture> getHash(NetworkAccess net... method copyTo (line 2345) | private CompletableFuture copyTo(FileWrapper target, method pickUniqueCopyName (line 2398) | private CompletableFuture pickUniqueCopyName(FileWrapper target, method pickUniqueCopyName (line 2416) | private CompletableFuture pickUniqueCopyName(FileWrapper target, method hasChild (line 2437) | @JsMethod method hasChildren (line 2445) | public CompletableFuture hasChildren(NetworkAccess network) { method hasChildren (line 2449) | public CompletableFuture hasChildren(Snapshot version, method changeSigningKey (line 2464) | public CompletableFuture> changeSigning... method copyAllChunks (line 2511) | private static CompletableFuture copyAllChunks(boolean inclu... method deleteAllChunks (line 2554) | public static CompletableFuture deleteAllChunks(WritableAbso... method deleteChunkChain (line 2645) | private static CompletableFuture deleteChunkChain(WritableAb... method deleteFileChunks (line 2667) | private static CompletableFuture deleteFileChunks(byte[] str... method getAllChunkLocations (line 2680) | private static CompletableFuture>>> ge... method deleteChildren (line 2697) | @JsMethod method deleteChild (line 2781) | private static CompletableFuture deleteChild(PublicKeyHash o... method remove (line 2807) | @JsMethod method removeSigningKey (line 2847) | public static CompletableFuture removeSigningKey(SigningPriv... method getInputStream (line 2871) | public CompletableFuture getInputStream(Network... method getInputStream (line 2878) | public CompletableFuture getInputStream(Committ... method getBufferedInputStream (line 2885) | @JsMethod method fileSize (line 2895) | private static long fileSize(int fileSizeHi, int fileSizeLow) { method getInputStream (line 2899) | @JsMethod method getInputStream (line 2909) | public CompletableFuture getInputStream(Network... method getInputStream (line 2916) | public CompletableFuture getInputStream(Network... method getInputStream (line 2925) | public CompletableFuture getInputStream(Committ... method getRetriever (line 2941) | private CompletableFuture getRetriever(Hasher hasher) { method getBase64Thumbnail (line 2947) | @JsMethod method getFileProperties (line 2965) | @JsMethod method getName (line 2971) | @JsMethod method getSize (line 2976) | public long getSize() { method toString (line 2980) | public String toString() { method createRoot (line 2984) | public static FileWrapper createRoot(TrieNode root) { method generateVideoThumbnail (line 2988) | public static Optional generateVideoThumbnail(byte[] videoB... method convertFromBase64 (line 3008) | private static Optional convertFromBase64(String base64Url) { method generateThumbnail (line 3020) | private CompletableFuture> generateThumbnail(Netwo... method getFileType (line 3087) | private static CompletableFuture getFileType(AsyncReader image... method calculateMimeType (line 3103) | public static CompletableFuture calculateMimeType(AsyncReader ... FILE: src/peergos/shared/user/fs/Fragment.java class Fragment (line 8) | public class Fragment { method Fragment (line 15) | public Fragment(byte[] data) { FILE: src/peergos/shared/user/fs/FragmentWithHash.java class FragmentWithHash (line 7) | public class FragmentWithHash { method FragmentWithHash (line 11) | public FragmentWithHash(Fragment fragment, Optional hash) { method isInlined (line 16) | public boolean isInlined() { FILE: src/peergos/shared/user/fs/Fragmenter.java type Fragmenter (line 17) | @JsType method storageIncreaseFactor (line 24) | double storageIncreaseFactor(); method split (line 26) | byte[][] split(byte[] input); method recombine (line 28) | byte[] recombine(byte[][] encoded, int startOffset, int inputLength); method fromCbor (line 30) | @SuppressWarnings("unusable-by-js") type Type (line 45) | enum Type { method Type (line 51) | Type(int val) { method ofVal (line 60) | public static Type ofVal(int val) { method getInstance (line 68) | static Fragmenter getInstance() { FILE: src/peergos/shared/user/fs/HashBranch.java class HashBranch (line 11) | public class HashBranch implements Cborable { method HashBranch (line 18) | public HashBranch(RootHash rootHash, Optional level1, O... method toCbor (line 29) | @Override method fromCbor (line 39) | public static HashBranch fromCbor(Cborable cbor) { method toString (line 50) | @Override method equals (line 55) | @Override method hashCode (line 63) | @Override FILE: src/peergos/shared/user/fs/HashTree.java class HashTree (line 17) | public class HashTree implements Cborable { method HashTree (line 24) | public HashTree(RootHash rootHash, List level1, List branches) { method readChunk (line 84) | private static CompletableFuture readChunk(AsyncReader f, byte... method buildParallel (line 93) | @JsMethod method build (line 131) | @JsMethod method build (line 148) | public static CompletableFuture build(List chunkHashes, method buildLevel (line 185) | private static List buildLevel(List chunkHashes) { method buildLevel (line 199) | private static CompletableFuture> buildLevel(List<... FILE: src/peergos/shared/user/fs/HashTreeBuilder.java class HashTreeBuilder (line 8) | public class HashTreeBuilder { method HashTreeBuilder (line 12) | public HashTreeBuilder(long filesize) { method setChunk (line 16) | public CompletableFuture setChunk(int chunkIndex, byte[] chun... method setChunkHash (line 24) | public void setChunkHash(int chunkIndex, byte[] hash) { method complete (line 28) | public CompletableFuture complete(Hasher h) { FILE: src/peergos/shared/user/fs/JSFileReader.java class JSFileReader (line 7) | @JsType(isNative = true, namespace = "browserio") method seek (line 10) | public native CompletableFuture seek(int high32, int low32); method readIntoArray (line 18) | public native CompletableFuture readIntoArray(byte[] res, int... method reset (line 24) | public native CompletableFuture reset(); method close (line 29) | public native void close(); FILE: src/peergos/shared/user/fs/LazyInputStreamCombiner.java class LazyInputStreamCombiner (line 17) | public class LazyInputStreamCombiner implements AsyncReader { method disableLog (line 19) | public static void disableLog() { method LazyInputStreamCombiner (line 44) | public LazyInputStreamCombiner(CommittedWriterData version, method prefetch (line 83) | private void prefetch(int nChunks) { method syncPrefetch (line 87) | private void syncPrefetch(int nChunks) { method parallelChunksDownload (line 116) | private void parallelChunksDownload(int finalCount, method getChunk (line 133) | private CompletableFuture> getChunk(A... method getChunk (line 161) | private CompletableFuture> getChunk(C... method getSubsequentMetadata (line 179) | private CompletableFuture getSubsequentMetadata(Absolute... method skip (line 205) | private CompletableFuture skip(long skip) { method seekJS (line 243) | @Override method nextChunkPointer (line 255) | private AbsoluteCapability nextChunkPointer() { method bytesReady (line 259) | private synchronized int bytesReady() { method close (line 263) | public void close() {} method resetBuffer (line 265) | private void resetBuffer() { method reset (line 269) | public synchronized CompletableFuture reset() { method readIntoArray (line 285) | public CompletableFuture readIntoArray(byte[] res, int offset... method ensureBufferWithinLimit (line 317) | private void ensureBufferWithinLimit() { method updateState (line 333) | private synchronized void updateState(int index, FILE: src/peergos/shared/user/fs/LocatedChunk.java class LocatedChunk (line 8) | public class LocatedChunk { method LocatedChunk (line 14) | public LocatedChunk(Location location, Optional bat, MaybeMultiha... FILE: src/peergos/shared/user/fs/Location.java class Location (line 12) | public class Location implements Cborable { method Location (line 18) | public Location(PublicKeyHash owner, PublicKeyHash writer, byte[] mapK... method toCbor (line 26) | public CborObject toCbor() { method getMapKey (line 34) | @JsMethod method toString (line 39) | public String toString() { method fromCbor (line 43) | public static Location fromCbor(Cborable cbor) { method withMapKey (line 53) | public Location withMapKey(byte[] newMapKey) { method equals (line 57) | @Override method hashCode (line 70) | @Override FILE: src/peergos/shared/user/fs/MimeTypes.java class MimeTypes (line 10) | public class MimeTypes { method calculateMimeType (line 118) | public static String calculateMimeType(byte[] start, String filename) { method isContinuationByte (line 297) | private static boolean isContinuationByte(byte b) { method validUtf8 (line 301) | private static boolean validUtf8(byte[] data) { method equalArrays (line 346) | private static boolean equalArrays(byte[] a, int[] target) { method equalArrays (line 350) | private static boolean equalArrays(byte[] a, int aOffset, int[] target) { FILE: src/peergos/shared/user/fs/Mp3CoverImage.java class Mp3CoverImage (line 10) | public class Mp3CoverImage { method Mp3CoverImage (line 15) | public Mp3CoverImage(byte[] imageData, String mimeType) { method extractCoverArt (line 20) | public static Mp3CoverImage extractCoverArt(byte[] rawMp3) throws NoS... class NoSuchTagException (line 36) | public static class NoSuchTagException extends Exception { method NoSuchTagException (line 37) | public NoSuchTagException(String msg) {super(msg);} method NoSuchTagException (line 38) | public NoSuchTagException() {super();} class UnsupportedTagException (line 40) | public static class UnsupportedTagException extends Exception { method UnsupportedTagException (line 41) | public UnsupportedTagException(String msg) {super(msg);} class InvalidDataException (line 43) | public static class InvalidDataException extends Exception { method InvalidDataException (line 44) | public InvalidDataException(String msg) {super(msg);} method InvalidDataException (line 46) | public InvalidDataException(String msg, Throwable cause) {super(msg,... method unpackSynchsafeInteger (line 49) | private static int unpackSynchsafeInteger(byte b1, byte b2, byte b3, b... method unpackInteger (line 57) | private static int unpackInteger(byte b1, byte b2, byte b3, byte b4) { method shiftByte (line 65) | private static int shiftByte(byte c, int places) { method createTag (line 75) | private static AbstractID3v2Tag createTag(byte[] bytes) throws NoSuchT... method checkBit (line 93) | private static boolean checkBit(byte b, int bitPosition) { method byteBufferToStringIgnoringEncodingIssues (line 99) | private static String byteBufferToStringIgnoringEncodingIssues(byte[] ... method byteBufferToString (line 107) | private static String byteBufferToString(byte[] bytes, int offset, int... method byteBufferToString (line 111) | private static String byteBufferToString(byte[] bytes, int offset, int... method sanityCheckTag (line 116) | private static void sanityCheckTag(byte[] bytes) throws NoSuchTagExcep... method indexOfTerminator (line 130) | private static int indexOfTerminator(byte[] bytes, int fromIndex, int ... method indexOfTerminatorForEncoding (line 147) | private static int indexOfTerminatorForEncoding(byte[] bytes, int from... method sizeSynchronisationWouldSubtract (line 152) | private static int sizeSynchronisationWouldSubtract(byte[] bytes) { method synchroniseBuffer (line 163) | private static byte[] synchroniseBuffer(byte[] bytes) { class ID3v22Tag (line 182) | private static class ID3v22Tag extends AbstractID3v2Tag { method ID3v22Tag (line 184) | public ID3v22Tag(byte[] buffer) throws NoSuchTagException, Unsupport... method ID3v22Tag (line 188) | public ID3v22Tag(byte[] buffer, boolean obseleteFormat) throws NoSuc... method unpackFlags (line 192) | @Override class ID3v23Tag (line 199) | private static class ID3v23Tag extends AbstractID3v2Tag { method ID3v23Tag (line 201) | public ID3v23Tag(byte[] buffer) throws NoSuchTagException, Unsupport... method unpackFlags (line 205) | @Override class ID3v2Frame (line 213) | private static class ID3v2Frame { method ID3v2Frame (line 242) | public ID3v2Frame(byte[] buffer, int offset) throws InvalidDataExcep... method ID3v2Frame (line 246) | public ID3v2Frame(String id, byte[] data) { method unpackFrame (line 252) | protected final void unpackFrame(byte[] buffer, int offset) throws I... method unpackHeader (line 258) | protected int unpackHeader(byte[] buffer, int offset) { method unpackDataLength (line 265) | protected void unpackDataLength(byte[] buffer, int offset) { method unpackFlags (line 269) | private void unpackFlags(byte[] buffer, int offset) { method sanityCheckUnpackedHeader (line 280) | protected void sanityCheckUnpackedHeader() throws InvalidDataExcepti... method getId (line 288) | public String getId() { method getLength (line 292) | public int getLength() { method getData (line 296) | public byte[] getData() { class ID3v24Tag (line 301) | private static class ID3v24Tag extends AbstractID3v2Tag { method ID3v24Tag (line 303) | public ID3v24Tag(byte[] buffer) throws NoSuchTagException, Unsupport... method unpackFlags (line 307) | @Override method useFrameUnsynchronisation (line 315) | @Override class AbstractID3v2FrameData (line 321) | private static abstract class AbstractID3v2FrameData { method AbstractID3v2FrameData (line 325) | public AbstractID3v2FrameData(boolean unsynchronisation) { method synchroniseAndUnpackFrameData (line 329) | protected final void synchroniseAndUnpackFrameData(byte[] bytes) thr... method unpackFrameData (line 338) | protected abstract void unpackFrameData(byte[] bytes) throws Invalid... class EncodedText (line 341) | private static class EncodedText { method EncodedText (line 370) | public EncodedText(byte textEncoding, byte[] value) { method EncodedText (line 382) | public EncodedText(byte textEncoding, String string) { method textEncodingForBytesFromBOM (line 388) | private static byte textEncodingForBytesFromBOM(byte[] value) { method characterSetForTextEncoding (line 400) | private static String characterSetForTextEncoding(byte textEncoding) { method stripBomAndTerminator (line 408) | private void stripBomAndTerminator() { method getTerminator (line 437) | public byte[] getTerminator() { method stringToBytes (line 441) | private static byte[] stringToBytes(String s, String characterSet) { class ID3v2PictureFrameData (line 446) | private static class ID3v2PictureFrameData extends AbstractID3v2FrameD... method ID3v2PictureFrameData (line 453) | public ID3v2PictureFrameData(boolean unsynchronisation, byte[] bytes... method unpackFrameData (line 458) | @Override method getMimeType (line 483) | public String getMimeType() { method getDescription (line 487) | public EncodedText getDescription() { method getImageData (line 491) | public byte[] getImageData() { class ID3v2FrameSet (line 496) | private static class ID3v2FrameSet { method ID3v2FrameSet (line 501) | public ID3v2FrameSet(String id) { method clear (line 506) | public void clear() { method addFrame (line 510) | public void addFrame(ID3v2Frame frame) { method getFrames (line 514) | public List getFrames() { method toString (line 518) | @Override class ID3v2ObseletePictureFrameData (line 524) | private static class ID3v2ObseletePictureFrameData extends ID3v2Pictur... method ID3v2ObseletePictureFrameData (line 526) | public ID3v2ObseletePictureFrameData(boolean unsynchronisation, byte... method unpackFrameData (line 530) | @Override class ID3v2ObseleteFrame (line 552) | private static class ID3v2ObseleteFrame extends ID3v2Frame { method ID3v2ObseleteFrame (line 559) | public ID3v2ObseleteFrame(byte[] buffer, int offset) throws InvalidD... method unpackHeader (line 563) | @Override method unpackDataLength (line 570) | @Override method getLength (line 575) | @Override class AbstractID3v2Tag (line 581) | private static abstract class AbstractID3v2Tag { method AbstractID3v2Tag (line 615) | public AbstractID3v2Tag(byte[] bytes) throws NoSuchTagException, Uns... method AbstractID3v2Tag (line 619) | public AbstractID3v2Tag(byte[] bytes, boolean obseleteFormat) throws... method unpackTag (line 625) | private void unpackTag(byte[] bytes) throws NoSuchTagException, Unsu... method unpackHeader (line 643) | private int unpackHeader(byte[] bytes) throws UnsupportedTagExceptio... method unpackFlags (line 657) | protected abstract void unpackFlags(byte[] bytes); method unpackExtendedHeader (line 659) | private int unpackExtendedHeader(byte[] bytes, int offset) { method unpackFrames (line 665) | protected int unpackFrames(byte[] bytes, int offset, int framesLengt... method addFrame (line 680) | protected void addFrame(ID3v2Frame frame, boolean replace) { method createFrame (line 694) | protected ID3v2Frame createFrame(byte[] bytes, int currentOffset) th... method unpackFooter (line 699) | private int unpackFooter(byte[] bytes, int offset) throws InvalidDat... method useFrameUnsynchronisation (line 706) | protected boolean useFrameUnsynchronisation() { method getFrameSets (line 710) | public Map getFrameSets() { method getAlbumImage (line 714) | public byte[] getAlbumImage() { method getAlbumImageMimeType (line 720) | public String getAlbumImageMimeType() { method createPictureFrameData (line 726) | private ID3v2PictureFrameData createPictureFrameData(String id) { FILE: src/peergos/shared/user/fs/NamedAbsoluteCapability.java class NamedAbsoluteCapability (line 11) | public class NamedAbsoluteCapability implements Cborable { method NamedAbsoluteCapability (line 18) | public NamedAbsoluteCapability(PathElement name, method NamedAbsoluteCapability (line 30) | public NamedAbsoluteCapability(String name, method isWritable (line 38) | @JsMethod method isDir (line 43) | @JsMethod method created (line 48) | @JsMethod method mimeType (line 53) | @JsMethod method addCbor (line 58) | private void addCbor(String key, CborObject val, CborObject.CborMap m) { method toCbor (line 64) | @Override method fromCbor (line 76) | public static NamedAbsoluteCapability fromCbor(Cborable cbor) { method equals (line 89) | @Override method hashCode (line 98) | @Override method toString (line 103) | @Override FILE: src/peergos/shared/user/fs/NamedRelativeCapability.java class NamedRelativeCapability (line 11) | public class NamedRelativeCapability implements Cborable { method NamedRelativeCapability (line 18) | public NamedRelativeCapability(PathElement name, method NamedRelativeCapability (line 30) | public NamedRelativeCapability(String name, method toAbsolute (line 38) | public NamedAbsoluteCapability toAbsolute(AbsoluteCapability source) { method name (line 42) | @JsMethod method isDir (line 47) | @JsMethod method created (line 52) | @JsMethod method mimeType (line 57) | @JsMethod method addCbor (line 62) | private void addCbor(String key, CborObject val, CborObject.CborMap m) { method toCbor (line 68) | @Override method fromCbor (line 79) | public static NamedRelativeCapability fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/fs/NativeJSThumbnail.java class NativeJSThumbnail (line 7) | @JsType(namespace = "thumbnail", isNative = true) method generateThumbnail (line 9) | public native CompletableFuture generateThumbnail(AsyncReader ... method generateVideoThumbnail (line 10) | public native CompletableFuture generateVideoThumbnail(AsyncRe... FILE: src/peergos/shared/user/fs/RelativeCapability.java class RelativeCapability (line 18) | public class RelativeCapability implements Cborable { method RelativeCapability (line 28) | @JsConstructor method getMapKey (line 43) | @JsMethod method getLocation (line 48) | public Location getLocation(PublicKeyHash owner, PublicKeyHash writer) { method getWriteBaseKey (line 52) | public SymmetricKey getWriteBaseKey(SymmetricKey sourceBaseKey) { method toAbsolute (line 56) | public AbsoluteCapability toAbsolute(AbsoluteCapability source) { method withWritingKey (line 64) | public RelativeCapability withWritingKey(Optional writi... method buildSubsequentChunk (line 68) | public static RelativeCapability buildSubsequentChunk(byte[] mapkey, O... method toCbor (line 72) | @Override method fromByteArray (line 83) | public static RelativeCapability fromByteArray(byte[] raw) { method fromCbor (line 87) | public static RelativeCapability fromCbor(Cborable cbor) { method equals (line 101) | @Override method hashCode (line 113) | @Override method toString (line 120) | @Override FILE: src/peergos/shared/user/fs/ResumeUploadProps.java class ResumeUploadProps (line 12) | public class ResumeUploadProps implements Cborable { method ResumeUploadProps (line 18) | public ResumeUploadProps(SymmetricKey baseKey, method toCbor (line 32) | @Override method fromCbor (line 44) | public static ResumeUploadProps fromCbor(Cborable cbor) { method random (line 57) | public static ResumeUploadProps random(Crypto crypto) { FILE: src/peergos/shared/user/fs/RetrievedCapability.java class RetrievedCapability (line 7) | public class RetrievedCapability { method RetrievedCapability (line 11) | public RetrievedCapability(AbsoluteCapability capability, CryptreeNode... method getParentKey (line 18) | public SymmetricKey getParentKey() { method getProperties (line 22) | public FileProperties getProperties() { method getParentParentKey (line 26) | public SymmetricKey getParentParentKey() { method getParentCap (line 30) | public RelativeCapability getParentCap() { method getParentKey (line 34) | private static SymmetricKey getParentKey(CryptreeNode node, SymmetricK... method withCryptree (line 44) | public RetrievedCapability withCryptree(CryptreeNode fileAccess) { method withHash (line 48) | public RetrievedCapability withHash(Multihash newHash) { FILE: src/peergos/shared/user/fs/RootHash.java class RootHash (line 12) | public class RootHash implements Cborable { method RootHash (line 15) | public RootHash(byte[] hash) { method toCbor (line 21) | @Override method fromCbor (line 28) | public static RootHash fromCbor(Cborable cbor) { method equals (line 35) | @Override method hashCode (line 43) | @Override method toString (line 48) | @Override FILE: src/peergos/shared/user/fs/SecretLink.java class SecretLink (line 8) | public class SecretLink { method SecretLink (line 14) | public SecretLink(PublicKeyHash owner, long label, String linkPassword) { method toLink (line 22) | @JsMethod method labelString (line 27) | public String labelString() { method fromLink (line 31) | @JsMethod method create (line 48) | public static SecretLink create(PublicKeyHash owner, SafeRandom r) { FILE: src/peergos/shared/user/fs/SecretLinkTarget.java class SecretLinkTarget (line 11) | public class SecretLinkTarget implements Cborable { method SecretLinkTarget (line 17) | public SecretLinkTarget(EncryptedCapability cap, Optional decrypt(String label, Str... method toCbor (line 27) | @Override method fromCbor (line 36) | public static SecretLinkTarget fromCbor(Cborable cbor) { FILE: src/peergos/shared/user/fs/SplitFragmenter.java class SplitFragmenter (line 7) | public class SplitFragmenter implements Fragmenter { method storageIncreaseFactor (line 9) | @Override method split (line 14) | public byte[][] split(byte[] input) { method toCbor (line 41) | @Override method recombine (line 48) | @Override method equals (line 66) | @Override method hashCode (line 72) | @Override FILE: src/peergos/shared/user/fs/Thumbnail.java class Thumbnail (line 5) | public class Thumbnail { method Thumbnail (line 9) | @JsConstructor FILE: src/peergos/shared/user/fs/ThumbnailGenerator.java class ThumbnailGenerator (line 6) | public class ThumbnailGenerator { type Generator (line 8) | public interface Generator { method generateThumbnail (line 9) | Optional generateThumbnail(byte[] data); type VideoGenerator (line 12) | public interface VideoGenerator { method generateVideoThumbnail (line 13) | Optional generateVideoThumbnail(File video); method setInstance (line 18) | public static synchronized void setInstance(Generator instance) { method get (line 22) | public static synchronized Generator get() { class NoopVideoThumbnailer (line 28) | static class NoopVideoThumbnailer implements VideoGenerator { method generateVideoThumbnail (line 29) | @Override method setVideoInstance (line 37) | public static synchronized void setVideoInstance(VideoGenerator instan... method getVideo (line 41) | public static synchronized VideoGenerator getVideo() { FILE: src/peergos/shared/user/fs/VideoThumbnail.java class VideoThumbnail (line 20) | public class VideoThumbnail { method sleep (line 22) | private static void sleep(int duration) { method isLikelyValidImage (line 46) | private static boolean isLikelyValidImage(BufferedImage image) { method create (line 73) | public static Optional create(String filename, int height, ... FILE: src/peergos/shared/user/fs/WritableAbsoluteCapability.java class WritableAbsoluteCapability (line 13) | public class WritableAbsoluteCapability extends AbsoluteCapability { method WritableAbsoluteCapability (line 15) | public WritableAbsoluteCapability(PublicKeyHash owner, PublicKeyHash w... method relativise (line 19) | public RelativeCapability relativise(AbsoluteCapability descendant) { method withBaseKey (line 33) | @Override method withBaseWriteKey (line 38) | public WritableAbsoluteCapability withBaseWriteKey(SymmetricKey newBas... method withMapKey (line 42) | @Override method withOwner (line 47) | public AbsoluteCapability withOwner(PublicKeyHash owner) { method withSigner (line 51) | public WritableAbsoluteCapability withSigner(PublicKeyHash newSigner) { method toLink (line 57) | public String toLink() { method toString (line 67) | @Override FILE: src/peergos/shared/user/fs/cryptree/CryptreeNode.java class CryptreeNode (line 46) | public class CryptreeNode implements Cborable { method setMaxChildLinkPerBlob (line 53) | public static synchronized void setMaxChildLinkPerBlob(int newValue) { method getMaxChildLinksPerBlob (line 57) | public static synchronized int getMaxChildLinksPerBlob() { method CryptreeNode (line 68) | public CryptreeNode(MaybeMultihash lastCommittedHash, method getVersion (line 82) | public int getVersion() { class FromBase (line 86) | private static class FromBase implements Cborable { method FromBase (line 91) | public FromBase(SymmetricKey parentOrData, method toCbor (line 99) | @Override method fromCbor (line 108) | public static FromBase fromCbor(CborObject cbor) { method getBaseBlock (line 120) | private FromBase getBaseBlock(SymmetricKey baseKey) { class FromParent (line 124) | private static class FromParent implements Cborable { method FromParent (line 128) | public FromParent(Optional parentLink, FilePrope... method toCbor (line 133) | @Override method fromCbor (line 141) | public static FromParent fromCbor(CborObject cbor) { method getParentBlock (line 152) | private FromParent getParentBlock(SymmetricKey parentKey) { class DirAndChildren (line 156) | public static class DirAndChildren { method DirAndChildren (line 160) | public DirAndChildren(CryptreeNode dir, List child... method commit (line 165) | public CompletableFuture commit(Snapshot current, method commit (line 175) | public CompletableFuture commit(Snapshot current, method commitChildrenLinks (line 185) | public CompletableFuture> commitChildrenLinks(WritableAbso... method commitChildrenLinks (line 193) | public CompletableFuture> commitChildrenLinks(WritableAbso... class ChildrenLinks (line 205) | public static class ChildrenLinks implements Cborable { method ChildrenLinks (line 208) | public ChildrenLinks(List children) { method ChildrenLinks (line 212) | private ChildrenLinks(Either, List getWriterLink(SymmetricKey base... method getParentKey (line 268) | public SymmetricKey getParentKey(SymmetricKey baseKey) { method getDataKey (line 278) | public SymmetricKey getDataKey(SymmetricKey baseKey) { method getProperties (line 284) | public FileProperties getProperties(SymmetricKey parentKey) { method getSigner (line 288) | public SigningPrivateKeyAndPublicHash getSigner(SymmetricKey rBaseKey, method retriever (line 297) | public CompletableFuture retriever(SymmetricKey baseKey, method getDirectChildren (line 307) | public CompletableFuture> getDirectChild... method getDirectChildrenCapabilities (line 329) | public CompletableFuture> getDirectChildr... method getAllChildrenCapabilities (line 338) | public CompletableFuture> getAllChildrenC... method getDirectChildren (line 364) | public CompletableFuture> getDirectChildren(N... method getDirectChild (line 375) | public CompletableFuture> getDirectChild... method getChildren (line 389) | public CompletableFuture> getChildren(Snapsho... method getChild (line 413) | public CompletableFuture> getChild(Strin... method updateProperties (line 431) | public CompletableFuture updateProperties(Snapshot base, method addMirrorBat (line 448) | public CompletableFuture addMirrorBat(Snapshot base, method addMirrorBatToFragments (line 485) | private CompletableFuture> addMirrorBatToFragments(BatId mir... method addMirrorBat (line 512) | private byte[] addMirrorBat(byte[] existing, Bat inlineBat, BatId mirr... method isDirty (line 516) | public boolean isDirty(SymmetricKey baseKey) { method withHash (line 522) | public CryptreeNode withHash(Multihash hash) { method withMirrorBat (line 526) | public CryptreeNode withMirrorBat(BatId mirrorBatId) { method withWriterLink (line 534) | public CryptreeNode withWriterLink(SymmetricKey baseKey, SymmetricLink... method withWriterLink (line 538) | public CryptreeNode withWriterLink(SymmetricKey baseKey, Optional withChildren(SymmetricKey bas... method buildChildren (line 556) | private static CompletableFuture CompletableFuture getLinkedData(PublicKeyHash owner, method withParentLink (line 573) | public CryptreeNode withParentLink(SymmetricKey parentKey, RelativeCap... method getNextChunkLocation (line 585) | public CompletableFuture>> getNextChunkLoca... method getNextChunk (line 601) | public CompletableFuture> getNextChunk(S... method getNextChunk (line 613) | public CompletableFuture> getNextChunk(S... class CapAndSigner (line 620) | public static class CapAndSigner { method CapAndSigner (line 624) | public CapAndSigner(WritableAbsoluteCapability cap, SigningPrivateKe... method withCap (line 631) | public CapAndSigner withCap(WritableAbsoluteCapability newCap) { method generateNewChildCap (line 636) | private CompletableFuture> generateNewChi... method initAndAuthoriseSigner (line 666) | public static CompletableFuture deAuthoriseSigner( method rotateAllKeys (line 715) | public CompletableFuture> r... method mirrorBatId (line 857) | public Optional mirrorBatId() { method cleanAndCommit (line 863) | public CompletableFuture cleanAndCommit(Snapshot current, method addChildrenAndCommit (line 923) | public CompletableFuture addChildrenAndCommit(Snapshot current, method mkdir (line 1002) | public CompletableFuture mkdir(Snapshot base, method updateChildLink (line 1043) | public CompletableFuture updateChildLink(Snapshot base, method updateChildLink (line 1061) | public CompletableFuture updateChildLink(Snapshot base, method updateChildLinks (line 1074) | public CompletableFuture updateChildLinks(Snapshot base, method removeChildren (line 1136) | public CompletableFuture removeChildren(Snapshot current, method commit (line 1183) | public CompletableFuture commit(Snapshot current, method commit (line 1192) | public CompletableFuture commit(Snapshot current, method hasParentLink (line 1201) | public boolean hasParentLink(SymmetricKey baseKey) { method getParentCapability (line 1206) | public Optional getParentCapability(SymmetricKey b... method getParent (line 1211) | public CompletableFuture getParent(PublicKeyHash ... method createFile (line 1229) | public static CompletableFuture createAndCommitLink(FileWrap... method createLink (line 1328) | public static CompletableFuture createLink(FileWrapper... method createEmptyDir (line 1351) | public static CompletableFuture createEmptyDir( method createDir (line 1368) | public static CompletableFuture createDir( method toCbor (line 1398) | @Override method fromCbor (line 1410) | public static CryptreeNode fromCbor(CborObject cbor, SymmetricKey base... FILE: src/peergos/shared/user/fs/erasure/Erasure.java class Erasure (line 9) | public class Erasure { method split (line 12) | public static byte[][] split(byte[] input, int originalBlobs, int allo... method split (line 17) | public static byte[][] split(byte[] input, GaloisField f, int original... method recombine (line 52) | public static byte[] recombine(byte[][] encoded, int truncateTo, int o... method recombine (line 57) | public static byte[] recombine(List encoded, int truncateTo, i... method recombine (line 62) | public static byte[] recombine(GaloisField f, byte[][] encoded, int tr... method convert (line 106) | public static int[] convert(byte[] in, GaloisField f) method convert (line 126) | public static byte[] convert(int[] in, GaloisField f) FILE: src/peergos/shared/user/fs/erasure/ErrorTests.java class ErrorTests (line 11) | public class ErrorTests { class ErasureParameters (line 13) | public static class ErasureParameters { method findAcceptableErasureParameters (line 14) | @org.junit.Test method probabilityFailure (line 52) | public static BigDecimal probabilityFailure(int n, int k, double p) { method choose (line 70) | private static BigDecimal choose(int n, int k) { method recoverFromErrors (line 74) | @Test method standardRecovery (line 80) | @Test method recoverFromerrors (line 85) | public void recoverFromerrors(int fragments, int maxErrors) { method recover (line 101) | public void recover(byte[] original, int fragments, int maxErrors, int... FILE: src/peergos/shared/user/fs/erasure/GaloisField.java class GaloisField (line 3) | public abstract class GaloisField method size (line 5) | public abstract int size(); method mask (line 7) | public abstract int mask(); method exp (line 9) | public abstract int exp(int y); method mul (line 11) | public abstract int mul(int x, int y); method div (line 13) | public abstract int div(int x, int y); FILE: src/peergos/shared/user/fs/erasure/GaloisField1024.java class GaloisField1024 (line 3) | public class GaloisField1024 extends GaloisField method size (line 30) | public int size() method mask (line 35) | public int mask() method exp (line 40) | public int exp(int y) method mul (line 45) | public int mul(int x, int y) method div (line 52) | public int div(int x, int y) FILE: src/peergos/shared/user/fs/erasure/GaloisField16.java class GaloisField16 (line 3) | public class GaloisField16 extends GaloisField method size (line 30) | public int size() method mask (line 35) | public int mask() method exp (line 40) | public int exp(int y) method mul (line 45) | public int mul(int x, int y) method div (line 52) | public int div(int x, int y) FILE: src/peergos/shared/user/fs/erasure/GaloisField256.java class GaloisField256 (line 3) | public class GaloisField256 extends GaloisField method size (line 35) | public int size() method mask (line 40) | public int mask() method exp (line 45) | public int exp(int y) method mul (line 50) | public int mul(int x, int y) method div (line 57) | public int div(int x, int y) method main (line 66) | public static void main(String[] a) { FILE: src/peergos/shared/user/fs/erasure/GaloisField4.java class GaloisField4 (line 3) | public class GaloisField4 extends GaloisField method size (line 30) | public int size() method mask (line 35) | public int mask() method exp (line 40) | public int exp(int y) method mul (line 45) | public int mul(int x, int y) method div (line 52) | public int div(int x, int y) FILE: src/peergos/shared/user/fs/erasure/GaloisField65536.java class GaloisField65536 (line 3) | public class GaloisField65536 extends GaloisField method size (line 30) | public int size() method mask (line 35) | public int mask() method exp (line 40) | public int exp(int y) method mul (line 45) | public int mul(int x, int y) method div (line 52) | public int div(int x, int y) FILE: src/peergos/shared/user/fs/erasure/GaloisPolynomial.java class GaloisPolynomial (line 7) | public class GaloisPolynomial method GaloisPolynomial (line 13) | private GaloisPolynomial(int[] coefficients, GaloisField f) method order (line 21) | private int order() method eval (line 26) | private int eval(int x) method scale (line 34) | private GaloisPolynomial scale(int x) method add (line 42) | private GaloisPolynomial add(GaloisPolynomial other) method mul (line 52) | private GaloisPolynomial mul(GaloisPolynomial other) method append (line 61) | private GaloisPolynomial append(int x) method generator (line 71) | private static GaloisPolynomial generator(int nECSymbols, GaloisField f) method encode (line 82) | public static int[] encode(int[] input, int nEC, GaloisField f) method syndromes (line 98) | private static int[] syndromes(int[] input, int nEC, GaloisField f) method correctErrata (line 107) | private static void correctErrata(int[] input, int[] synd, List findErrors(int[] synd, final int nmess, G... method forneySyndromes (line 170) | private static int[] forneySyndromes(int[] synd, List pos, in... method decode (line 184) | public static int[] decode(int[] message, int nec, GaloisField f) method print (line 385) | public static void print(int[] d) FILE: src/peergos/shared/user/fs/transaction/FileUploadTransaction.java class FileUploadTransaction (line 22) | public class FileUploadTransaction implements Transaction { method FileUploadTransaction (line 34) | public FileUploadTransaction(long startTimeEpochMillis, method isLegacy (line 61) | public boolean isLegacy() { method size (line 65) | public long size() { method streamSecret (line 69) | public byte[] streamSecret() { method getFirstLocation (line 73) | public Location getFirstLocation() { method writer (line 77) | public PublicKeyHash writer() { method firstMapKey (line 81) | public byte[] firstMapKey() { method clear (line 85) | private CompletableFuture clear(Snapshot version, Committer ... method clear (line 93) | public CompletableFuture clear(Snapshot version, Committer c... method getPath (line 103) | @JsMethod method name (line 108) | @Override method targetFilename (line 113) | @JsMethod method startTimeEpochMillis (line 119) | @Override method startTime (line 124) | public LocalDateTime startTime() { method writeCap (line 128) | public WritableAbsoluteCapability writeCap() { method toCbor (line 132) | @Override method fromCbor (line 152) | static Transaction fromCbor(CborObject.CborMap map, String filename) { FILE: src/peergos/shared/user/fs/transaction/Transaction.java type Transaction (line 15) | public interface Transaction extends Cborable { method startTimeEpochMillis (line 17) | long startTimeEpochMillis(); method name (line 19) | String name(); method clear (line 24) | CompletableFuture clear(Snapshot version, Committer committe... method deserialize (line 26) | static Transaction deserialize(byte[] data, String filename) { type Type (line 38) | enum Type { method buildFileUploadTransaction (line 42) | static CompletableFuture buildFileUploadTransac... FILE: src/peergos/shared/user/fs/transaction/TransactionService.java type TransactionService (line 15) | public interface TransactionService { method getSigner (line 17) | SigningPrivateKeyAndPublicHash getSigner(); method open (line 19) | @JsMethod method close (line 27) | @JsMethod method clear (line 35) | CompletableFuture clear(Snapshot version, Committer committe... method getOpenTransactions (line 37) | CompletableFuture> getOpenTransactions(Snapshot versi... method withNetwork (line 39) | TransactionServiceImpl withNetwork(NetworkAccess net); method clearAndClose (line 41) | default CompletableFuture clearAndClose(Snapshot version, Co... method clearAndClosePendingTransactions (line 46) | default CompletableFuture clearAndClosePendingTransactions(S... FILE: src/peergos/shared/user/fs/transaction/TransactionServiceImpl.java class TransactionServiceImpl (line 15) | public class TransactionServiceImpl implements TransactionService { method TransactionServiceImpl (line 23) | public TransactionServiceImpl(NetworkAccess networkAccess, method withNetwork (line 32) | public TransactionServiceImpl withNetwork(NetworkAccess net) { method getSigner (line 36) | @Override method updatedTransactionDir (line 41) | private CompletableFuture updatedTransactionDir(Snapshot ... method open (line 45) | @Override method close (line 72) | @Override method clear (line 87) | @Override method read (line 92) | private CompletableFuture> read(Snapshot version... method getOpenTransactions (line 104) | @Override FILE: src/peergos/shared/util/ArrayOps.java class ArrayOps (line 6) | public class ArrayOps method group (line 8) | public static List> group(List x, int maxGroupSize) { method copyOfRange (line 20) | public static int[] copyOfRange(int[] original, int from, int to) { method concat (line 30) | public static byte[] concat(byte[] one, byte[] two) method split (line 38) | public static List split(byte[] data, int size) { method hexToBytes (line 47) | public static byte[] hexToBytes(String hex) method byteToHex (line 63) | public static String byteToHex(byte b) { method byteToHex (line 67) | public static String byteToHex(int b) { method bytesToHex (line 71) | public static String bytesToHex(byte[] data) method random (line 79) | public static byte[] random(int length) method compare (line 87) | public static int compare(byte[] a, byte[] b) method equalArrays (line 95) | public static boolean equalArrays(byte[] a, int aStart, int aEnd, byte... FILE: src/peergos/shared/util/AsyncLock.java class AsyncLock (line 11) | public class AsyncLock { method AsyncLock (line 15) | public AsyncLock(CompletableFuture initialValue) { method isDone (line 19) | public synchronized boolean isDone() { method runWithLock (line 23) | public synchronized CompletableFuture runWithLock(Function runWithLock(Function getValue() { method toString (line 65) | @Override FILE: src/peergos/shared/util/ByteArrayWrapper.java class ByteArrayWrapper (line 8) | public class ByteArrayWrapper implements Comparable method ByteArrayWrapper (line 12) | public ByteArrayWrapper(byte[] data) method hashCode (line 17) | @Override method equals (line 23) | @Override method compareTo (line 38) | @Override method toString (line 50) | @Override FILE: src/peergos/shared/util/CappedProgressConsumer.java class CappedProgressConsumer (line 3) | public final class CappedProgressConsumer implements ProgressConsumer consumer, int max... method accept (line 14) | public void accept(Long delta) { FILE: src/peergos/shared/util/Constants.java class Constants (line 3) | public class Constants { FILE: src/peergos/shared/util/EfficientHashMap.java class EfficientHashMap (line 35) | public class EfficientHashMap implements Map, Serializable { class EntryIterator (line 45) | private class EntryIterator implements Iterator> { method hasNext (line 53) | public boolean hasNext() { method next (line 57) | public Entry next() { method remove (line 67) | public void remove() { method advanceToItem (line 78) | private void advanceToItem() { class EntrySet (line 87) | private class EntrySet extends AbstractSet> { method add (line 88) | @Override method addAll (line 95) | @Override method clear (line 101) | @Override method contains (line 106) | @Override method hashCode (line 117) | @Override method iterator (line 122) | @Override method remove (line 127) | @Override method removeAll (line 142) | @Override method size (line 151) | @Override class HashEntry (line 157) | private class HashEntry implements Entry { method HashEntry (line 160) | public HashEntry(int index) { method equals (line 164) | @Override method getKey (line 175) | @SuppressWarnings("unchecked") method getValue (line 180) | @SuppressWarnings("unchecked") method hashCode (line 185) | @Override method setValue (line 190) | @SuppressWarnings("unchecked") method toString (line 197) | @Override class KeyIterator (line 203) | private class KeyIterator implements Iterator { method hasNext (line 211) | public boolean hasNext() { method next (line 215) | @SuppressWarnings("unchecked") method remove (line 226) | public void remove() { method advanceToItem (line 237) | private void advanceToItem() { class KeySet (line 246) | private class KeySet extends AbstractSet { method clear (line 247) | @Override method contains (line 252) | @Override method hashCode (line 257) | @Override method iterator (line 269) | @Override method remove (line 274) | @Override method removeAll (line 284) | @Override method size (line 293) | @Override class ValueIterator (line 299) | private class ValueIterator implements Iterator { method hasNext (line 307) | public boolean hasNext() { method next (line 311) | @SuppressWarnings("unchecked") method remove (line 322) | public void remove() { method advanceToItem (line 333) | private void advanceToItem() { class Values (line 342) | private class Values extends AbstractCollection { method clear (line 343) | @Override method contains (line 348) | @Override method hashCode (line 353) | @Override method iterator (line 364) | @Override method remove (line 369) | @Override method removeAll (line 389) | @Override method size (line 398) | @Override method readResolve (line 405) | Object readResolve() { method maskNullKey (line 410) | static Object maskNullKey(Object k) { method unmaskNullKey (line 414) | static Object unmaskNullKey(Object k) { method EfficientHashMap (line 436) | public EfficientHashMap() { method EfficientHashMap (line 440) | public EfficientHashMap(Map m) { method clear (line 451) | public void clear() { method containsKey (line 456) | public boolean containsKey(Object key) { method containsValue (line 460) | public boolean containsValue(Object value) { method entrySet (line 477) | public Set> entrySet() { method equals (line 481) | @Override method get (line 491) | @SuppressWarnings("unchecked") method hashCode (line 497) | @Override method isEmpty (line 509) | public boolean isEmpty() { method keySet (line 513) | public Set keySet() { method put (line 517) | @SuppressWarnings("unchecked") method putAll (line 533) | public void putAll(Map m) { method remove (line 538) | @SuppressWarnings("unchecked") method size (line 549) | public int size() { method toString (line 553) | @Override method values (line 579) | public Collection values() { method keyEquals (line 586) | protected boolean keyEquals(Object a, Object b) { method keyHashCode (line 593) | protected int keyHashCode(Object k) { method valueEquals (line 600) | protected boolean valueEquals(Object a, Object b) { method valueHashCode (line 607) | protected int valueHashCode(Object v) { method ensureSizeFor (line 615) | void ensureSizeFor(int expectedSize) { method findKey (line 648) | int findKey(Object k) { method findKeyOrEmpty (line 670) | int findKeyOrEmpty(Object k) { method internalRemove (line 691) | void internalRemove(int index) { method getKeyIndex (line 698) | private int getKeyIndex(Object k) { method initTable (line 709) | private void initTable(int capacity) { method internalPutAll (line 714) | private void internalPutAll(Map m) { method plugHole (line 734) | private void plugHole(int hole) { FILE: src/peergos/shared/util/Either.java class Either (line 8) | @JsType method Either (line 13) | private Either(A a, B b) { method map (line 18) | public V map(Function aMap, Function bmap) { method isA (line 24) | public boolean isA() { method isB (line 28) | public boolean isB() { method a (line 32) | public A a() { method b (line 38) | public B b() { method equals (line 44) | @Override method hashCode (line 53) | @Override method a (line 58) | public static Either a(A a) { method b (line 62) | public static Either b(B b) { method toString (line 66) | @Override FILE: src/peergos/shared/util/Exceptions.java class Exceptions (line 5) | public class Exceptions { method getRootCause (line 6) | public static Throwable getRootCause(Throwable t) { FILE: src/peergos/shared/util/FileUtils.java class FileUtils (line 11) | public class FileUtils { method getOrCreateObject (line 22) | public static CompletableFuture getOrCreateObj... FILE: src/peergos/shared/util/Futures.java class Futures (line 10) | public class Futures { method of (line 13) | @JsMethod method orTimeout (line 18) | public static final CompletableFuture orTimeout(Supplier CompletableFuture> combineAll(Collection CompletableFuture> combineAllInOrder(Collect... method reduceAll (line 73) | public static CompletableFuture reduceAll(Collection input, method reduceAll (line 90) | public static CompletableFuture reduceAll(Stream input, method map (line 110) | public static CompletableFuture> map(List input, method findFirst (line 126) | public static CompletableFuture> findFirst( method runAsync (line 141) | public static CompletableFuture runAsync(Supplier CompletableFuture runAsync(Supplier CompletableFuture asyncExceptionally(Supplier T logAndReturn(Throwable t, T result) { method logAndThrow (line 194) | public static T logAndThrow(Throwable t) { method logAndThrow (line 198) | public static T logAndThrow(Throwable t, Optional message) { method errored (line 205) | public static CompletableFuture errored(Throwable t) { method incomplete (line 211) | @JsMethod FILE: src/peergos/shared/util/LRUCache.java class LRUCache (line 5) | public class LRUCache extends LinkedHashMap { method LRUCache (line 8) | public LRUCache(int cacheSize) { method removeEldestEntry (line 13) | protected boolean removeEldestEntry(Map.Entry eldest) { FILE: src/peergos/shared/util/LongUtil.java class LongUtil (line 5) | public class LongUtil { method intsToLong (line 7) | public static long intsToLong(int high, int low) { method box (line 11) | @JsMethod FILE: src/peergos/shared/util/Pair.java class Pair (line 5) | public class Pair { method Pair (line 9) | public Pair(L left, R right) { method apply (line 14) | public Pair apply(Function applyLeft, Function... method equals (line 20) | @Override method hashCode (line 32) | @Override method toString (line 39) | @Override method of (line 44) | public static Pair of(E left, F right) { FILE: src/peergos/shared/util/PathUtil.java class PathUtil (line 6) | public class PathUtil { method get (line 8) | public static Path get(String in, String... rest) { method components (line 26) | public static List components(Path p) { FILE: src/peergos/shared/util/Plan.java class Plan (line 5) | public class Plan { method Plan (line 10) | @JsConstructor FILE: src/peergos/shared/util/ProgressConsumer.java type ProgressConsumer (line 5) | @FunctionalInterface method accept (line 9) | void accept(T t); FILE: src/peergos/shared/util/Serialize.java class Serialize (line 13) | public class Serialize method newByteArray (line 16) | @JsMethod method serialize (line 21) | public static void serialize(byte[] b, DataOutput dout) throws IOExcep... method serialize (line 28) | public static void serialize(String s, DataOutput dout) throws IOExcep... method deserializeString (line 34) | public static String deserializeString(DataInput din, int len) throws ... method deserializeByteArray (line 44) | public static byte[] deserializeByteArray(int length, DataInput din, i... method deserializeByteArray (line 54) | public static byte[] deserializeByteArray(DataInput din, int maxLength... method getByteArray (line 65) | public static byte[] getByteArray(int len, int maxLength) throws IOExc... method readFully (line 72) | public static byte[] readFully(InputStream in) throws IOException { method readFully (line 82) | public static byte[] readFully(InputStream in, int maxSize) throws IOE... method read (line 97) | public static byte[] read(InputStream in, int size) throws IOException { method readFully (line 109) | public static CompletableFuture readFully(FileWrapper f, Crypt... method readFully (line 115) | public static CompletableFuture readFully(AsyncReader in, long... method parse (line 120) | @JsMethod method parse (line 125) | public static CompletableFuture parse(FileWrapper f, method parse (line 135) | public static CompletableFuture parse(AsyncReader in, long size... method readFullArray (line 141) | public static CompletableFuture readFullArray(AsyncReader in,... method ensureSize (line 145) | public static byte[] ensureSize(byte[] data, int size) { FILE: src/peergos/shared/util/TimeLimitedClient.java class TimeLimitedClient (line 9) | public class TimeLimitedClient { class SignedRequest (line 11) | public static class SignedRequest implements Cborable { method SignedRequest (line 15) | public SignedRequest(String path, long createdEpochMillis) { method toCbor (line 20) | @Override method sign (line 28) | public CompletableFuture sign(SecretSigningKey signer) { method fromCbor (line 32) | public static SignedRequest fromCbor(Cborable cbor) { method signNow (line 42) | public static CompletableFuture signNow(SecretSigningKey signe... FILE: src/peergos/shared/util/TriFunction.java type TriFunction (line 6) | @FunctionalInterface method apply (line 9) | R apply(T t, U u, X x); method andThen (line 11) | default TriFunction andThen(Function { method Triple (line 10) | public Triple(L left, M middle, R right) { method apply (line 16) | public Triple apply(Function applyLeft, Functio... method equals (line 23) | @Override method hashCode (line 35) | @Override method toString (line 43) | @Override FILE: src/peergos/shared/util/Version.java class Version (line 5) | @JsType method Version (line 11) | public Version(int major, int minor, int patch, String suffix) { method toString (line 18) | public String toString() { method isBefore (line 22) | public boolean isBefore(Version other) { method compareTo (line 26) | @Override method parse (line 42) | public static Version parse(String version) { FILE: src/peergos/shared/zxing/BarcodeFormat.java type BarcodeFormat (line 24) | public enum BarcodeFormat { FILE: src/peergos/shared/zxing/Binarizer.java class Binarizer (line 30) | public abstract class Binarizer { method Binarizer (line 34) | protected Binarizer(LuminanceSource source) { method getLuminanceSource (line 38) | public final LuminanceSource getLuminanceSource() { method getBlackRow (line 56) | public abstract BitArray getBlackRow(int y, BitArray row) throws NotFo... method getBlackMatrix (line 67) | public abstract BitMatrix getBlackMatrix() throws NotFoundException; method createBinarizer (line 77) | public abstract Binarizer createBinarizer(LuminanceSource source); method getWidth (line 79) | public final int getWidth() { method getHeight (line 83) | public final int getHeight() { FILE: src/peergos/shared/zxing/BinaryBitmap.java class BinaryBitmap (line 28) | public final class BinaryBitmap { method BinaryBitmap (line 33) | public BinaryBitmap(Binarizer binarizer) { method getWidth (line 43) | public int getWidth() { method getHeight (line 50) | public int getHeight() { method getBlackRow (line 65) | public BitArray getBlackRow(int y, BitArray row) throws NotFoundExcept... method getBlackMatrix (line 78) | public BitMatrix getBlackMatrix() throws NotFoundException { method isCropSupported (line 93) | public boolean isCropSupported() { method crop (line 107) | public BinaryBitmap crop(int left, int top, int width, int height) { method isRotateSupported (line 115) | public boolean isRotateSupported() { method rotateCounterClockwise (line 125) | public BinaryBitmap rotateCounterClockwise() { method rotateCounterClockwise45 (line 136) | public BinaryBitmap rotateCounterClockwise45() { method toString (line 141) | @Override FILE: src/peergos/shared/zxing/ChecksumException.java class ChecksumException (line 25) | public final class ChecksumException extends ReaderException { method ChecksumException (line 32) | private ChecksumException() { method ChecksumException (line 36) | private ChecksumException(Throwable cause) { method getChecksumInstance (line 40) | public static ChecksumException getChecksumInstance() { method getChecksumInstance (line 44) | public static ChecksumException getChecksumInstance(Throwable cause) { FILE: src/peergos/shared/zxing/DecodeHintType.java type DecodeHintType (line 30) | public enum DecodeHintType { method DecodeHintType (line 114) | DecodeHintType(Class valueType) { method getValueType (line 118) | public Class getValueType() { FILE: src/peergos/shared/zxing/Dimension.java class Dimension (line 22) | public final class Dimension { method Dimension (line 27) | public Dimension(int width, int height) { method getWidth (line 35) | public int getWidth() { method getHeight (line 39) | public int getHeight() { method equals (line 43) | @Override method hashCode (line 52) | @Override method toString (line 57) | @Override FILE: src/peergos/shared/zxing/EncodeHintType.java type EncodeHintType (line 24) | public enum EncodeHintType { FILE: src/peergos/shared/zxing/FormatException.java class FormatException (line 26) | public final class FormatException extends ReaderException { method FormatException (line 33) | private FormatException() { method FormatException (line 36) | private FormatException(Throwable cause) { method getFormatInstance (line 40) | public static FormatException getFormatInstance() { method getFormatInstance (line 44) | public static FormatException getFormatInstance(Throwable cause) { FILE: src/peergos/shared/zxing/InvertedLuminanceSource.java class InvertedLuminanceSource (line 25) | public final class InvertedLuminanceSource extends LuminanceSource { method InvertedLuminanceSource (line 29) | public InvertedLuminanceSource(LuminanceSource delegate) { method getRow (line 34) | @Override method getMatrix (line 44) | @Override method isCropSupported (line 55) | @Override method crop (line 60) | @Override method isRotateSupported (line 65) | @Override method invert (line 73) | @Override method rotateCounterClockwise (line 78) | @Override method rotateCounterClockwise45 (line 83) | @Override FILE: src/peergos/shared/zxing/LuminanceSource.java class LuminanceSource (line 28) | public abstract class LuminanceSource { method LuminanceSource (line 33) | protected LuminanceSource(int width, int height) { method getRow (line 50) | public abstract byte[] getRow(int y, byte[] row); method getMatrix (line 60) | public abstract byte[] getMatrix(); method getWidth (line 65) | public final int getWidth() { method getHeight (line 72) | public final int getHeight() { method isCropSupported (line 79) | public boolean isCropSupported() { method crop (line 93) | public LuminanceSource crop(int left, int top, int width, int height) { method isRotateSupported (line 100) | public boolean isRotateSupported() { method invert (line 108) | public LuminanceSource invert() { method rotateCounterClockwise (line 118) | public LuminanceSource rotateCounterClockwise() { method rotateCounterClockwise45 (line 128) | public LuminanceSource rotateCounterClockwise45() { method toString (line 132) | @Override FILE: src/peergos/shared/zxing/NotFoundException.java class NotFoundException (line 25) | public final class NotFoundException extends ReaderException { method NotFoundException (line 32) | private NotFoundException() { method getNotFoundInstance (line 36) | public static NotFoundException getNotFoundInstance() { FILE: src/peergos/shared/zxing/PlanarYUVLuminanceSource.java class PlanarYUVLuminanceSource (line 29) | public final class PlanarYUVLuminanceSource extends LuminanceSource { method PlanarYUVLuminanceSource (line 39) | public PlanarYUVLuminanceSource(byte[] yuvData, method getRow (line 63) | @Override method getMatrix (line 77) | @Override method isCropSupported (line 107) | @Override method crop (line 112) | @Override method renderThumbnail (line 124) | public int[] renderThumbnail() { method getThumbnailWidth (line 145) | public int getThumbnailWidth() { method getThumbnailHeight (line 152) | public int getThumbnailHeight() { method reverseHorizontal (line 156) | private void reverseHorizontal(int width, int height) { FILE: src/peergos/shared/zxing/RGBLuminanceSource.java class RGBLuminanceSource (line 26) | public final class RGBLuminanceSource extends LuminanceSource { method RGBLuminanceSource (line 34) | public RGBLuminanceSource(int width, int height, int[] pixels) { method RGBLuminanceSource (line 58) | private RGBLuminanceSource(byte[] pixels, method getRow (line 76) | @Override method getMatrix (line 90) | @Override method isCropSupported (line 120) | @Override method crop (line 125) | @Override FILE: src/peergos/shared/zxing/Reader.java type Reader (line 33) | public interface Reader { method decode (line 44) | Result decode(BinaryBitmap image) throws NotFoundException, ChecksumEx... method decode (line 60) | Result decode(BinaryBitmap image, Map hints) method reset (line 67) | void reset(); FILE: src/peergos/shared/zxing/ReaderException.java class ReaderException (line 26) | public abstract class ReaderException extends Exception { method ReaderException (line 31) | ReaderException() { method ReaderException (line 35) | ReaderException(Throwable cause) { method fillInStackTrace (line 40) | @Override FILE: src/peergos/shared/zxing/Result.java class Result (line 27) | public final class Result { method Result (line 37) | public Result(String text, method Result (line 44) | public Result(String text, method Result (line 53) | public Result(String text, method getText (line 71) | public String getText() { method getRawBytes (line 78) | public byte[] getRawBytes() { method getNumBits (line 86) | public int getNumBits() { method getResultPoints (line 95) | public ResultPoint[] getResultPoints() { method getBarcodeFormat (line 102) | public BarcodeFormat getBarcodeFormat() { method getResultMetadata (line 111) | public Map getResultMetadata() { method putMetadata (line 115) | public void putMetadata(ResultMetadataType type, Object value) { method putAllMetadata (line 122) | public void putAllMetadata(Map metadata) { method addResultPoints (line 132) | public void addResultPoints(ResultPoint[] newPoints) { method getTimestamp (line 144) | public long getTimestamp() { method toString (line 148) | @Override FILE: src/peergos/shared/zxing/ResultMetadataType.java type ResultMetadataType (line 25) | public enum ResultMetadataType { FILE: src/peergos/shared/zxing/ResultPoint.java class ResultPoint (line 27) | public class ResultPoint { method ResultPoint (line 32) | public ResultPoint(float x, float y) { method getX (line 37) | public final float getX() { method getY (line 41) | public final float getY() { method equals (line 45) | @Override method hashCode (line 54) | @Override method toString (line 59) | @Override method orderBestPatterns (line 70) | public static void orderBestPatterns(ResultPoint[] patterns) { method distance (line 115) | public static float distance(ResultPoint pattern1, ResultPoint pattern... method crossProductZ (line 122) | private static float crossProductZ(ResultPoint pointA, FILE: src/peergos/shared/zxing/ResultPointCallback.java type ResultPointCallback (line 25) | public interface ResultPointCallback { method foundPossibleResultPoint (line 27) | void foundPossibleResultPoint(ResultPoint point); FILE: src/peergos/shared/zxing/Writer.java type Writer (line 28) | public interface Writer { method encode (line 40) | BitMatrix encode(String contents, BarcodeFormat format, int width, int... method encode (line 52) | BitMatrix encode(String contents, FILE: src/peergos/shared/zxing/WriterException.java class WriterException (line 25) | public final class WriterException extends Exception { method WriterException (line 27) | public WriterException() { method WriterException (line 30) | public WriterException(String message) { method WriterException (line 34) | public WriterException(Throwable cause) { FILE: src/peergos/shared/zxing/common/BitArray.java class BitArray (line 26) | public final class BitArray implements Cloneable { method BitArray (line 31) | public BitArray() { method BitArray (line 36) | public BitArray(int size) { method BitArray (line 42) | BitArray(int[] bits, int size) { method getSize (line 47) | public int getSize() { method getSizeInBytes (line 51) | public int getSizeInBytes() { method ensureCapacity (line 55) | private void ensureCapacity(int size) { method get (line 67) | public boolean get(int i) { method set (line 76) | public void set(int i) { method flip (line 85) | public void flip(int i) { method getNextSet (line 95) | public int getNextSet(int from) { method getNextUnset (line 118) | public int getNextUnset(int from) { method setBulk (line 143) | public void setBulk(int i, int newBits) { method setRange (line 153) | public void setRange(int start, int end) { method clear (line 175) | public void clear() { method isRange (line 191) | public boolean isRange(int start, int end, boolean value) { method appendBit (line 216) | public void appendBit(boolean bit) { method appendBits (line 232) | public void appendBits(int value, int numBits) { method appendBitArray (line 242) | public void appendBitArray(BitArray other) { method xor (line 250) | public void xor(BitArray other) { method toBytes (line 269) | public void toBytes(int bitOffset, byte[] array, int offset, int numBy... method getBitArray (line 286) | public int[] getBitArray() { method reverse (line 293) | public void reverse() { method makeArray (line 322) | private static int[] makeArray(int size) { method equals (line 326) | @Override method hashCode (line 335) | @Override method toString (line 340) | @Override method clone (line 352) | public BitArray clone() { FILE: src/peergos/shared/zxing/common/BitMatrix.java class BitMatrix (line 36) | public final class BitMatrix implements Cloneable { method BitMatrix (line 48) | public BitMatrix(int dimension) { method BitMatrix (line 58) | public BitMatrix(int width, int height) { method BitMatrix (line 68) | private BitMatrix(int width, int height, int rowSize, int[] bits) { method parse (line 81) | public static BitMatrix parse(boolean[][] image) { method parse (line 96) | public static BitMatrix parse(String stringRepresentation, String setS... method get (line 160) | public boolean get(int x, int y) { method set (line 171) | public void set(int x, int y) { method unset (line 176) | public void unset(int x, int y) { method flip (line 187) | public void flip(int x, int y) { method xor (line 198) | public void xor(BitMatrix mask) { method clear (line 216) | public void clear() { method setRegion (line 231) | public void setRegion(int left, int top, int width, int height) { method getRow (line 259) | public BitArray getRow(int y, BitArray row) { method setRow (line 276) | public void setRow(int y, BitArray row) { method rotate180 (line 283) | public void rotate180() { method getEnclosingRectangle (line 303) | public int[] getEnclosingRectangle() { method getTopLeftOnBit (line 353) | public int[] getTopLeftOnBit() { method getBottomRightOnBit (line 373) | public int[] getBottomRightOnBit() { method getWidth (line 398) | public int getWidth() { method getHeight (line 405) | public int getHeight() { method getRowSize (line 412) | public int getRowSize() { method equals (line 416) | @Override method hashCode (line 426) | @Override method toString (line 439) | @Override method toString (line 449) | public String toString(String setString, String unsetString) { method toString (line 460) | @Deprecated method buildToString (line 465) | private String buildToString(String setString, String unsetString, Str... method clone (line 476) | public BitMatrix clone() { FILE: src/peergos/shared/zxing/common/BitSource.java class BitSource (line 28) | public final class BitSource { method BitSource (line 38) | public BitSource(byte[] bytes) { method getBitOffset (line 45) | public int getBitOffset() { method getByteOffset (line 52) | public int getByteOffset() { method readBits (line 62) | public int readBits(int numBits) { method available (line 107) | public int available() { FILE: src/peergos/shared/zxing/common/CharacterSetECI.java type CharacterSetECI (line 30) | public enum CharacterSetECI { method CharacterSetECI (line 78) | CharacterSetECI(int value) { method CharacterSetECI (line 82) | CharacterSetECI(int value, String... otherEncodingNames) { method CharacterSetECI (line 87) | CharacterSetECI(int[] values, String... otherEncodingNames) { method getValue (line 92) | public int getValue() { method getCharacterSetECIByValue (line 102) | public static CharacterSetECI getCharacterSetECIByValue(int value) thr... method getCharacterSetECIByName (line 114) | public static CharacterSetECI getCharacterSetECIByName(String name) { FILE: src/peergos/shared/zxing/common/DecoderResult.java class DecoderResult (line 28) | public final class DecoderResult { method DecoderResult (line 41) | public DecoderResult(byte[] rawBytes, method DecoderResult (line 48) | public DecoderResult(byte[] rawBytes, method getRawBytes (line 66) | public byte[] getRawBytes() { method getNumBits (line 74) | public int getNumBits() { method setNumBits (line 82) | public void setNumBits(int numBits) { method getText (line 89) | public String getText() { method getByteSegments (line 96) | public List getByteSegments() { method getECLevel (line 103) | public String getECLevel() { method getErrorsCorrected (line 110) | public Integer getErrorsCorrected() { method setErrorsCorrected (line 114) | public void setErrorsCorrected(Integer errorsCorrected) { method getErasures (line 121) | public Integer getErasures() { method setErasures (line 125) | public void setErasures(Integer erasures) { method getOther (line 132) | public Object getOther() { method setOther (line 136) | public void setOther(Object other) { method hasStructuredAppend (line 140) | public boolean hasStructuredAppend() { method getStructuredAppendParity (line 144) | public int getStructuredAppendParity() { method getStructuredAppendSequenceNumber (line 148) | public int getStructuredAppendSequenceNumber() { FILE: src/peergos/shared/zxing/common/DefaultGridSampler.java class DefaultGridSampler (line 24) | public final class DefaultGridSampler extends GridSampler { method sampleGrid (line 26) | @Override method sampleGrid (line 46) | @Override FILE: src/peergos/shared/zxing/common/DetectorResult.java class DetectorResult (line 28) | public class DetectorResult { method DetectorResult (line 33) | public DetectorResult(BitMatrix bits, ResultPoint[] points) { method getBits (line 38) | public final BitMatrix getBits() { method getPoints (line 42) | public final ResultPoint[] getPoints() { FILE: src/peergos/shared/zxing/common/GlobalHistogramBinarizer.java class GlobalHistogramBinarizer (line 34) | public class GlobalHistogramBinarizer extends Binarizer { method GlobalHistogramBinarizer (line 44) | public GlobalHistogramBinarizer(LuminanceSource source) { method getBlackRow (line 51) | @Override method getBlackMatrix (line 93) | @Override method createBinarizer (line 132) | @Override method initArrays (line 137) | private void initArrays(int luminanceSize) { method estimateBlackPoint (line 146) | private static int estimateBlackPoint(int[] buckets) throws NotFoundEx... FILE: src/peergos/shared/zxing/common/GridSampler.java class GridSampler (line 34) | public abstract class GridSampler { method setGridSampler (line 47) | public static void setGridSampler(GridSampler newGridSampler) { method getInstance (line 54) | public static GridSampler getInstance() { method sampleGrid (line 87) | public abstract BitMatrix sampleGrid(BitMatrix image, method sampleGrid (line 99) | public abstract BitMatrix sampleGrid(BitMatrix image, method checkAndNudgePoints (line 119) | protected static void checkAndNudgePoints(BitMatrix image, FILE: src/peergos/shared/zxing/common/HybridBinarizer.java class HybridBinarizer (line 40) | public final class HybridBinarizer extends GlobalHistogramBinarizer { method HybridBinarizer (line 52) | public HybridBinarizer(LuminanceSource source) { method getBlackMatrix (line 61) | @Override method createBinarizer (line 91) | @Override method calculateThresholdForBlock (line 101) | private static void calculateThresholdForBlock(byte[] luminances, method cap (line 133) | private static int cap(int value, int max) { method thresholdBlock (line 140) | private static void thresholdBlock(byte[] luminances, method calculateBlackPoints (line 161) | private static int[][] calculateBlackPoints(byte[] luminances, FILE: src/peergos/shared/zxing/common/PerspectiveTransform.java class PerspectiveTransform (line 26) | public final class PerspectiveTransform { method PerspectiveTransform (line 38) | private PerspectiveTransform(float a11, float a21, float a31, method quadrilateralToQuadrilateral (line 52) | public static PerspectiveTransform quadrilateralToQuadrilateral(float ... method transformPoints (line 66) | public void transformPoints(float[] points) { method transformPoints (line 86) | public void transformPoints(float[] xValues, float[] yValues) { method squareToQuadrilateral (line 97) | public static PerspectiveTransform squareToQuadrilateral(float x0, flo... method quadrilateralToSquare (line 122) | public static PerspectiveTransform quadrilateralToSquare(float x0, flo... method buildAdjoint (line 130) | PerspectiveTransform buildAdjoint() { method times (line 143) | PerspectiveTransform times(PerspectiveTransform other) { FILE: src/peergos/shared/zxing/common/StringUtils.java class StringUtils (line 30) | public final class StringUtils { method StringUtils (line 42) | private StringUtils() { } method guessEncoding (line 51) | public static String guessEncoding(byte[] bytes, Map... FILE: src/peergos/shared/zxing/common/detector/MathUtils.java class MathUtils (line 22) | public final class MathUtils { method MathUtils (line 24) | private MathUtils() { method round (line 36) | public static int round(float d) { method distance (line 47) | public static float distance(float aX, float aY, float bX, float bY) { method distance (line 60) | public static float distance(int aX, int aY, int bX, int bY) { method sum (line 70) | public static int sum(int[] array) { FILE: src/peergos/shared/zxing/common/detector/MonochromeRectangleDetector.java class MonochromeRectangleDetector (line 31) | @Deprecated method MonochromeRectangleDetector (line 38) | public MonochromeRectangleDetector(BitMatrix image) { method detect (line 52) | public ResultPoint[] detect() throws NotFoundException { method findCornerFromCenter (line 102) | private ResultPoint findCornerFromCenter(int centerX, method blackWhiteRange (line 170) | private int[] blackWhiteRange(int fixedDimension, int maxWhiteRun, int... FILE: src/peergos/shared/zxing/common/detector/WhiteRectangleDetector.java class WhiteRectangleDetector (line 33) | public final class WhiteRectangleDetector { method WhiteRectangleDetector (line 46) | public WhiteRectangleDetector(BitMatrix image) throws NotFoundException { method WhiteRectangleDetector (line 57) | public WhiteRectangleDetector(BitMatrix image, int initSize, int x, in... method detect (line 85) | public ResultPoint[] detect() throws NotFoundException { method getBlackPointOnSegment (line 235) | private ResultPoint getBlackPointOnSegment(float aX, float aY, float b... method centerEdges (line 263) | private ResultPoint[] centerEdges(ResultPoint y, ResultPoint z, method containsBlackPoint (line 306) | private boolean containsBlackPoint(int a, int b, int fixed, boolean ho... FILE: src/peergos/shared/zxing/common/reedsolomon/GenericGF.java class GenericGF (line 30) | public final class GenericGF { method GenericGF (line 60) | public GenericGF(int primitive, int size, int b) { method getZero (line 84) | GenericGFPoly getZero() { method getOne (line 88) | GenericGFPoly getOne() { method buildMonomial (line 95) | GenericGFPoly buildMonomial(int degree, int coefficient) { method addOrSubtract (line 112) | static int addOrSubtract(int a, int b) { method exp (line 119) | int exp(int a) { method log (line 126) | int log(int a) { method inverse (line 136) | int inverse(int a) { method multiply (line 146) | int multiply(int a, int b) { method getSize (line 153) | public int getSize() { method getGeneratorBase (line 157) | public int getGeneratorBase() { method toString (line 161) | @Override FILE: src/peergos/shared/zxing/common/reedsolomon/GenericGFPoly.java class GenericGFPoly (line 28) | final class GenericGFPoly { method GenericGFPoly (line 42) | GenericGFPoly(GenericGF field, int[] coefficients) { method getCoefficients (line 69) | int[] getCoefficients() { method getDegree (line 76) | int getDegree() { method isZero (line 83) | boolean isZero() { method getCoefficient (line 90) | int getCoefficient(int degree) { method evaluateAt (line 97) | int evaluateAt(int a) { method addOrSubtract (line 118) | GenericGFPoly addOrSubtract(GenericGFPoly other) { method multiply (line 148) | GenericGFPoly multiply(GenericGFPoly other) { method multiply (line 170) | GenericGFPoly multiply(int scalar) { method multiplyByMonomial (line 185) | GenericGFPoly multiplyByMonomial(int degree, int coefficient) { method divide (line 200) | GenericGFPoly[] divide(GenericGFPoly other) { method toString (line 226) | @Override FILE: src/peergos/shared/zxing/common/reedsolomon/ReedSolomonDecoder.java class ReedSolomonDecoder (line 41) | public final class ReedSolomonDecoder { method ReedSolomonDecoder (line 45) | public ReedSolomonDecoder(GenericGF field) { method decode (line 58) | public void decode(int[] received, int twoS) throws ReedSolomonExcepti... method runEuclideanAlgorithm (line 88) | private GenericGFPoly[] runEuclideanAlgorithm(GenericGFPoly a, Generic... method findErrorLocations (line 143) | private int[] findErrorLocations(GenericGFPoly errorLocator) throws Re... method findErrorMagnitudes (line 163) | private int[] findErrorMagnitudes(GenericGFPoly errorEvaluator, int[] ... FILE: src/peergos/shared/zxing/common/reedsolomon/ReedSolomonEncoder.java class ReedSolomonEncoder (line 28) | public final class ReedSolomonEncoder { method ReedSolomonEncoder (line 33) | public ReedSolomonEncoder(GenericGF field) { method buildGenerator (line 39) | private GenericGFPoly buildGenerator(int degree) { method encode (line 52) | public void encode(int[] toEncode, int ecBytes) { FILE: src/peergos/shared/zxing/common/reedsolomon/ReedSolomonException.java class ReedSolomonException (line 25) | public final class ReedSolomonException extends Exception { method ReedSolomonException (line 27) | public ReedSolomonException(String message) { FILE: src/peergos/shared/zxing/qrcode/QRCodeReader.java class QRCodeReader (line 44) | public class QRCodeReader implements Reader { method getDecoder (line 50) | protected final Decoder getDecoder() { method decode (line 62) | @Override method decode (line 67) | @Override method reset (line 105) | @Override method extractPureBits (line 116) | private static BitMatrix extractPureBits(BitMatrix image) throws NotFo... method moduleSize (line 197) | private static float moduleSize(int[] leftTopBlack, BitMatrix image) t... FILE: src/peergos/shared/zxing/qrcode/QRCodeWriter.java class QRCodeWriter (line 36) | public final class QRCodeWriter implements Writer { method encode (line 40) | @Override method encode (line 47) | @Override method renderResult (line 84) | private static BitMatrix renderResult(QRCode code, int width, int heig... FILE: src/peergos/shared/zxing/qrcode/decoder/BitMatrixParser.java class BitMatrixParser (line 25) | final class BitMatrixParser { method BitMatrixParser (line 36) | BitMatrixParser(BitMatrix bitMatrix) throws FormatException { method readFormatInformation (line 51) | FormatInformation readFormatInformation() throws FormatException { method readVersion (line 96) | Version readVersion() throws FormatException { method copyBit (line 140) | private int copyBit(int i, int j, int versionBits) { method readCodewords (line 153) | byte[] readCodewords() throws FormatException { method remask (line 210) | void remask() { method setMirror (line 227) | void setMirror(boolean mirror) { method mirror (line 234) | void mirror() { FILE: src/peergos/shared/zxing/qrcode/decoder/DataBlock.java class DataBlock (line 26) | final class DataBlock { method DataBlock (line 31) | private DataBlock(int numDataCodewords, byte[] codewords) { method getDataBlocks (line 47) | static DataBlock[] getDataBlocks(byte[] rawCodewords, method getNumDataCodewords (line 114) | int getNumDataCodewords() { method getCodewords (line 118) | byte[] getCodewords() { FILE: src/peergos/shared/zxing/qrcode/decoder/DataMask.java type DataMask (line 32) | enum DataMask { method isMasked (line 40) | @Override method isMasked (line 50) | @Override method isMasked (line 60) | @Override method isMasked (line 70) | @Override method isMasked (line 80) | @Override method isMasked (line 91) | @Override method isMasked (line 102) | @Override method isMasked (line 113) | @Override method unmaskBitMatrix (line 129) | final void unmaskBitMatrix(BitMatrix bits, int dimension) { method isMasked (line 139) | abstract boolean isMasked(int i, int j); FILE: src/peergos/shared/zxing/qrcode/decoder/DecodedBitStreamParser.java class DecodedBitStreamParser (line 40) | final class DecodedBitStreamParser { method DecodedBitStreamParser (line 49) | private DecodedBitStreamParser() { method decode (line 52) | static DecoderResult decode(byte[] bytes, method decodeHanziSegment (line 147) | private static void decodeHanziSegment(BitSource bits, method decodeKanjiSegment (line 183) | private static void decodeKanjiSegment(BitSource bits, method decodeByteSegment (line 219) | private static void decodeByteSegment(BitSource bits, method toAlphaNumericChar (line 243) | private static char toAlphaNumericChar(int value) throws FormatExcepti... method decodeAlphanumericSegment (line 250) | private static void decodeAlphanumericSegment(BitSource bits, method decodeNumericSegment (line 289) | private static void decodeNumericSegment(BitSource bits, method parseECIValue (line 331) | private static int parseECIValue(BitSource bits) throws FormatException { FILE: src/peergos/shared/zxing/qrcode/decoder/Decoder.java class Decoder (line 36) | public final class Decoder { method Decoder (line 40) | public Decoder() { method decode (line 44) | public DecoderResult decode(boolean[][] image) throws ChecksumExceptio... method decode (line 58) | public DecoderResult decode(boolean[][] image, Map h... method decode (line 63) | public DecoderResult decode(BitMatrix bits) throws ChecksumException, ... method decode (line 76) | public DecoderResult decode(BitMatrix bits, Map hints) method decode (line 130) | private DecoderResult decode(BitMatrixParser parser, Map hints) throws... method processFinderPatternInfo (line 86) | protected final DetectorResult processFinderPatternInfo(FinderPatternI... method createTransform (line 144) | private static PerspectiveTransform createTransform(ResultPoint topLeft, method sampleGrid (line 186) | private static BitMatrix sampleGrid(BitMatrix image, method computeDimension (line 198) | private static int computeDimension(ResultPoint topLeft, method calculateModuleSize (line 228) | protected final float calculateModuleSize(ResultPoint topLeft, method calculateModuleSizeOneWay (line 241) | private float calculateModuleSizeOneWay(ResultPoint pattern, ResultPoi... method sizeOfBlackWhiteBlackRunBothWays (line 266) | private float sizeOfBlackWhiteBlackRunBothWays(int fromX, int fromY, i... method sizeOfBlackWhiteBlackRun (line 306) | private float sizeOfBlackWhiteBlackRun(int fromX, int fromY, int toX, ... method findAlignmentInRegion (line 373) | protected final AlignmentPattern findAlignmentInRegion(float overallEs... FILE: src/peergos/shared/zxing/qrcode/detector/FinderPattern.java class FinderPattern (line 28) | public final class FinderPattern extends ResultPoint { method FinderPattern (line 33) | FinderPattern(float posX, float posY, float estimatedModuleSize) { method FinderPattern (line 37) | private FinderPattern(float posX, float posY, float estimatedModuleSiz... method getEstimatedModuleSize (line 43) | public float getEstimatedModuleSize() { method getCount (line 47) | int getCount() { method aboutEquals (line 61) | boolean aboutEquals(float moduleSize, float i, float j) { method combineEstimate (line 74) | FinderPattern combineEstimate(float i, float j, float newModuleSize) { FILE: src/peergos/shared/zxing/qrcode/detector/FinderPatternFinder.java class FinderPatternFinder (line 40) | public class FinderPatternFinder { method FinderPatternFinder (line 58) | public FinderPatternFinder(BitMatrix image) { method FinderPatternFinder (line 62) | public FinderPatternFinder(BitMatrix image, ResultPointCallback result... method getImage (line 69) | protected final BitMatrix getImage() { method getPossibleCenters (line 73) | protected final List getPossibleCenters() { method find (line 77) | final FinderPatternInfo find(Map hints) throws NotFo... method centerFromEnd (line 174) | private static float centerFromEnd(int[] stateCount, int end) { method foundPatternCross (line 183) | protected static boolean foundPatternCross(int[] stateCount) { method foundPatternDiagonal (line 211) | protected static boolean foundPatternDiagonal(int[] stateCount) { method getCrossCheckStateCount (line 234) | private int[] getCrossCheckStateCount() { method clearCounts (line 239) | protected final void clearCounts(int[] counts) { method shiftCounts2 (line 245) | protected final void shiftCounts2(int[] stateCount) { method crossCheckDiagonal (line 262) | private boolean crossCheckDiagonal(int centerI, int centerJ) { method crossCheckVertical (line 333) | private float crossCheckVertical(int startI, int centerJ, int maxCount, method crossCheckHorizontal (line 405) | private float crossCheckHorizontal(int startJ, int centerI, int maxCount, method handlePossibleCenter (line 478) | @Deprecated method handlePossibleCenter (line 500) | protected final boolean handlePossibleCenter(int[] stateCount, int i, ... method findRowSkip (line 539) | private int findRowSkip() { method haveMultiplyConfirmedCenters (line 569) | private boolean haveMultiplyConfirmedCenters() { method squaredDistance (line 597) | private static double squaredDistance(FinderPattern a, FinderPattern b) { method selectBestPatterns (line 608) | private FinderPattern[] selectBestPatterns() throws NotFoundException { class EstimatedModuleComparator (line 669) | private static final class EstimatedModuleComparator implements Compar... method compare (line 670) | @Override FILE: src/peergos/shared/zxing/qrcode/detector/FinderPatternInfo.java class FinderPatternInfo (line 25) | public final class FinderPatternInfo { method FinderPatternInfo (line 31) | public FinderPatternInfo(FinderPattern[] patternCenters) { method getBottomLeft (line 37) | public FinderPattern getBottomLeft() { method getTopLeft (line 41) | public FinderPattern getTopLeft() { method getTopRight (line 45) | public FinderPattern getTopRight() { FILE: src/peergos/shared/zxing/qrcode/encoder/BlockPair.java class BlockPair (line 19) | final class BlockPair { method BlockPair (line 24) | BlockPair(byte[] data, byte[] errorCorrection) { method getDataBytes (line 29) | public byte[] getDataBytes() { method getErrorCorrectionBytes (line 33) | public byte[] getErrorCorrectionBytes() { FILE: src/peergos/shared/zxing/qrcode/encoder/ByteMatrix.java class ByteMatrix (line 27) | public final class ByteMatrix { method ByteMatrix (line 33) | public ByteMatrix(int width, int height) { method getHeight (line 39) | public int getHeight() { method getWidth (line 43) | public int getWidth() { method get (line 47) | public byte get(int x, int y) { method getArray (line 54) | public byte[][] getArray() { method set (line 58) | public void set(int x, int y, byte value) { method set (line 62) | public void set(int x, int y, int value) { method set (line 66) | public void set(int x, int y, boolean value) { method clear (line 70) | public void clear(byte value) { method toString (line 76) | @Override FILE: src/peergos/shared/zxing/qrcode/encoder/Encoder.java class Encoder (line 38) | public final class Encoder { method Encoder (line 52) | private Encoder() { method calculateMaskPenalty (line 57) | private static int calculateMaskPenalty(ByteMatrix matrix) { method encode (line 71) | public static QRCode encode(String content, ErrorCorrectionLevel ecLev... method encode (line 75) | public static QRCode encode(String content, method recommendVersion (line 183) | private static Version recommendVersion(ErrorCorrectionLevel ecLevel, method calculateBitsNeeded (line 198) | private static int calculateBitsNeeded(Mode mode, method getAlphanumericCode (line 209) | static int getAlphanumericCode(int code) { method chooseMode (line 216) | public static Mode chooseMode(String content) { method chooseMode (line 224) | private static Mode chooseMode(String content, String encoding) { method isOnlyDoubleByteKanji (line 250) | private static boolean isOnlyDoubleByteKanji(String content) { method chooseMaskPattern (line 270) | private static int chooseMaskPattern(BitArray bits, method chooseVersion (line 289) | private static Version chooseVersion(int numInputBits, ErrorCorrection... method willFit (line 303) | private static boolean willFit(int numInputBits, Version version, Erro... method terminateBits (line 319) | static void terminateBits(int numDataBytes, BitArray bits) throws Writ... method getNumDataBytesAndNumECBytesForBlockID (line 351) | static void getNumDataBytesAndNumECBytesForBlockID(int numTotalBytes, method interleaveWithECBytes (line 407) | static BitArray interleaveWithECBytes(BitArray bits, method generateECBytes (line 475) | static byte[] generateECBytes(byte[] dataBytes, int numEcBytesInBlock) { method appendModeInfo (line 493) | static void appendModeInfo(Mode mode, BitArray bits) { method appendLengthInfo (line 501) | static void appendLengthInfo(int numLetters, Version version, Mode mod... method appendBytes (line 512) | static void appendBytes(String content, method appendNumericBytes (line 534) | static void appendNumericBytes(CharSequence content, BitArray bits) { method appendAlphanumericBytes (line 558) | static void appendAlphanumericBytes(CharSequence content, BitArray bit... method append8BitBytes (line 582) | static void append8BitBytes(String content, BitArray bits, String enco... method appendKanjiBytes (line 595) | static void appendKanjiBytes(String content, BitArray bits) throws Wri... method appendECI (line 624) | private static void appendECI(CharacterSetECI eci, BitArray bits) { FILE: src/peergos/shared/zxing/qrcode/encoder/MaskUtil.java class MaskUtil (line 24) | final class MaskUtil { method MaskUtil (line 32) | private MaskUtil() { method applyMaskPenaltyRule1 (line 40) | static int applyMaskPenaltyRule1(ByteMatrix matrix) { method applyMaskPenaltyRule2 (line 49) | static int applyMaskPenaltyRule2(ByteMatrix matrix) { method applyMaskPenaltyRule3 (line 71) | static int applyMaskPenaltyRule3(ByteMatrix matrix) { method isWhiteHorizontal (line 106) | private static boolean isWhiteHorizontal(byte[] rowArray, int from, in... method isWhiteVertical (line 117) | private static boolean isWhiteVertical(byte[][] array, int col, int fr... method applyMaskPenaltyRule4 (line 132) | static int applyMaskPenaltyRule4(ByteMatrix matrix) { method getDataMaskBit (line 154) | static boolean getDataMaskBit(int maskPattern, int x, int y) { method applyMaskPenaltyRule1Internal (line 195) | private static int applyMaskPenaltyRule1Internal(ByteMatrix matrix, bo... FILE: src/peergos/shared/zxing/qrcode/encoder/MatrixUtil.java class MatrixUtil (line 28) | final class MatrixUtil { method MatrixUtil (line 118) | private MatrixUtil() { method clearMatrix (line 126) | static void clearMatrix(ByteMatrix matrix) { method buildMatrix (line 132) | static void buildMatrix(BitArray dataBits, method embedBasicPatterns (line 153) | static void embedBasicPatterns(Version version, ByteMatrix matrix) thr... method embedTypeInfo (line 166) | static void embedTypeInfo(ErrorCorrectionLevel ecLevel, int maskPatter... method maybeEmbedVersionInfo (line 198) | static void maybeEmbedVersionInfo(Version version, ByteMatrix matrix) ... method embedDataBits (line 222) | static void embedDataBits(BitArray dataBits, int maskPattern, ByteMatr... method findMSBSet (line 274) | static int findMSBSet(int value) { method calculateBCHCode (line 303) | static int calculateBCHCode(int value, int poly) { method makeTypeInfoBits (line 322) | static void makeTypeInfoBits(ErrorCorrectionLevel ecLevel, int maskPat... method makeVersionInfoBits (line 344) | static void makeVersionInfoBits(Version version, BitArray bits) throws... method isEmpty (line 355) | private static boolean isEmpty(int value) { method embedTimingPatterns (line 359) | private static void embedTimingPatterns(ByteMatrix matrix) { method embedDarkDotAtLeftBottomCorner (line 376) | private static void embedDarkDotAtLeftBottomCorner(ByteMatrix matrix) ... method embedHorizontalSeparationPattern (line 383) | private static void embedHorizontalSeparationPattern(int xStart, method embedVerticalSeparationPattern (line 394) | private static void embedVerticalSeparationPattern(int xStart, method embedPositionAdjustmentPattern (line 405) | private static void embedPositionAdjustmentPattern(int xStart, int ySt... method embedPositionDetectionPattern (line 414) | private static void embedPositionDetectionPattern(int xStart, int ySta... method embedPositionDetectionPatternsAndSeparators (line 424) | private static void embedPositionDetectionPatternsAndSeparators(ByteMa... method maybeEmbedPositionAdjustmentPatterns (line 456) | private static void maybeEmbedPositionAdjustmentPatterns(Version versi... FILE: src/peergos/shared/zxing/qrcode/encoder/QRCode.java class QRCode (line 27) | public final class QRCode { method QRCode (line 37) | public QRCode() { method getMode (line 41) | public Mode getMode() { method getECLevel (line 45) | public ErrorCorrectionLevel getECLevel() { method getVersion (line 49) | public Version getVersion() { method getMaskPattern (line 53) | public int getMaskPattern() { method getMatrix (line 57) | public ByteMatrix getMatrix() { method toString (line 61) | @Override method setMode (line 83) | public void setMode(Mode value) { method setECLevel (line 87) | public void setECLevel(ErrorCorrectionLevel value) { method setVersion (line 91) | public void setVersion(Version version) { method setMaskPattern (line 95) | public void setMaskPattern(int value) { method setMatrix (line 99) | public void setMatrix(ByteMatrix value) { method isValidMaskPattern (line 104) | public static boolean isValidMaskPattern(int maskPattern) {