A B C D E F G H I J K L M N O P Q R S T U V W _

A

A0 - Static variable in class org.xlattice.crypto.digest.SHA1
h0, the initialization vector, so to speak
add(byte[], String) - Method in class org.xlattice.crypto.builds.BuildList
Add a content line to the BuildList.
add(String) - Method in class org.xlattice.crypto.builds.BuildMaker
Add a file name to the set.
add(byte[], int, String, String, long, String) - Method in class org.xlattice.crypto.u.SnapShot
Add a content line to the SnapShot.
algorithm() - Method in interface org.xlattice.crypto.KeyGen
 
algorithm() - Method in class org.xlattice.crypto.RSAKey
 
algorithm() - Method in class org.xlattice.crypto.RSAKeyGen
 
algorithm() - Method in class org.xlattice.crypto.RSAPublicKey
 
ANONYMOUS_TLS - Static variable in interface org.xlattice.crypto.tls.TlsConst
neither side uses public key
ANY_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
 
ANY_CLIENT_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
accept any cert for the client
ANY_SERVER_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
accept any cert for the server

B

B0 - Static variable in class org.xlattice.crypto.digest.SHA1
 
BAD_DIR - Static variable in class org.xlattice.crypto.builds.BuildMaker
Storage strategies, doubtless to be elaborated.
BAD_DIR - Static variable in class org.xlattice.crypto.u.Store
 
BAD_FILENAMES - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
BAD_FILENAMES - Static variable in class org.xlattice.crypto.u.Store
unacceptable names for uDir
BAD_SUBSTRINGS - Static variable in class org.xlattice.crypto.u.Store
unacceptable substrings in uDirName
BAD_TITLES - Static variable in class org.xlattice.crypto.builds.BuildMaker
unacceptable titles
badSubString(String) - Method in class org.xlattice.crypto.u.Store
 
beginHandshake() - Method in class org.xlattice.crypto.tls.TlsEngine
XXX "To force a complete SSL/TLS session renegotiation, the current session should be invalidated prior to calling this method." Translation: must call Session.invalidate();
bitOffset - Variable in class org.xlattice.crypto.filters.BloomSHA1
 
BloomSHA1 - Class in org.xlattice.crypto.filters
A Bloom filter for sets of SHA1 digests.
BloomSHA1(int, int) - Constructor for class org.xlattice.crypto.filters.BloomSHA1
Creates a filter with 2^m bits and k 'hash functions', where each hash function is a portion of the 160-bit SHA1 hash.
BloomSHA1(int) - Constructor for class org.xlattice.crypto.filters.BloomSHA1
Creates a filter of 2^m bits, with the number of 'hash functions" k defaulting to 8.
BloomSHA1() - Constructor for class org.xlattice.crypto.filters.BloomSHA1
Creates a filter of 2^20 bits with k defaulting to 8.
btoh(byte) - Static method in class org.xlattice.crypto.filters.BloomSHA1
convert single byte to String
btoh(byte) - Method in class org.xlattice.crypto.filters.KeySelector
 
BUF_SIZE - Static variable in class org.xlattice.crypto.SignedList
 
BUFSIZE - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
BuildList - Class in org.xlattice.crypto.builds
Serialized, a build list is a list of files and their extended hashes.
BuildList(RSAPublicKey, String) - Constructor for class org.xlattice.crypto.builds.BuildList
 
BuildList(Reader) - Constructor for class org.xlattice.crypto.builds.BuildList
 
BuildMaker - Class in org.xlattice.crypto.builds
Utility for creating from a set of files (a) a BuildList and optionally (b) a directory of data-keyed files.
BuildMaker(RSAKey, RSAPublicKey, String, String, String[], int, String) - Constructor for class org.xlattice.crypto.builds.BuildMaker
Get ready to make a BuildList.
BuildMaker(RSAKey, RSAPublicKey, String, String, int, String) - Constructor for class org.xlattice.crypto.builds.BuildMaker
Create a BuildList from all of the files in and below a given directory.
BuildMakerMain - Class in org.xlattice.crypto.builds
 
BuildMakerMain() - Constructor for class org.xlattice.crypto.builds.BuildMakerMain
 
byteResult() - Method in class org.xlattice.crypto.digest.SHA1
Returns the result of an 80-step round without adding the initial hash, h0; in the form of a byte array.

C

C0 - Static variable in class org.xlattice.crypto.digest.SHA1
 
CA_SIGNED_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
 
CA_SIGNED_CLIENT_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
accept any cert signed by a known CA
CA_SIGNED_SERVER_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
accept any cert signed by a known CA
capacity() - Method in class org.xlattice.crypto.filters.BloomSHA1
 
