Skip navigation links
A B C D E F G H K L M N O P R S T U V W 

A

AESUtils - Class in org.multibit.commons.crypto
Utility class to provide the following to BRIT API:
afterExecute(Runnable, Throwable) - Method in class org.multibit.commons.concurrent.SafeScheduledThreadPoolExecutor
 
afterExecute(Runnable, Throwable) - Method in class org.multibit.commons.concurrent.SafeThreadPoolExecutor
 

B

bitcoinGenesis() - Static method in class org.multibit.commons.utils.Dates
 
BLOCK_LENGTH - Static variable in class org.multibit.commons.crypto.AESUtils
The size of an AES block in bytes.

C

calculateDriftInMillis(String) - Static method in class org.multibit.commons.utils.Dates
Non-blocking call to an SNTP time server.
CHECKSUM_MODULUS - Static variable in class org.multibit.commons.utils.Dates
 
createAESKey(byte[], byte[]) - Static method in class org.multibit.commons.crypto.AESUtils
Create an AES 256 key given 20 bytes of entropy (e.g.
createTemporaryDirectory() - Static method in class org.multibit.commons.files.SecureFiles
Atomically create a temporary directory that will be removed when the JVM exits
createTemporaryFilename(String, String, File) - Static method in class org.multibit.commons.files.SecureFiles
Create a temporary filename but do not create the actual file

D

Dates - Class in org.multibit.commons.utils
Utility to provide the following to all layers:
decodeTimestamp(byte[], int) - Static method in class org.multibit.commons.sntp.NtpMessage
Will read 8 bytes of a message beginning at pointer and return it as a double, according to the NTP 64-bit timestamp format.
decrypt(byte[], KeyParameter, byte[]) - Static method in class org.multibit.commons.crypto.AESUtils
Decrypt bytes previously encrypted with this class.
decryptFile(InputStream, OutputStream, InputStream, char[]) - Static method in class org.multibit.commons.crypto.PGPUtils
Decrypt the passed in message stream
doPost(URL, byte[], String) - Static method in class org.multibit.commons.utils.HttpsUtils
Perform a post of the specified bytes to the specified URL

E

ECUtils - Class in org.multibit.commons.crypto
Utility class to provide the following to BRIT API:
encodeTimestamp(byte[], int, double) - Static method in class org.multibit.commons.sntp.NtpMessage
Encodes a timestamp in the specified position in the message
encrypt(byte[], KeyParameter, byte[]) - Static method in class org.multibit.commons.crypto.AESUtils
Password based encryption using AES - CBC 256 bits.
encryptFile(OutputStream, File, PGPPublicKey) - Static method in class org.multibit.commons.crypto.PGPUtils
Encrypt a file

F

findPrivateKey(InputStream, long, char[]) - Static method in class org.multibit.commons.crypto.PGPUtils
Load a secret key ring collection from keyIn and find the secret key corresponding to keyID if it exists.
formatBackupDate(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatCompactDate(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatCompactDate(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatCompactDateLocal(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatCompactDateLocal(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatCompactDateWithHyphens(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatCompactDateWithHyphensLocal(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatDeliveryDate(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatDeliveryDate(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatDeliveryDateLocal(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatDeliveryDateLocal(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatHttpDateHeader(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatHttpDateHeaderLocal(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatIso8601(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatIso8601(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatIso8601Local(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatIso8601Local(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatShortTime(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatShortTimeLocal(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatSmtpDate(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatSmtpDate(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatSmtpDateLocal(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatSmtpDateLocal(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatTransactionDate(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatTransactionDate(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 
formatTransactionDateLocal(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
 
formatTransactionDateLocal(ReadableInstant, Locale) - Static method in class org.multibit.commons.utils.Dates
 

G

generate160BitsOfEntropy(byte[], byte[]) - Static method in class org.multibit.commons.crypto.AESUtils
Generate 160 bits of entropy from the seed bytes.

H

HttpsUtils - Class in org.multibit.commons.utils
Utility to provide the following to HTTPS application code:

K

KEY_LENGTH - Static variable in class org.multibit.commons.crypto.AESUtils
Key length in bytes.

L

leapIndicator - Variable in class org.multibit.commons.sntp.NtpMessage
This is a two-bit code warning of an impending leap second to be inserted/deleted in the last minute of the current day.

M

midnightLocal() - Static method in class org.multibit.commons.utils.Dates
 
midnightUtc() - Static method in class org.multibit.commons.utils.Dates
 
mode - Variable in class org.multibit.commons.sntp.NtpMessage
This value indicates the mode, with values defined as follows: Mode Meaning ---- ------- 0 reserved 1 symmetric active 2 symmetric passive 3 client 4 server 5 broadcast 6 reserved for NTP control message 7 reserved for private use In unicast and anycast modes, the client sets this field to 3 (client) in the request and the server sets it to 4 (server) in the reply.
moduloSeedByECGroupSize(BigInteger) - Static method in class org.multibit.commons.crypto.ECUtils
Ensure that the seed is within the range of the bitcoin EC group

N

newFixedThreadPool(int, String) - Static method in class org.multibit.commons.concurrent.SafeExecutors
Creates a thread pool that reuses a fixed number of threads operating off a shared unbounded queue.
newScheduledThreadPool(int, String) - Static method in class org.multibit.commons.concurrent.SafeExecutors
Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically.
newSeedTimestamp() - Static method in class org.multibit.commons.utils.Dates
A seed timestamp is the number of days elapsed since Bitcoin genesis block with a modulo 97 checksum appended.
newSingleThreadExecutor(String) - Static method in class org.multibit.commons.concurrent.SafeExecutors
Creates an Executor that uses a single worker thread operating off an unbounded queue.
newSingleThreadScheduledExecutor(String) - Static method in class org.multibit.commons.concurrent.SafeExecutors
Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically.
nowInSeconds() - Static method in class org.multibit.commons.utils.Dates
Get the current date since epoch in seconds
nowUtc() - Static method in class org.multibit.commons.utils.Dates
 
NtpMessage - Class in org.multibit.commons.sntp
This class represents a NTP message, as specified in RFC 2030.
NtpMessage(byte[]) - Constructor for class org.multibit.commons.sntp.NtpMessage
Constructs a new NtpMessage from an array of bytes.
NtpMessage() - Constructor for class org.multibit.commons.sntp.NtpMessage
Constructs a new NtpMessage in client -> server mode, and sets the transmit timestamp to the current time.
NUMBER_OF_SECONDS_IN_A_DAY - Static variable in class org.multibit.commons.utils.Dates
 

O

org.multibit.commons.concurrent - package org.multibit.commons.concurrent
 
org.multibit.commons.crypto - package org.multibit.commons.crypto
 
org.multibit.commons.files - package org.multibit.commons.files
 
org.multibit.commons.sntp - package org.multibit.commons.sntp
 
org.multibit.commons.utils - package org.multibit.commons.utils
 
originateTimestamp - Variable in class org.multibit.commons.sntp.NtpMessage
This is the time at which the request departed the client for the server, in seconds since 00:00 1-Jan-1900.

P

parseBackupDate(String) - Static method in class org.multibit.commons.utils.Dates
 
parseIso8601(String) - Static method in class org.multibit.commons.utils.Dates
 
parseSeedTimestamp(String) - Static method in class org.multibit.commons.utils.Dates
 
parseSmtpUtc(String) - Static method in class org.multibit.commons.utils.Dates
 
parseSmtpUtc(String, Locale) - Static method in class org.multibit.commons.utils.Dates
 
PGPUtils - Class in org.multibit.commons.crypto
Utility to provide the following to BRIT API:
pollInterval - Variable in class org.multibit.commons.sntp.NtpMessage
This value indicates the maximum interval between successive messages, in seconds to the nearest power of two.
precision - Variable in class org.multibit.commons.sntp.NtpMessage
This value indicates the precision of the local clock, in seconds to the nearest power of two.

R

readPublicKey(InputStream) - Static method in class org.multibit.commons.crypto.PGPUtils
Load a PGP public key from a public keyring or ASCII armored text file
receiveTimestamp - Variable in class org.multibit.commons.sntp.NtpMessage
This is the time at which the request arrived at the server, in seconds since 00:00 1-Jan-1900.
referenceIdentifier - Variable in class org.multibit.commons.sntp.NtpMessage
This is a 4-byte array identifying the particular reference source.
referenceIdentifierToString(byte[], short, byte) - Static method in class org.multibit.commons.sntp.NtpMessage
Returns a string representation of a reference identifier according to the rules set out in RFC 2030.
referenceTimestamp - Variable in class org.multibit.commons.sntp.NtpMessage
This is the time at which the local clock was last set or corrected, in seconds since 00:00 1-Jan-1900.
rename(File, File) - Static method in class org.multibit.commons.files.SecureFiles
Rename oldFile to newFile
rootDelay - Variable in class org.multibit.commons.sntp.NtpMessage
This value indicates the total round trip delay to the primary reference source, in seconds.
rootDispersion - Variable in class org.multibit.commons.sntp.NtpMessage
This value indicates the nominal error relative to the primary reference source, in seconds.

S

SafeExecutors - Class in org.multibit.commons.concurrent
Factory that partially wraps the standard Java Executors concurrency to allow any runtime exceptions to be passed to the ExceptionHandler.
SafeExecutors() - Constructor for class org.multibit.commons.concurrent.SafeExecutors
 
SafeScheduledThreadPoolExecutor - Class in org.multibit.commons.concurrent
Wrapper to provide standard exception handling
SafeScheduledThreadPoolExecutor(int) - Constructor for class org.multibit.commons.concurrent.SafeScheduledThreadPoolExecutor
 
SafeScheduledThreadPoolExecutor(int, RejectedExecutionHandler) - Constructor for class org.multibit.commons.concurrent.SafeScheduledThreadPoolExecutor
 
SafeScheduledThreadPoolExecutor(int, ThreadFactory) - Constructor for class org.multibit.commons.concurrent.SafeScheduledThreadPoolExecutor
 
SafeScheduledThreadPoolExecutor(int, ThreadFactory, RejectedExecutionHandler) - Constructor for class org.multibit.commons.concurrent.SafeScheduledThreadPoolExecutor
 
SafeThreadPoolExecutor - Class in org.multibit.commons.concurrent
Wrapper to provide standard exception handling
SafeThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>) - Constructor for class org.multibit.commons.concurrent.SafeThreadPoolExecutor
 
SafeThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, RejectedExecutionHandler) - Constructor for class org.multibit.commons.concurrent.SafeThreadPoolExecutor
 
SafeThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory) - Constructor for class org.multibit.commons.concurrent.SafeThreadPoolExecutor
 
SafeThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Constructor for class org.multibit.commons.concurrent.SafeThreadPoolExecutor
 
secureDelete(File) - Static method in class org.multibit.commons.files.SecureFiles
Delete a file with an overwrite of all of the data.
SecureFiles - Class in org.multibit.commons.files
Utilties to provide the following to applications:
slowSecureDelete(File) - Static method in class org.multibit.commons.files.SecureFiles
Delete a file with an overwrite of all of the data.
stratum - Variable in class org.multibit.commons.sntp.NtpMessage
This value indicates the stratum level of the local clock, with values defined as follows: Stratum Meaning ---------------------------------------------- 0 unspecified or unavailable 1 primary reference (e.g., radio clock) 2-15 secondary reference (via NTP or SNTP) 16-255 reserved

T

thenInSeconds(ReadableInstant) - Static method in class org.multibit.commons.utils.Dates
Get the number of seconds since epoch for the given instant
thenUtc(int, int, int, int, int, int) - Static method in class org.multibit.commons.utils.Dates
 
timestampToString(double) - Static method in class org.multibit.commons.sntp.NtpMessage
Returns a timestamp (number of seconds since 00:00 1-Jan-1900) as a formatted date/time string.
toByteArray() - Method in class org.multibit.commons.sntp.NtpMessage
This method constructs the data bytes of a raw NTP packet.
toString() - Method in class org.multibit.commons.sntp.NtpMessage
Returns a string representation of a NtpMessage
transmitTimestamp - Variable in class org.multibit.commons.sntp.NtpMessage
This is the time at which the reply departed the server for the client, in seconds since 00:00 1-Jan-1900.

U

unsignedByteToShort(byte) - Static method in class org.multibit.commons.sntp.NtpMessage
Converts an unsigned byte to a short.

V

verifyOrCreateDirectory(File) - Static method in class org.multibit.commons.files.SecureFiles
 
verifyOrCreateDirectory(File, String) - Static method in class org.multibit.commons.files.SecureFiles
 
verifyOrCreateFile(File, String) - Static method in class org.multibit.commons.files.SecureFiles
Use atomic file operations to create a file with all parent directories in place
version - Variable in class org.multibit.commons.sntp.NtpMessage
This value indicates the NTP/SNTP version number.

W

writeFile(InputStream, File, File) - Static method in class org.multibit.commons.files.SecureFiles
Securely write a file to the file system using temporary file then renaming to the destination
writeFile(InputStream, File) - Static method in class org.multibit.commons.files.SecureFiles
Securely write a file to the file system.
A B C D E F G H K L M N O P R S T U V W 
Skip navigation links

Copyright © 2015–2019. All rights reserved.