cDirStruc - Variable in class org.xlattice.crypto.u.Store
content-keyed directory structure type
clear() - Method in class org.xlattice.crypto.filters.BloomSHA1
Synchronized version
clear() - Method in class org.xlattice.crypto.filters.CountingBloom
Clear both the underlying filter in the superclass and the bit counters maintained here.
clear() - Method in class org.xlattice.crypto.filters.NibbleCounters
 
clear() - Method in class org.xlattice.crypto.u.Store
Remove all contained files but leave the directory structure intact.
CLIENT_MASK - Static variable in interface org.xlattice.crypto.tls.TlsConst
high bytes contain server-related flags
CLIENT_SHIFT - Static variable in interface org.xlattice.crypto.tls.TlsConst
 
close() - Method in class org.xlattice.crypto.u.Store
After calling this method, no further I/O operations may be performed on the Store.
closeInbound() - Method in class org.xlattice.crypto.tls.TlsEngine
 
closeOutbound() - Method in class org.xlattice.crypto.tls.TlsEngine
 
contains(byte[]) - Method in class org.xlattice.crypto.u.Store
Returns whether a file with this content key or title key is present in the store.
contains(RSAPublicKey, String) - Method in class org.xlattice.crypto.u.Store
Calculates a title key from the RSA public key and title and returns whether the list is present in the store.
contentHash(File) - Method in class org.xlattice.crypto.builds.BuildMaker
Read a file to determine its content hash.
context - Variable in class org.xlattice.crypto.tls.TlsSession
 
copyFrom(Store) - Method in class org.xlattice.crypto.u.Store
Copy keyed files from another Store, checking the integrity of each file as it is copied.
count - Variable in class org.xlattice.crypto.filters.BloomSHA1
 
CountingBloom - Class in org.xlattice.crypto.filters
Counting version of the Bloom filter.
CountingBloom(int, int) - Constructor for class org.xlattice.crypto.filters.CountingBloom
 
CountingBloom(int) - Constructor for class org.xlattice.crypto.filters.CountingBloom
 
CountingBloom() - Constructor for class org.xlattice.crypto.filters.CountingBloom
 
CRLF - Static variable in class org.xlattice.crypto.Key64Coder
 
CRLF - Static variable in class org.xlattice.crypto.SignedList
 
CryptoRNG - Class in org.xlattice.crypto
Random number generator with crypto-level security.
CryptoRNG() - Constructor for class org.xlattice.crypto.CryptoRNG
 
CryptoRNG(byte[]) - Constructor for class org.xlattice.crypto.CryptoRNG
 

D

D0 - Static variable in class org.xlattice.crypto.digest.SHA1
 
dec(int, int) - Method in class org.xlattice.crypto.filters.NibbleCounters
Decrement the nibble, ignoring any overflow
decodePermissions(String) - Method in class org.xlattice.crypto.u.SnapShot
 
decodeRSAPublicKey(String) - Static method in class org.xlattice.crypto.Key64Coder
Decode a base64-encoded RSAPublicKey.
delete() - Method in class org.xlattice.crypto.u.Store
Remove the Store, including all subdirectories and contained files, and the root directory for the Store.
Digest - Interface in org.xlattice.crypto
A Digest is something that converts a (normally larger) byte array into a second (normally smaller) byte array.
digest() - Method in interface org.xlattice.crypto.Digest
 
digest(byte[]) - Method in interface org.xlattice.crypto.Digest
Add data block to whatever has been seen so far and return digest of the combination.
digest() - Method in class org.xlattice.crypto.digest.SHA1
 
digest(byte[]) - Method in class org.xlattice.crypto.digest.SHA1
 
digest() - Method in class org.xlattice.crypto.SHA1Digest
 
digest(byte[]) - Method in class org.xlattice.crypto.SHA1Digest
 
DIR256 - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
DIR256 - Static variable in class org.xlattice.crypto.u.Store
 
DIR256NAMES - Static variable in class org.xlattice.crypto.u.Store
 
DIR256x16 - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
DIR256x16 - Static variable in class org.xlattice.crypto.u.Store
 
DIRx16NAMES - Static variable in class org.xlattice.crypto.u.Store
 
DISCOVER - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
DISCOVER - Static variable in class org.xlattice.crypto.u.Store
 
doClear() - Method in class org.xlattice.crypto.filters.BloomSHA1
Clear the filter, unsynchronized

E

E0 - Static variable in class org.xlattice.crypto.digest.SHA1
 
effectiveAuthLevel(int, int) - Method in class org.xlattice.crypto.tls.TlsSession
DETERMINE EFFECTIVE AUTHENTICATION LEVEL.
encodePermissions(int) - Method in class org.xlattice.crypto.u.SnapShot
 
encodeRSAPublicKey(RSAPublicKey) - Static method in class org.xlattice.crypto.Key64Coder
Base64-encode an RSAPublicKey.
engine - Variable in class org.xlattice.crypto.tls.TlsEngine
 
equals(Object) - Method in class org.xlattice.crypto.RSAPublicKey
 

F

falsePositives(int) - Method in class org.xlattice.crypto.filters.BloomSHA1
 
falsePositives() - Method in class org.xlattice.crypto.filters.BloomSHA1
 
filter - Variable in class org.xlattice.crypto.filters.BloomSHA1
 
filterBits - Variable in class org.xlattice.crypto.filters.BloomSHA1
 
filterWords - Variable in class org.xlattice.crypto.filters.BloomSHA1
 
FLAT - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
FLAT_DIR - Static variable in class org.xlattice.crypto.u.Store
 

G

generate() - Method in interface org.xlattice.crypto.KeyGen
 
generate() - Method in class org.xlattice.crypto.RSAKeyGen
Generate an RSA key with the specified number of bits in the modulus n.
get(byte[]) - Method in class org.xlattice.crypto.u.Store
If a file with the given key is present in the store, return its contents as a byte array.
get(String, byte[]) - Method in class org.xlattice.crypto.u.Store
If a file with the given key is present in the store, write its contents to the file named.
get(RSAPublicKey, String) - Method in class org.xlattice.crypto.u.Store
If a SignedList with the title key calculated from the RSA public key and title is present in the store, returns it.
getAlgorithm() - Method in class org.xlattice.crypto.SHA1withRSAVerifier
 
getApplicationBufferSize() - Method in class org.xlattice.crypto.tls.TlsEngine
should not be called until ciphersuite set
getBigD() - Method in class org.xlattice.crypto.RSAInfo
Get the value in BigInteger format, decoding the base64 String.
getBigE() - Method in class org.xlattice.crypto.RSAInfo
Get the value in BigInteger format, decoding the base64 String.
getBigP() - Method in class org.xlattice.crypto.RSAInfo
Get the value in BigInteger format, decoding the base64 String.
getBigQ() - Method in class org.xlattice.crypto.RSAInfo
Get the value in BigInteger format, decoding the base64 String.
getBitSelectors() - Method in interface org.xlattice.crypto.filters.KeySelector.BitSelector
 
getBitSelectors() - Method in class org.xlattice.crypto.filters.KeySelector.GenericBitSelector
Do the extraction
getD() - Method in class org.xlattice.crypto.RSAInfo
 
getD() - Method in class org.xlattice.crypto.RSAKey
 
getDelegatedTask() - Method in class org.xlattice.crypto.tls.TlsEngine
 
getE() - Method in class org.xlattice.crypto.RSAInfo
 
getE() - Method in class org.xlattice.crypto.RSAKey
 
getEnabledCipherSuites() - Method in class org.xlattice.crypto.tls.TlsEngine
 
getEnabledProtocols() - Method in class org.xlattice.crypto.tls.TlsEngine
XXX value?
getEngine() - Method in class org.xlattice.crypto.tls.TlsSession
XXX NEED TO ALLOW FOR SESSION BEING RESUMED.
getExponent() - Method in class org.xlattice.crypto.RSAPublicKey
 
getHandshakeStatus() - Method in class org.xlattice.crypto.tls.TlsEngine
XXX Urgently need a less ugly interface.
getHash(int) - Method in class org.xlattice.crypto.builds.BuildList
 
getHash() - Method in class org.xlattice.crypto.SignedList
Return this SignedList's hash, a byte array 20 bytes long.
getHash(int) - Method in class org.xlattice.crypto.u.SnapShot
 
getHostHint() - Method in class org.xlattice.crypto.tls.TlsContext
host name used for this end of the connection
getJsseSession() - Method in class org.xlattice.crypto.tls.TlsEngine
 
getJsseSession() - Method in class org.xlattice.crypto.tls.TlsSession
 
getKeyManagers() - Method in class org.xlattice.crypto.tls.TlsContext
 
getKeyStore() - Method in class org.xlattice.crypto.tls.TlsContext
private key store
getLevel() - Method in class org.xlattice.crypto.tls.TlsContext
authentication level
getModulus() - Method in class org.xlattice.crypto.RSAPublicKey
 
getNeedClientAuth() - Method in class org.xlattice.crypto.tls.TlsServerEngine
 
getOffsets(byte[]) - Method in class org.xlattice.crypto.filters.KeySelector
Given a key, populate the word and bit offset arrays, each of which has k elements.
getP() - Method in class org.xlattice.crypto.RSAInfo
 
getP() - Method in class org.xlattice.crypto.RSAKey
 
getPacketBufferSize() - Method in class org.xlattice.crypto.tls.TlsEngine
 
getPath(int) - Method in class org.xlattice.crypto.builds.BuildList
Returns the path + fileName for the Nth content line, in a form usable with the operating system.
getPath(int) - Method in class org.xlattice.crypto.u.SnapShot
Returns the path + fileName for the Nth content line, in a form usable with the operating system.
getPortHint() - Method in class org.xlattice.crypto.tls.TlsContext
 
getProtocol() - Method in class org.xlattice.crypto.tls.TlsContext
SSL, TLS, etc
getPublicKey() - Method in class org.xlattice.crypto.RSAKey
Construct a public key for external use.
getPublicKey() - Method in class org.xlattice.crypto.SignedList
 
getQ() - Method in class org.xlattice.crypto.RSAInfo
 
getQ() - Method in class org.xlattice.crypto.RSAKey
 
getRNG() - Method in class org.xlattice.crypto.tls.TlsContext
 
getSigner(String) - Method in class org.xlattice.crypto.RSAKey
 
getState() - Method in class org.xlattice.crypto.tls.TlsEngine
 
getTitle() - Method in class org.xlattice.crypto.SignedList
 
getTrustManagers() - Method in class org.xlattice.crypto.tls.TlsSession
 
getWantClientAuth() - Method in class org.xlattice.crypto.tls.TlsServerEngine
 
getWordSelectors() - Method in class org.xlattice.crypto.filters.KeySelector.GenericWordSelector
Extract the k offsets into the word offset array
getWordSelectors() - Method in interface org.xlattice.crypto.filters.KeySelector.WordSelector
 

H

handleCmdLine(String[], int) - Method in class org.xlattice.crypto.builds.BuildMakerMain
 
hashCode() - Method in class org.xlattice.crypto.RSAPublicKey
Byte 0 ignored because it seems to always be 1.
hostHint - Variable in class org.xlattice.crypto.tls.TlsContext
host name used for this end of the connection

I

inc(int, int) - Method in class org.xlattice.crypto.filters.NibbleCounters
Increment the nibble, ignoring any overflow
init(PublicKey) - Method in class org.xlattice.crypto.SHA1withRSAVerifier
 
initialize(int) - Method in interface org.xlattice.crypto.KeyGen
 
initialize(int) - Method in class org.xlattice.crypto.RSAKeyGen
 
initialize() - Method in class org.xlattice.crypto.RSAKeyGen
 
insert(byte[]) - Method in class org.xlattice.crypto.filters.BloomSHA1
Add a key to the set represented by the filter.
insert(byte[]) - Method in class org.xlattice.crypto.filters.CountingBloom
Add a key to the set represented by the filter, updating counters as it does so.
intResult() - Method in class org.xlattice.crypto.digest.SHA1
Returns the result of an 80-step round without adding the initial hash, h0; in the form of an int array.
intToHex(int) - Static method in class org.xlattice.crypto.digest.SHA1
 
isClient - Variable in class org.xlattice.crypto.tls.TlsSession
whether this end acts as a TLS client
isInboundDone() - Method in class org.xlattice.crypto.tls.TlsEngine
 
isMember(byte[]) - Method in class org.xlattice.crypto.filters.BloomSHA1
Whether a key is in the filter.
isOpen() - Method in class org.xlattice.crypto.u.Store
 
isOutboundDone() - Method in class org.xlattice.crypto.tls.TlsEngine
 
isSigned() - Method in class org.xlattice.crypto.SignedList
 
itoh(int) - Static method in class org.xlattice.crypto.filters.BloomSHA1
convert 32-bit integer to String
itoh(int) - Method in class org.xlattice.crypto.filters.KeySelector
 

J

jsseSession - Variable in class org.xlattice.crypto.tls.TlsEngine
 

K

k - Variable in class org.xlattice.crypto.filters.BloomSHA1
 
K0 - Static variable in class org.xlattice.crypto.digest.SHA1
square roots as signed INT32s
K1 - Static variable in class org.xlattice.crypto.digest.SHA1
 
K2 - Static variable in class org.xlattice.crypto.digest.SHA1
 
K3 - Static variable in class org.xlattice.crypto.digest.SHA1
 
Key64Coder - Class in org.xlattice.crypto
Methods for base64 encoding and decoding public key values.
Key64Coder() - Constructor for class org.xlattice.crypto.Key64Coder
 
KeyGen - Interface in org.xlattice.crypto
 
keyManagers - Variable in class org.xlattice.crypto.tls.TlsContext
decides how to respond to authentication requests
KeySelector - Class in org.xlattice.crypto.filters
Given a key, populates arrays determining word and bit offsets into a Bloom filter.
KeySelector(int, int, int[], int[]) - Constructor for class org.xlattice.crypto.filters.KeySelector
Creates a key selector for a Bloom filter.
KeySelector.BitSelector - Interface in org.xlattice.crypto.filters
 
KeySelector.GenericBitSelector - Class in org.xlattice.crypto.filters
Extracts the k bit offsets from a key, suitable for general values of m and k.
KeySelector.GenericBitSelector() - Constructor for class org.xlattice.crypto.filters.KeySelector.GenericBitSelector
 
KeySelector.GenericWordSelector - Class in org.xlattice.crypto.filters
Extracts the k word offsets from a key.
KeySelector.GenericWordSelector() - Constructor for class org.xlattice.crypto.filters.KeySelector.GenericWordSelector
 
KeySelector.WordSelector - Interface in org.xlattice.crypto.filters
 
keyToString(byte[]) - Static method in class org.xlattice.crypto.filters.BloomSHA1
 
KNOWN_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
 
KNOWN_CLIENT_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
accept any previously learned cert
KNOWN_SERVER_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
accept any previously learned cert
ks - Variable in class org.xlattice.crypto.filters.BloomSHA1
 

L

LEARN_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
 
LEARN_CLIENT_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
if this cert is accepted, add to list of known client certs
LEARN_SERVER_CERT - Static variable in interface org.xlattice.crypto.tls.TlsConst
if this cert is accepted, add to list of known server certs
length() - Method in interface org.xlattice.crypto.Digest
The length of the byte array to be returned.
length() - Method in class org.xlattice.crypto.digest.SHA1
 
length() - Method in class org.xlattice.crypto.SHA1Digest
 
level - Variable in class org.xlattice.crypto.tls.TlsContext
authentication level
level - Variable in class org.xlattice.crypto.tls.TlsSession
the authentication level for the session
LINE_LENGTH - Static variable in class org.xlattice.crypto.Key64Coder
 
ltoh(long) - Static method in class org.xlattice.crypto.filters.BloomSHA1
convert 64-bit integer to hex String

M

m - Variable in class org.xlattice.crypto.filters.BloomSHA1
 
main(String[]) - Static method in class org.xlattice.crypto.builds.BuildMakerMain
 
makeBuildList() - Method in class org.xlattice.crypto.builds.BuildMaker
Create the build list and optionally add copies of files named in the list to a hash file directory.
MASK - Static variable in class org.xlattice.crypto.filters.KeySelector
AND with byte to zero out index-many bits
MAX_PREFIX - Static variable in class org.xlattice.crypto.Key64Coder
 
member(byte[]) - Method in class org.xlattice.crypto.filters.BloomSHA1
Whether a key is in the filter.
mkDir256(String, boolean) - Method in class org.xlattice.crypto.u.Store
Create a DIR256 subdirectory and its 256 subdirectories, 00/ through ff/.
mkFlat(String, String) - Method in class org.xlattice.crypto.u.Store
 
moveFrom(Store) - Method in class org.xlattice.crypto.u.Store
Copy keyed files from another Store, checking the integrity of each file as it is copied, and then removing it from the store it is being moved from.
myKeyStore - Variable in class org.xlattice.crypto.tls.TlsContext
 
myKSName - Variable in class org.xlattice.crypto.tls.TlsContext
private key store
myPassphrase - Variable in class org.xlattice.crypto.tls.TlsContext
 

N

nextBoolean() - Method in class org.xlattice.crypto.CryptoRNG
 
nextBytes(byte[]) - Method in class org.xlattice.crypto.CryptoRNG
Fills the byte array with random bytes.
nextDouble() - Method in class org.xlattice.crypto.CryptoRNG
 
nextFloat() - Method in class org.xlattice.crypto.CryptoRNG
 
nextGaussian() - Method in class org.xlattice.crypto.CryptoRNG
Returns a random value from a Gaussian sequence with mean 0.0 and standard deviation 1.0.
nextInt() - Method in class org.xlattice.crypto.CryptoRNG
 
nextInt(int) - Method in class org.xlattice.crypto.CryptoRNG
Returns a pseudo-random value between 0 (inclusive) and n (exclusive).
nextLong() - Method in class org.xlattice.crypto.CryptoRNG
 
NibbleCounters - Class in org.xlattice.crypto.filters
As it stands, this class is not thread-safe.
NibbleCounters(int) - Constructor for class org.xlattice.crypto.filters.NibbleCounters
 
NO_DIR - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
NO_DIR - Static variable in class org.xlattice.crypto.u.Store
 

O

options - Static variable in class org.xlattice.crypto.builds.BuildMakerMain
 
org.xlattice.crypto - package org.xlattice.crypto
 
org.xlattice.crypto.builds - package org.xlattice.crypto.builds
 
org.xlattice.crypto.digest - package org.xlattice.crypto.digest
 
org.xlattice.crypto.filters - package org.xlattice.crypto.filters
 
org.xlattice.crypto.tls - package org.xlattice.crypto.tls
 
org.xlattice.crypto.u - package org.xlattice.crypto.u
 

P

padAndAddLength(int) - Method in class org.xlattice.crypto.digest.SHA1
Zero fill the buffer, put in the length, and run it through the mill.
padAndUpdate() - Method in class org.xlattice.crypto.digest.SHA1
There is not enough room for the length left in the block (it's over 56 bytes long), so just zero fill and run it through.
passphrase - Variable in class org.xlattice.crypto.tls.TlsSession
 
portHint - Variable in class org.xlattice.crypto.tls.TlsContext
 
prefixEncodeAndFold(String, byte[], int) - Static method in class org.xlattice.crypto.Key64Coder
Construct a line consisting of a prefix, followed by a space, followed by a base64-encoded binary value, followed by a space, followed by a positive integer value.
prettyPrint(int, int, int, int, int, int) - Static method in class org.xlattice.crypto.digest.SHA1
Display a (subround) number followed by a hex representation of five integer values.
prettyPrintMsg() - Method in class org.xlattice.crypto.digest.SHA1
Display the value of a 512-bit message block after expansion into the first 16 values of the int[] w workspace.
proto - Variable in class org.xlattice.crypto.tls.TlsContext
SSL, TLS, etc
put(byte[], byte[]) - Method in class org.xlattice.crypto.u.Store
Write a block of data into the store, validating it against its content key.
put(byte[], String) - Method in class org.xlattice.crypto.u.Store
Write the contents of a file into the store, validating it against its content key.
put(byte[], File) - Method in class org.xlattice.crypto.u.Store
Write the contents of a file into the store, validating it against its content key.
put(byte[], SignedList) - Method in class org.xlattice.crypto.u.Store
Write a serialized SignedList into the store, after validating its digital signature and verifying that it is more recent than any pre-existing SignedList with the same title key.

Q

quickCheckTarget() - Method in class org.xlattice.crypto.builds.BuildMaker
If the directory target (with name targetName) exists, return its type.

R

readContents(BufferedReader) - Method in class org.xlattice.crypto.builds.BuildList
Read a series of content lines, each consisting of a hash followed by a space followed by a file name.
readContents(BufferedReader) - Method in class org.xlattice.crypto.SignedList
Subclasses must read in content lines, stripping off line endings do a verifier.update(line), where line excludes any terminating CRLF.
readContents(BufferedReader) - Method in class org.xlattice.crypto.u.SnapShot
Read a series of content lines, each consisting of a hash followed by a space followed by a file name.
readFoldedLine(BufferedReader, boolean) - Static method in class org.xlattice.crypto.SignedList
Read lines until one is found that does not begin with a space.
remove(byte[]) - Method in class org.xlattice.crypto.filters.CountingBloom
Remove a key from the set, updating counters while doing so.
reseed(byte[]) - Method in class org.xlattice.crypto.CryptoRNG
Reseed the random number generator using the binary value passed.
reset() - Method in interface org.xlattice.crypto.Digest
Reinitialize the hash function.
reset() - Method in class org.xlattice.crypto.digest.SHA1
 
reset() - Method in class org.xlattice.crypto.SHA1Digest
 
rng - Variable in class org.xlattice.crypto.tls.TlsContext
 
RSAInfo - Class in org.xlattice.crypto
Helper class for collecting RSA key information from an XML file and returning it.
RSAInfo() - Constructor for class org.xlattice.crypto.RSAInfo
 
RSAInfo(RSAKey) - Constructor for class org.xlattice.crypto.RSAInfo
 
RSAKey - Class in org.xlattice.crypto
An RSA key.
RSAKey(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class org.xlattice.crypto.RSAKey
Construct an RSA key from the values passed.
RSAKeyGen - Class in org.xlattice.crypto
Factory for generating RSA keys.
RSAKeyGen(int) - Constructor for class org.xlattice.crypto.RSAKeyGen
Create an RSA key factory with a particular key size.
RSAKeyGen() - Constructor for class org.xlattice.crypto.RSAKeyGen
RSA key generator with default key size of 1024 bits.
RSAPublicKey - Class in org.xlattice.crypto
 
RSAPublicKey(BigInteger, BigInteger) - Constructor for class org.xlattice.crypto.RSAPublicKey
Create a public key with the modulus and exponent passed.
RSAPublicKey(RSAPublicKey) - Constructor for class org.xlattice.crypto.RSAPublicKey
 

S

SCRATCH_DIRECTORY - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
separator - Static variable in class org.xlattice.crypto.builds.BuildList
 
separator - Static variable in class org.xlattice.crypto.u.SnapShot
 
separatorChar - Static variable in class org.xlattice.crypto.builds.BuildList
 
separatorChar - Static variable in class org.xlattice.crypto.u.SnapShot
 
SERVER_MASK - Static variable in interface org.xlattice.crypto.tls.TlsConst
low bytes contain client-related flags
SERVER_SHIFT - Static variable in interface org.xlattice.crypto.tls.TlsConst
 
setBigD(BigInteger) - Method in class org.xlattice.crypto.RSAInfo
 
setBigE(BigInteger) - Method in class org.xlattice.crypto.RSAInfo
 
setBigP(BigInteger) - Method in class org.xlattice.crypto.RSAInfo
 
setBigQ(BigInteger) - Method in class org.xlattice.crypto.RSAInfo
 
setD(String) - Method in class org.xlattice.crypto.RSAInfo
 
setDefaults(int, String, String) - Method in class org.xlattice.crypto.u.SnapShot
Sets default permissions, owner, and group for all files.
setDefaults(String) - Method in class org.xlattice.crypto.u.SnapShot
Sets the owner and group to the same value, leaves default permissions unchanged.
setE(String) - Method in class org.xlattice.crypto.RSAInfo
 
setEnabledCipherSuites(String[]) - Method in class org.xlattice.crypto.tls.TlsEngine
 
setEnabledProtocols(String[]) - Method in class org.xlattice.crypto.tls.TlsEngine
 
setNeedClientAuth(boolean) - Method in class org.xlattice.crypto.tls.TlsServerEngine
 
setP(String) - Method in class org.xlattice.crypto.RSAInfo
 
setQ(String) - Method in class org.xlattice.crypto.RSAInfo
 
setState(TlsConst.EngineStates) - Method in class org.xlattice.crypto.tls.TlsEngine
 
setWantClientAuth(boolean) - Method in class org.xlattice.crypto.tls.TlsServerEngine
 
SHA1 - Class in org.xlattice.crypto.digest
Secure Hash Algorithm, as modified in FIPS 180-1, 17 April 1995, to become SHA-1.
SHA1() - Constructor for class org.xlattice.crypto.digest.SHA1
No-arg constructor.
SHA1(SHA1) - Constructor for class org.xlattice.crypto.digest.SHA1
Cloning constructor.
SHA1Digest - Class in org.xlattice.crypto
A very thin wrapper around Java's JSA MessageDigest.
SHA1Digest() - Constructor for class org.xlattice.crypto.SHA1Digest
 
SHA1withRSAVerifier - Class in org.xlattice.crypto
 
SHA1withRSAVerifier() - Constructor for class org.xlattice.crypto.SHA1withRSAVerifier
 
sign(RSAKey) - Method in class org.xlattice.crypto.SignedList
Set a timestamp and calculate a digital signature.
SignedList - Class in org.xlattice.crypto
In its serialized form a SignedList consists of a public key line, a title line, a timestamp line, a number of content lines, and a digital signature.
SignedList(RSAPublicKey, String) - Constructor for class org.xlattice.crypto.SignedList
 
SignedList(Reader) - Constructor for class org.xlattice.crypto.SignedList
 
size() - Method in class org.xlattice.crypto.builds.BuildList
 
size() - Method in class org.xlattice.crypto.builds.BuildMaker
 
size() - Method in class org.xlattice.crypto.filters.BloomSHA1
Returns the number of keys which have been inserted.
size() - Method in class org.xlattice.crypto.SignedList
The number of items in the list, excluding the header lines (public key, title, timestamp) and the footer lines (blank line, digital signature).
size() - Method in class org.xlattice.crypto.u.SnapShot
 
slowCheckTarget() - Method in class org.xlattice.crypto.builds.BuildMaker
 
SnapShot - Class in org.xlattice.crypto.u
Serialized, a SnapShot is a list of files, their attributes, and their content hashes.
SnapShot(RSAPublicKey, String) - Constructor for class org.xlattice.crypto.u.SnapShot
 
SnapShot(Reader) - Constructor for class org.xlattice.crypto.u.SnapShot
 
state - Variable in class org.xlattice.crypto.tls.TlsEngine
 
Store - Class in org.xlattice.crypto.u
A Store is a hierarchy of directories intended for storing XLattice keyed data files.
Store(String) - Constructor for class org.xlattice.crypto.u.Store
If a store exists with the directory name passed, open it.
Store(String, int, int) - Constructor for class org.xlattice.crypto.u.Store
If a store exists with the directory name passed, open it.

T

tDirStruc - Variable in class org.xlattice.crypto.u.Store
title-keyed directory structure type
THIS_DIR - Static variable in class org.xlattice.crypto.builds.BuildMaker
 
TLS_ANONYMOUS_CIPHERS - Static variable in interface org.xlattice.crypto.tls.TlsConst
the only anonymous cipher supported if using TLS
TlsClientEngine - Class in org.xlattice.crypto.tls
 
TlsClientEngine(TlsContext, TlsSession) - Constructor for class org.xlattice.crypto.tls.TlsClientEngine
 
TlsConst - Interface in org.xlattice.crypto.tls
 
TlsConst.EngineStates - Enum in org.xlattice.crypto.tls
 
TlsContext - Class in org.xlattice.crypto.tls
There will normally be one and only one TlsContext associated with an XLattice program invocation.
TlsContext(String, int, String, char[], SecureRandom, String, int) - Constructor for class org.xlattice.crypto.tls.TlsContext
Parameter checking is done by the TlsEngine.
TlsEngine - Class in org.xlattice.crypto.tls
 
TlsEngine(TlsContext, TlsSession) - Constructor for class org.xlattice.crypto.tls.TlsEngine
 
TlsServerEngine - Class in org.xlattice.crypto.tls
 
TlsServerEngine(TlsContext, TlsSession) - Constructor for class org.xlattice.crypto.tls.TlsServerEngine
 
TlsSession - Class in org.xlattice.crypto.tls
A TlsSession is associated with each SSL/TLS connection.
TlsSession(TlsContext, int, String, char[], boolean) - Constructor for class org.xlattice.crypto.tls.TlsSession
 
toString(int) - Method in class org.xlattice.crypto.builds.BuildList
 
toString() - Method in class org.xlattice.crypto.RSAInfo
Quick and dirty implementation.
toString() - Method in class org.xlattice.crypto.SignedList
Serialize the entire document.
toString(int) - Method in class org.xlattice.crypto.SignedList
Nth content item in String form, without any terminating CRLF.
toString(int) - Method in class org.xlattice.crypto.u.SnapShot
 
TRUST_ANYONE - Static variable in interface org.xlattice.crypto.tls.TlsConst
 
trustManagers - Variable in class org.xlattice.crypto.tls.TlsSession
 
trustStore - Variable in class org.xlattice.crypto.tls.TlsSession
 
trustStoreName - Variable in class org.xlattice.crypto.tls.TlsSession
file name, key store for peer's public key
TWO_UP_15 - Static variable in class org.xlattice.crypto.filters.KeySelector
 

U

uDirName - Variable in class org.xlattice.crypto.u.Store
 
UNMASK - Static variable in class org.xlattice.crypto.filters.KeySelector
AND with byte to expose index-many bits
unwrap(ByteBuffer, ByteBuffer) - Method in class org.xlattice.crypto.tls.TlsEngine
 
update(byte[], int, int) - Method in class org.xlattice.crypto.digest.SHA1
 
update(byte[]) - Method in class org.xlattice.crypto.digest.SHA1
 
update(byte[]) - Method in interface org.xlattice.crypto.Digest
Add to the data being hashed.
update(byte[]) - Method in class org.xlattice.crypto.SHA1Digest
 
update(byte[], int, int) - Method in class org.xlattice.crypto.SHA1Digest
 
update(byte[]) - Method in class org.xlattice.crypto.SHA1withRSAVerifier
 
update(byte[], int, int) - Method in class org.xlattice.crypto.SHA1withRSAVerifier
 
usage(String) - Method in class org.xlattice.crypto.builds.BuildMakerMain
 

V

validGroup(String) - Method in class org.xlattice.crypto.u.SnapShot
 
validOwner(String) - Method in class org.xlattice.crypto.u.SnapShot
 
validUDirName(String) - Method in class org.xlattice.crypto.u.Store
 
valueOf(String) - Static method in enum org.xlattice.crypto.tls.TlsConst.EngineStates
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.xlattice.crypto.tls.TlsConst.EngineStates
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[]) - Method in class org.xlattice.crypto.SHA1withRSAVerifier
 
verify(byte[], int, int) - Method in class org.xlattice.crypto.SHA1withRSAVerifier
 
verify() - Method in class org.xlattice.crypto.SignedList
Verify that the SignedList agrees with its digital signature.
Version - Class in org.xlattice.crypto
THIS CLASS SHOULD BE AUTOMATICALLY GENERATED.
Version() - Constructor for class org.xlattice.crypto.Version
 

W

withoutDigSig() - Method in class org.xlattice.crypto.SignedList
 
wordOffset - Variable in class org.xlattice.crypto.filters.BloomSHA1
 
wrap(ByteBuffer, ByteBuffer) - Method in class org.xlattice.crypto.tls.TlsEngine
 

_

_cycle(byte[], int, int, boolean) - Method in class org.xlattice.crypto.digest.SHA1
SHA's 80-step cycle, unoptimized.
_expand(byte[], int) - Method in class org.xlattice.crypto.digest.SHA1
Expand byte[64]/int32[16]/512 bit block to int32[80].
_f0(int, int, int) - Method in class org.xlattice.crypto.digest.SHA1
unoptimized
_f1(int, int, int) - Method in class org.xlattice.crypto.digest.SHA1
unoptimized
_f2(int, int, int) - Method in class org.xlattice.crypto.digest.SHA1
unoptimized
_fastCycle(byte[], int) - Method in class org.xlattice.crypto.digest.SHA1
SHA's 80-step cycle unrolled.

A B C D E F G H I J K L M N O P Q R S T U V W _