All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

available(). Method in class is.logi.crypto.io.DecryptStream
Returns the number of bytes that can be read from this input stream without blocking.
available(). Method in class is.logi.crypto.io.VerifyStream
Returns the number of bytes that can be read from this input stream without blocking.

B

binString(int). Static method in class is.logi.crypto.Crypto
Convert an int to a string of binary digits.
binString(long). Static method in class is.logi.crypto.Crypto
Convert a long to a string of binary digits.
BIT. Static variable in class is.logi.crypto.Crypto
The binary digits "0" and "1".
blockSize(). Method in class is.logi.crypto.hash.HashState
Return the number of bytes needed to make a valid hash.
blockSize(). Method in class is.logi.crypto.hash.MD5State
Return the number of bytes needed to make a valid hash.
blockSize(). Method in class is.logi.crypto.hash.SHA1State
Return the number of bytes needed to make a valid hash.
BlowfishKey(). Constructor for class is.logi.crypto.keys.BlowfishKey
Create a new random 128 bit Blowfish key.
BlowfishKey(byte[]). Constructor for class is.logi.crypto.keys.BlowfishKey
Create a new Blowfish key with the key bits from key.
BlowfishKey(int). Constructor for class is.logi.crypto.keys.BlowfishKey
Create a new random n-bit Blowfish key.
byFingerprint(Fingerprint). Method in class is.logi.crypto.keys.KeyRing
Retreive the key with the given fingerprint.
byFingerprint(Fingerprint). Method in interface is.logi.crypto.keys.KeySource
Retreive the key with the given fingerprint.

C

CaesarKey(). Constructor for class is.logi.crypto.keys.CaesarKey
Create a new random Caesar key.
CaesarKey(byte). Constructor for class is.logi.crypto.keys.CaesarKey
Create a new Caesar key with the specified shift.
calculate(). Method in class is.logi.crypto.hash.HashState
Return a fingerprint for the curret state, without destroying the state.
calculate(). Method in class is.logi.crypto.hash.MD5State
Return a Fingerprint for the curret state, without destroying the state.
calculate(). Method in class is.logi.crypto.hash.SHA1State
Return a Fingerprint for the curret state, without destroying the state.
cdsPath. Static variable in class is.logi.crypto.Crypto
The array of names of packages that are searched for classes mentioned in a CDS.
cipherBlockSize(). Method in class is.logi.crypto.keys.BlowfishKey
The block-size for the Blowfish cipher is 8 bytes.
cipherBlockSize(). Method in class is.logi.crypto.keys.CaesarKey
The block-size for the Caesar cipher is one byte.
cipherBlockSize(). Method in interface is.logi.crypto.keys.CipherKey
Returns the size of the blocks that can be decrypted in one call to decrypt().
cipherBlockSize(). Method in class is.logi.crypto.keys.DESKey
The block-size for the DES cipher is 8 bytes.
cipherBlockSize(). Method in class is.logi.crypto.keys.RSAKey
Returns the size of the blocks that can be decrypted in one call to decrypt().
cipherBlockSize(). Method in class is.logi.crypto.keys.TriDESKey
The block-size for the triple-DES cipher is 8 bytes.
CipherStream(). Constructor for class is.logi.crypto.io.CipherStream
CipherStreamClient(InputStream, OutputStream, InterKeyExClient, EncryptMode, DecryptMode). Constructor for class is.logi.crypto.io.CipherStreamClient
Create a new CipherStreamClient object and ecxhange keys.
CipherStreamServer(InputStream, OutputStream, InterKeyExServer, EncryptMode, DecryptMode). Constructor for class is.logi.crypto.io.CipherStreamServer
Create a new CipherStreamServer object and ecxhange keys.
close(). Method in class is.logi.crypto.io.SignStream
Closes this output stream and releases any system resources associated with this stream.
completed(). Method in class is.logi.crypto.protocols.DHKeyEx
Returns true iff this end of the protocol i completed.
completed(). Method in class is.logi.crypto.protocols.EncryptedKeyEx
Returns true iff this end of the protocol i completed.
completed(). Method in interface is.logi.crypto.protocols.InterProtocolClient
Returns true iff this end of the protocol is completed.
completed(). Method in interface is.logi.crypto.protocols.InterProtocolServer
Returns true iff this end of the protocol is completed.
completed(). Method in class is.logi.crypto.protocols.SendHashKeyEx
Returns true iff this end of the protocol i completed.
create(byte[], int, int, String). Static method in class is.logi.crypto.hash.Fingerprint
Create a Fingerprint object.
create(byte[], String). Static method in class is.logi.crypto.hash.Fingerprint
Create a Fingerprint object.
create(String). Static method in class is.logi.crypto.hash.HashState
Create a HashState object for the named fingerprint algorithm.
create(String, String). Static method in class is.logi.crypto.hash.Fingerprint
Create a Fingerprint object.
createKeys(BigInteger, BigInteger, BigInteger). Static method in class is.logi.crypto.keys.RSAKey
Create a KeyPair object holding objects for the public RSA key (r,n) and the private RSA key (s,n).
createKeys(int). Static method in class is.logi.crypto.keys.DHKey
Create a pair of public/private keys in a group with an n bit modulo.
createKeys(int). Static method in class is.logi.crypto.keys.RSAKey
Create a pair of public/private keys.
Crypto(). Constructor for class is.logi.crypto.Crypto
CryptoCorruptError(). Constructor for class is.logi.crypto.CryptoCorruptError
Create a new CryptoCorruptError with no message.
CryptoCorruptError(String). Constructor for class is.logi.crypto.CryptoCorruptError
Create a new CryptoCorruptError with the message msg.
CryptoException(). Constructor for class is.logi.crypto.CryptoException
Create a new CryptoException with no message.
CryptoException(String). Constructor for class is.logi.crypto.CryptoException
Create a new CryptoException with the message msg.

D

decrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.BlowfishKey
Decrypt one block of data.
decrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.CaesarKey
Decrypt one byte.
decrypt(byte[], int, byte[], int). Method in interface is.logi.crypto.keys.CipherKey
Decrypt one block of data.
decrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.DESKey
Decrypt one block of data.
decrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.RSAKey
Decrypt one block of data.
decrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.TriDESKey
Decrypt one block of data.
decrypt(byte[], int, int). Method in class is.logi.crypto.modes.DecryptCBC
Send bytes to the DecryptCBC object for decryption.
decrypt(byte[], int, int). Method in class is.logi.crypto.modes.DecryptCFB
Send bytes to the DecryptCFB object for encryption.
decrypt(byte[], int, int). Method in class is.logi.crypto.modes.DecryptECB
Send bytes to the DecryptECB object for decryption.
decrypt(byte[], int, int). Method in class is.logi.crypto.modes.DecryptMode
Send bytes to the DecryptMode for decryption.
decrypt(byte[], int, int). Method in class is.logi.crypto.modes.DecryptOFB
Send bytes to the DecryptCFB object for encryption.
DecryptCBC(). Constructor for class is.logi.crypto.modes.DecryptCBC
Create a new CBC-mode decrypt session with no key.
DecryptCBC(CipherKey). Constructor for class is.logi.crypto.modes.DecryptCBC
Create a new CBC-mode decrypt session with the specified key.
DecryptCFB(). Constructor for class is.logi.crypto.modes.DecryptCFB
Create a new CFB-mode decrypt session with no key.
DecryptCFB(CipherKey). Constructor for class is.logi.crypto.modes.DecryptCFB
Create a new CFB-mode decrypt session with the specified key.
DecryptECB(). Constructor for class is.logi.crypto.modes.DecryptECB
Create a new ECB-mode decrypt session with no key.
DecryptECB(CipherKey). Constructor for class is.logi.crypto.modes.DecryptECB
Create a new ECB-mode decrypt session with the specified key.
DecryptMode(). Constructor for class is.logi.crypto.modes.DecryptMode
DecryptOFB(CipherKey, int). Constructor for class is.logi.crypto.modes.DecryptOFB
Create a new OFB-mode decrypt session with the specified key.
DecryptOFB(int). Constructor for class is.logi.crypto.modes.DecryptOFB
Create a new OFB-mode decrypt session with no key.
DecryptStream(InputStream, NoninterKeyExServer, DecryptMode). Constructor for class is.logi.crypto.io.DecryptStream
Create a new DecryptStream.
DESKey(). Constructor for class is.logi.crypto.keys.DESKey
Create a new random DES key.
DESKey(byte[]). Constructor for class is.logi.crypto.keys.DESKey
Create a new DES key with the key bits from key[0..7].
DESKey(long). Constructor for class is.logi.crypto.keys.DESKey
Create a new DES key with the key bits from key.
DHEKEKeyExClient(int, String, CipherKey). Constructor for class is.logi.crypto.protocols.DHEKEKeyExClient
DHEKEKeyExServer(int, String, CipherKey). Constructor for class is.logi.crypto.protocols.DHEKEKeyExServer
Create a new DHEKEKeyExClient object which uses an n bit modulus, the named key type and the specified secret key.
DHKey(BigInteger, BigInteger, BigInteger, boolean). Constructor for class is.logi.crypto.keys.DHKey
Create new Diffie-Hellman key.
DHKey(int). Constructor for class is.logi.crypto.keys.DHKey
Create a random private DHKey with an n bit modulus.
DHKeyExClient(DHKey, String). Constructor for class is.logi.crypto.protocols.DHKeyExClient
Create a new DHKeyExClient object.
DHKeyExClient(int, String). Constructor for class is.logi.crypto.protocols.DHKeyExClient
Create a new DHKeyExClient object.
DHKeyExNoninter(DHKey, DHKey, String). Constructor for class is.logi.crypto.protocols.DHKeyExNoninter
Create a new DHKeyExClient object which uses the private DH key from pri and the public DH key from pri to generate a session key.
DHKeyExServer(DHKey, String). Constructor for class is.logi.crypto.protocols.DHKeyExServer
Create a new DHKeyExServer object.
DHKeyExServer(int, String). Constructor for class is.logi.crypto.protocols.DHKeyExServer
Create a new DHKeyExClient object.

E

encrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.BlowfishKey
Encrypt one block of data.
encrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.CaesarKey
Encrypt one byte.
encrypt(byte[], int, byte[], int). Method in interface is.logi.crypto.keys.CipherKey
Encrypt one block of data.
encrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.DESKey
Encrypt one block of data.
encrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.RSAKey
Encrypt one block of data.
encrypt(byte[], int, byte[], int). Method in class is.logi.crypto.keys.TriDESKey
Encrypt one block of data.
encrypt(byte[], int, int). Method in class is.logi.crypto.modes.EncryptCBC
Send bytes to the EncryptCBC object for encryption.
encrypt(byte[], int, int). Method in class is.logi.crypto.modes.EncryptCFB
Send bytes to the EncryptCFB object for encryption.
encrypt(byte[], int, int). Method in class is.logi.crypto.modes.EncryptECB
Send bytes to the EncryptECB object for encryption.
encrypt(byte[], int, int). Method in class is.logi.crypto.modes.EncryptMode
Send bytes to the EncryptMode for encryption.
encrypt(byte[], int, int). Method in class is.logi.crypto.modes.EncryptOFB
Send bytes to the EncryptOFB object for encryption.
EncryptCBC(). Constructor for class is.logi.crypto.modes.EncryptCBC
Create a new CBC-mode encrypt session with no key.
EncryptCBC(CipherKey). Constructor for class is.logi.crypto.modes.EncryptCBC
Create a new CBC-mode encrypt session with the specified key.
EncryptCFB(). Constructor for class is.logi.crypto.modes.EncryptCFB
Create a new CBF-mode encrypt session with no key.
EncryptCFB(CipherKey). Constructor for class is.logi.crypto.modes.EncryptCFB
Create a new CBF-mode encrypt session with the specified key.
EncryptECB(). Constructor for class is.logi.crypto.modes.EncryptECB
Create a new ECB-mode encrypt session with no key.
EncryptECB(CipherKey). Constructor for class is.logi.crypto.modes.EncryptECB
Create a new ECB-mode encrypt session with the specified key.
EncryptedKeyExClient(CipherKey, Key). Constructor for class is.logi.crypto.protocols.EncryptedKeyExClient
Create a new EncryptedKeyExClient object.
EncryptedKeyExServer(CipherKey). Constructor for class is.logi.crypto.protocols.EncryptedKeyExServer
Creates a new EncryptedKeyExchangeServer object.
EncryptMode(). Constructor for class is.logi.crypto.modes.EncryptMode
EncryptOFB(CipherKey, int). Constructor for class is.logi.crypto.modes.EncryptOFB
Create a new OFB-mode encrypt session with the specified key.
EncryptOFB(int). Constructor for class is.logi.crypto.modes.EncryptOFB
Create a new OFB-mode encrypt session with no key.
EncryptStream(OutputStream, NoninterKeyExClient, EncryptMode). Constructor for class is.logi.crypto.io.EncryptStream
Create a new EncryptStream.
equal(byte[], byte[]). Static method in class is.logi.crypto.Crypto
Return true iff two array contain the same bytes.
equalRelaxed(byte[], byte[]). Static method in class is.logi.crypto.Crypto
Return true iff two arrays contain the same bytes, discounting any zero bytes from the front of the arrays.
equals(Object). Method in class is.logi.crypto.keys.BlowfishKey
Return true iff the two keys are equivalent.
equals(Object). Method in class is.logi.crypto.keys.CaesarKey
Return true iff the two keys are eqivalent.
equals(Object). Method in class is.logi.crypto.keys.DESKey
Return true iff the two keys are equivalent.
equals(Object). Method in class is.logi.crypto.keys.DHKey
Return true iff the two keys are eqivalent.
equals(Object). Method in class is.logi.crypto.hash.Fingerprint
Test for equality with another object.
equals(Object). Method in class is.logi.crypto.keys.RSAKey
Return true iff the two keys are equivalent.
equals(Object). Method in class is.logi.crypto.keys.TriDESKey
Return true iff the two keys are equivalent.
equalSub(byte[], int, byte[], int, int). Static method in class is.logi.crypto.Crypto
Return true iff a sub-array of two arrays contain the same bytes.
execute(InterProtocolClient). Method in class is.logi.crypto.io.CipherStreamClient
Executes an interactive protocol.
execute(InterProtocolServer). Method in class is.logi.crypto.io.CipherStreamServer
Executes an interactive protocol.
execute(NoninterProtocolClient). Method in class is.logi.crypto.io.EncryptStream
Executes a non-interactive protocol.
execute(NoninterProtocolServer). Method in class is.logi.crypto.io.DecryptStream
Executes a non-interactive protocol.

F

Fingerprint(String, byte[], int, int). Constructor for class is.logi.crypto.hash.Fingerprint
Creates a new Fingerprint object.
flush(). Method in class is.logi.crypto.modes.DecryptOFB
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.logi.crypto.modes.EncryptCBC
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.logi.crypto.modes.EncryptCFB
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.logi.crypto.modes.EncryptECB
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.logi.crypto.modes.EncryptMode
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.logi.crypto.modes.EncryptOFB
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.logi.crypto.io.EncryptStream
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
flush(). Method in class is.logi.crypto.io.SignStream
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
flush(byte[], int, int). Method in class is.logi.crypto.modes.EncryptMode
Equivalent to calling encrypt(source,i,length) followed by flush().
fromHexNibble(char). Static method in class is.logi.crypto.Crypto
Convert a hexadecimal digit to a byte.
fromHexString(String). Static method in class is.logi.crypto.Crypto
Convert a string of hexadecimal digits to a byte array.
fromString(Reader). Static method in class is.logi.crypto.Crypto
Parse the given Cipher Description String (CDS).
fromString(String). Static method in class is.logi.crypto.Crypto
Parse the given Cipher Description String (CDS).

G

getAlgorithm(). Method in class is.logi.crypto.keys.BlowfishKey
The name of the algorithm is "Blowfish".
getAlgorithm(). Method in class is.logi.crypto.keys.CaesarKey
The name of the algorithm is "Caesar".
getAlgorithm(). Method in class is.logi.crypto.keys.DESKey
The name of the algorithm is "DES".
getAlgorithm(). Method in class is.logi.crypto.keys.DHKey
The name of the algorithm is "Diffie-Hellman".
getAlgorithm(). Method in interface is.logi.crypto.keys.Key
Return the name of the algorithm used by this key.
getAlgorithm(). Method in class is.logi.crypto.keys.RSAKey
The name of the algorithm is "RSA".
getAlgorithm(). Method in class is.logi.crypto.keys.TriDESKey
The name of the algorithm is "DES".
getBytes(). Method in class is.logi.crypto.hash.Fingerprint
Return an array of the bytes in the fingerprint.
getBytes(). Method in class is.logi.crypto.sign.Signature
Return the bytes from this signature.
getDecryptKey(). Method in class is.logi.crypto.io.CipherStream
Get the key used for decryption.
getEncryptKey(). Method in class is.logi.crypto.io.CipherStream
Get the key used for encryption.
getFingerprint(). Method in class is.logi.crypto.keys.K
Return the key's SHA1 fingerprint.
getFingerprint(). Method in interface is.logi.crypto.keys.Key
Return the key's SHA1 fingerprint.
getFingerprint(). Method in class is.logi.crypto.keys.KeyRecord
Return the SHA1 fingerprint of this KeyRecord.
getFingerprintAlgorithm(). Method in class is.logi.crypto.sign.Signature
Return the name of the algorithm used to fingerprint the data before signing.
getG(). Method in class is.logi.crypto.keys.DHKey
Return the generator for this key.
getGenerator(BigInteger). Static method in class is.logi.crypto.keys.DHKey
Return a Generator for a modulus group.
getInputStream(). Method in class is.logi.crypto.io.CipherStream
Get the encrypted input-stream.
getKey(). Method in class is.logi.crypto.keys.BlowfishKey
Return the key-bits for this key as an array of bytes.
getKey(). Method in class is.logi.crypto.modes.DecryptCBC
Return the key used for decryption.
getKey(). Method in class is.logi.crypto.modes.DecryptCFB
Return the key used for decryption.
getKey(). Method in class is.logi.crypto.modes.DecryptECB
Return the key used for decryption.
getKey(). Method in class is.logi.crypto.modes.DecryptMode
Return the key used for decryption.
getKey(). Method in class is.logi.crypto.modes.DecryptOFB
Return the key used for encryption.
getKey(). Method in class is.logi.crypto.keys.DESKey
Return the key-bits for this key as an array of 8 bytes.
getKey(). Method in class is.logi.crypto.keys.DHKey
Return the BigInteger representing this key.
getKey(). Method in class is.logi.crypto.modes.EncryptCBC
Return the key used for encryption.
getKey(). Method in class is.logi.crypto.modes.EncryptCFB
Return the key used for encryption.
getKey(). Method in class is.logi.crypto.modes.EncryptECB
Return the key used for encryption.
getKey(). Method in class is.logi.crypto.modes.EncryptMode
Return the key used for encryption.
getKey(). Method in class is.logi.crypto.modes.EncryptOFB
Return the key used for encryption.
getKey(). Method in class is.logi.crypto.keys.KeyRecord
Return the key from this record.
getKey(). Method in class is.logi.crypto.keys.TriDESKey
Return the key-bits for this key as an array of 24 bytes.
getKeyPrint(). Method in class is.logi.crypto.sign.Signature
Return the fingerprint of the key used to verify this signature.
getM(). Method in class is.logi.crypto.keys.DHKey
Return the modulus for this key.
getModulus(int). Static method in class is.logi.crypto.keys.DHKey
Return a Diffie-Hellman modulus.
getName(). Method in class is.logi.crypto.hash.Fingerprint
Return the name of the algorithm used for this fingerprint.
getName(). Method in class is.logi.crypto.hash.HashState
Return the name of the algorithm used by this HashState object.
getName(). Method in class is.logi.crypto.hash.MD5State
The name of the algorithm is "MD5".
getName(). Method in class is.logi.crypto.hash.SHA1State
The name of the algorithm is "MD5".
getNotes(). Method in class is.logi.crypto.keys.KeyRecord
Return the notes about this key.
getOutputStream(). Method in class is.logi.crypto.io.CipherStream
Get the encrypted output-stream.
getOwnerMail(). Method in class is.logi.crypto.keys.KeyRecord
Return the e-mail address of the key's owner.
getOwnerName(). Method in class is.logi.crypto.keys.KeyRecord
Return the name of the key's owner.
getPrivate(). Method in class is.logi.crypto.keys.KeyPair
Return the private key from the pair.
getPublic(). Method in class is.logi.crypto.keys.DHKey
Return the public key from the pair.
getPublic(). Method in class is.logi.crypto.keys.KeyPair
Return the public key from the pair.
getSize(). Method in class is.logi.crypto.keys.BlowfishKey
Return the size of this key.
getSize(). Method in class is.logi.crypto.keys.CaesarKey
The key-size for the Caesar cipher is 8 bytes.
getSize(). Method in class is.logi.crypto.keys.DESKey
The key-size for the DES cipher is 56 bits.
getSize(). Method in class is.logi.crypto.keys.DHKey
Return the "size" of the key.
getSize(). Method in class is.logi.crypto.keys.K
Return the "size" of the key.
getSize(). Method in interface is.logi.crypto.keys.Key
Return the "size" of the key.
getSize(). Method in class is.logi.crypto.keys.RSAKey
Return the size of the key modulo in bits.
getSize(). Method in class is.logi.crypto.keys.TriDESKey
The key-size for the DES cipher is 168 bits.
guessTime(int). Static method in class is.logi.crypto.random.Spinner
Returns t such that spin(t) is larger than n.

H

hashCode(). Method in class is.logi.crypto.hash.Fingerprint
Return a hash-code based on the bytes of the fingerprint and the algorithm name.
hashCode(). Method in class is.logi.crypto.keys.K
Return a hash-code based on the keys SHA1 fingerprint.
hashCode(). Method in interface is.logi.crypto.keys.Key
Return a hash-code based on the keys SHA1 fingerprint.
hashSize(). Method in class is.logi.crypto.hash.HashState
Returns the size of a fingerprint in bytes.
hashSize(). Method in class is.logi.crypto.hash.MD5State
Returns the size of a fingerprint in bytes.
hashSize(). Method in class is.logi.crypto.hash.SHA1State
Returns the size of a fingerprint in bytes.
HashState(). Constructor for class is.logi.crypto.hash.HashState
hexString(byte). Static method in class is.logi.crypto.Crypto
Convert a byte to a string of hexadecimal digits.
hexString(byte[]). Static method in class is.logi.crypto.Crypto
Convert a byte array to a string of hexadecimal digits.
hexString(int). Static method in class is.logi.crypto.Crypto
Convert an int to a string of hexadecimal digits.
hexString(long). Static method in class is.logi.crypto.Crypto
Convert a long to a string of hexadecimal digits.

I

insert(Key). Method in class is.logi.crypto.keys.KeyRing
Insert the Key k into the KeyRing.
insert(KeyRecord). Method in class is.logi.crypto.keys.KeyRing
Insert the KeyRecord k into the KeyRing.
InvalidCDSException(). Constructor for class is.logi.crypto.InvalidCDSException
Create a new InvalidCDSException with no message.
InvalidCDSException(String). Constructor for class is.logi.crypto.InvalidCDSException
Create a new InvalidCDSException with the message msg.
isPrivate(). Method in class is.logi.crypto.keys.DHKey
Returns true iff this is a private key.
isPrivate(). Method in interface is.logi.crypto.keys.Key
Returns true iff this is a private key.
isPrivate(). Method in class is.logi.crypto.keys.RSAKey
Return true iff this is a private key.
isPrivate(). Method in class is.logi.crypto.keys.SymmetricKey
Returns true iff this is a private key.

K

K(). Constructor for class is.logi.crypto.keys.K
KeyException(). Constructor for class is.logi.crypto.keys.KeyException
Create a new KeyException with no message.
KeyException(String). Constructor for class is.logi.crypto.keys.KeyException
Create a new KeyException with the message msg.
KeyPair(Key, Key). Constructor for class is.logi.crypto.keys.KeyPair
Create a new KeyPair holder.
KeyRecord(Key, String, String, String). Constructor for class is.logi.crypto.keys.KeyRecord
Create a new KeyRecord.
KeyRing(). Constructor for class is.logi.crypto.keys.KeyRing
Create empty key ring.
keySource. Static variable in class is.logi.crypto.Crypto
The object used to store and retrieve keys.

M

main(String[]). Static method in class is.logi.crypto.test.hash
main(String[]). Static method in class is.logi.crypto.random.Spinner
Call with optional parameter t.
main(String[]). Static method in class is.logi.crypto.test.TestCDS
The CDS on the command-line is parsed into an object and promptly written back to standard output.
main(String[]). Static method in class is.logi.crypto.test.TestCliSer
main(String[]). Static method in class is.logi.crypto.test.TestKey
Run with argument DES, TriDES, Blowfish, RSA or Caesar.
main(String[]). Static method in class is.logi.crypto.test.TestMode
Run with arguments DES, TriDES, Blowfish, RSA or Caesar and ECB, CBC, CFB or OFB.
main(String[]). Static method in class is.logi.crypto.test.TestRandom
main(String[]). Static method in class is.logi.crypto.test.TestSign
makeClass(String). Static method in class is.logi.crypto.Crypto
Create a Class object for the named class.
makeInt(byte[], int, int). Static method in class is.logi.crypto.Crypto
Convert a byte array to an int.
makeLong(byte[], int, int). Static method in class is.logi.crypto.Crypto
Convert a byte array to a long.
makeSessionKey(String, byte[]). Static method in class is.logi.crypto.Crypto
Convert a byte array to a CipherKey.
markSupported(). Method in class is.logi.crypto.io.DecryptStream
Returns false.
markSupported(). Method in class is.logi.crypto.io.VerifyStream
Returns false.
matches(Key). Method in class is.logi.crypto.keys.DHKey
Check if a key mathces this.
matches(Key). Method in interface is.logi.crypto.keys.Key
Check if a key mathces this.
matches(Key). Method in class is.logi.crypto.keys.RSAKey
Check if a key mathces this.
matches(Key). Method in class is.logi.crypto.keys.SymmetricKey
Returns true if this and key are the same symmetric key.
matchFingerprint(). Method in class is.logi.crypto.keys.K
Returns the fingerprint of the matching key in the key-pair.
matchFingerprint(). Method in interface is.logi.crypto.keys.Key
Returns the fingerprint of the matching key in the key-pair.
MD5State(). Constructor for class is.logi.crypto.hash.MD5State
Create a new clear MD5State.
message(byte[]). Method in class is.logi.crypto.protocols.DHEKEKeyExClient
If the key has not been decided upon and received is the last message received from the other end, message(received) returns the message to send the other end as the next step in the protocol.
message(byte[]). Method in class is.logi.crypto.protocols.DHEKEKeyExServer
If the key has not been decided upon and received is the last message received from the other end, message(received) returns the message to send the other end as the next step in the protocol.
message(byte[]). Method in class is.logi.crypto.protocols.DHKeyExClient
Get the next message in the protocol.
message(byte[]). Method in class is.logi.crypto.protocols.DHKeyExNoninter
Expects and sends null, since no messages are needed for this protocol.
message(byte[]). Method in class is.logi.crypto.protocols.DHKeyExServer
Get the next message in the protocol.
message(byte[]). Method in class is.logi.crypto.protocols.EncryptedKeyExClient
Get the next message in the protocol.
message(byte[]). Method in class is.logi.crypto.protocols.EncryptedKeyExServer
Get the next message in the protocol.
message(byte[]). Method in interface is.logi.crypto.protocols.InterProtocolClient
Get the next message in the protocol.
message(byte[]). Method in interface is.logi.crypto.protocols.InterProtocolServer
Get the next message in the protocol.
message(byte[]). Method in class is.logi.crypto.protocols.SendHashKeyExClient
Get the next message in the protocol.
message(byte[]). Method in class is.logi.crypto.protocols.SendHashKeyExServer
Get the next message in the protocol.

N

NIBBLE. Static variable in class is.logi.crypto.Crypto
The hexadecimal digits "0" through "f".

O

OldRandomSpinner(). Constructor for class is.logi.crypto.random.OldRandomSpinner

P

parseCDS(String). Static method in class is.logi.crypto.keys.BlowfishKey
If "BlowfishKey( key )" is a valid CDS for a BlowfishKey, then BlowfishKey.parseCDS(key) will return the described BlowfishKey object.
parseCDS(String). Static method in class is.logi.crypto.keys.CaesarKey
If "CaesarKey( key )" is a valid CDS for a CaesarKey, then CaesarKey.parseCDS(key) will return the described CaesarKey object.
parseCDS(String). Static method in class is.logi.crypto.keys.DESKey
If "DESKey( key )" is a valid CDS for a DESKey, then DESKey.parseCDS(key) will return the described DESKey object.
parseCDS(String). Static method in class is.logi.crypto.keys.DHKey
If "DHKey( key )" is a valid CDS for a DHKey, then DHKey.parseCDS(key) will return the described DHKey object.
parseCDS(String). Static method in class is.logi.crypto.hash.Fingerprint
If "Fingerprint( key )" is a valid CDS for a Fingerprint, then Fingerprint.parseCDS(key) will return the described Fingerprint object.
parseCDS(String). Static method in class is.logi.crypto.keys.KeyRecord
If "KeyRecord( key )" is a valid CDS for a KeyRecord, then KeyRecord.parseCDS(key) will return the described KeyRecord object.
parseCDS(String). Static method in class is.logi.crypto.keys.KeyRing
If "KeyRing( key )" is a valid CDS for a KeyRing, then KeyRing.parseCDS(key) will return the described KeyRing object.
parseCDS(String). Static method in class is.logi.crypto.keys.RSAKey
If "RSAKey( key )" is a valid CDS for a RSAKey, then RSAKey.parseCDS(key) will return the described RSAKey object.
parseCDS(String). Static method in class is.logi.crypto.sign.Signature
If "Signature( key )" is a valid CDS for a Signature, then Signature.parseCDS(key) will return the described Signature object.
parseCDS(String). Static method in class is.logi.crypto.keys.TriDESKey
If "TriDESKey( key )" is a valid CDS for a TriDESKey, then TriDESKey.parseCDS(key) will return the described TriDESKey object.
pastSpace(Reader). Static method in class is.logi.crypto.Crypto
Read characters from a Reader until a non-space character is reached and return that character.
pickBits(int, byte[]). Static method in class is.logi.crypto.Crypto
Construct an int by picking bits from another int.
pickBits(long, byte[]). Static method in class is.logi.crypto.Crypto
Construct an long by picking bits from another long.
plainBlockSize(). Method in class is.logi.crypto.keys.BlowfishKey
The block-size for the Blowfish cipher is 8 bytes.
plainBlockSize(). Method in class is.logi.crypto.keys.CaesarKey
The block-size for the Caesar cipher is one byte.
plainBlockSize(). Method in interface is.logi.crypto.keys.CipherKey
Returns the size of the blocks that can be encrypted in one call to encrypt().
plainBlockSize(). Method in class is.logi.crypto.keys.DESKey
The block-size for the DES cipher is 8 bytes.
plainBlockSize(). Method in class is.logi.crypto.keys.RSAKey
Returns the size of the blocks that can be encrypted in one call to encrypt().
plainBlockSize(). Method in class is.logi.crypto.keys.TriDESKey
The block-size for the triple-DES cipher is 8 bytes.
primeCertainty. Static variable in class is.logi.crypto.Crypto
We allow a chance of 0.5**primeCertainty chance that given a composite number, the primaility check will say it is a prime.
ProtocolException(). Constructor for class is.logi.crypto.protocols.ProtocolException
Create a new ProtocolException with no message.
ProtocolException(String). Constructor for class is.logi.crypto.protocols.ProtocolException
Create a new ProtocolException with the message msg.
PureSpinner(). Constructor for class is.logi.crypto.random.PureSpinner

R

random. Static variable in class is.logi.crypto.Crypto
This is the default random generator used by various Crypto classes.
RandomFromReader(Reader). Constructor for class is.logi.crypto.random.RandomFromReader
Create a new RandomFromReader obejct.
RandomSpinner(). Constructor for class is.logi.crypto.random.RandomSpinner
RandomSpinner(int, int). Constructor for class is.logi.crypto.random.RandomSpinner
Creates a new instance of the RandomSpinner class.
read(). Method in class is.logi.crypto.io.DecryptStream
Reads the next byte of data from this input stream.
read(). Method in class is.logi.crypto.io.VerifyStream
Reads the next byte of data from this input stream.
read(byte[], int, int). Method in class is.logi.crypto.io.DecryptStream
Reads up to len bytes of data from this input stream into an array of bytes.
read(byte[], int, int). Method in class is.logi.crypto.io.VerifyStream
Reads up to len bytes of data from this input stream into an array of bytes.
readInt(InputStream). Static method in class is.logi.crypto.Crypto
Read an int from an InputStream in bigendian order.
reset(). Method in class is.logi.crypto.hash.HashState
Reset the state.
reset(). Method in class is.logi.crypto.hash.MD5State
Reset the object.
reset(). Method in class is.logi.crypto.hash.SHA1State
Reset the object.
RSAKey(BigInteger, BigInteger, boolean). Constructor for class is.logi.crypto.keys.RSAKey
Create a new RSA key (r,n).
run(). Method in class is.logi.crypto.random.Spinner

S

SendHashKeyExClient(Key). Constructor for class is.logi.crypto.protocols.SendHashKeyExClient
Create a new SendHashKeyEx object.
SendHashKeyExServer(). Constructor for class is.logi.crypto.protocols.SendHashKeyExServer
Create a new SendHashKeyExServer.
sessionKey(). Method in class is.logi.crypto.protocols.DHKeyEx
Returns the key if it has been decided upon, or null otherwise.
sessionKey(). Method in class is.logi.crypto.protocols.EncryptedKeyEx
Returns the key if it has been decided upon, or null otherwise.
sessionKey(). Method in interface is.logi.crypto.protocols.KeyExchangeClient
Returns the key if it has been decided upon, or null otherwise.
sessionKey(). Method in interface is.logi.crypto.protocols.KeyExchangeServer
Returns the key if it has been decided upon, or null otherwise.
sessionKey(). Method in class is.logi.crypto.protocols.SendHashKeyEx
Returns the key if it has been decided upon, or null otherwise.
setKey(CipherKey). Method in class is.logi.crypto.modes.DecryptCBC
Set the key to use for decryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.DecryptCFB
Set the key to use for decryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.DecryptECB
Set the key to use for decryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.DecryptMode
Set the key to use for decryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.DecryptOFB
Set the key to use for encryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.EncryptCBC
Set the key to use for encryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.EncryptCFB
Set the key to use for encryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.EncryptECB
Set the key to use for encryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.EncryptMode
Set the key to use for encryption.
setKey(CipherKey). Method in class is.logi.crypto.modes.EncryptOFB
Set the key to use for encryption.
SHA1State(). Constructor for class is.logi.crypto.hash.SHA1State
Create a new clear SHA1State.
sign(Fingerprint). Method in class is.logi.crypto.keys.RSAKey
Create a signature for a Fingerprint.
sign(Fingerprint). Method in interface is.logi.crypto.keys.SignatureKey
Create a signature for a Fingerprint.
Signature(byte[], String, Fingerprint). Constructor for class is.logi.crypto.sign.Signature
Create a new Signature object.
signatureSize(). Method in class is.logi.crypto.keys.RSAKey
Returns the length of the signature in bytes.
signatureSize(). Method in interface is.logi.crypto.keys.SignatureKey
Returns the length of a signature in bytes.
signBlockSize(). Method in class is.logi.crypto.keys.RSAKey
Returns the maximum size in bytes of the fingerprint that can be signed.
signBlockSize(). Method in interface is.logi.crypto.keys.SignatureKey
Returns the maximum size in bytes of the fingerprints that can be signed.
SignStream(OutputStream, int, SignatureKey, HashState). Constructor for class is.logi.crypto.io.SignStream
Creates a new SignStream.
skip(long). Method in class is.logi.crypto.io.DecryptStream
Skips over and discards n bytes of data from the input stream.
skip(long). Method in class is.logi.crypto.io.VerifyStream
Skips over and discards n bytes of data from the input stream.
spin(long). Static method in class is.logi.crypto.random.Spinner
Return the number of spins performed in t milliseconds.
SymmetricKey(). Constructor for class is.logi.crypto.keys.SymmetricKey

T

toString(). Method in class is.logi.crypto.keys.BlowfishKey
Return a CDS for this key.
toString(). Method in class is.logi.crypto.keys.CaesarKey
Return a CDS for this key.
toString(). Method in class is.logi.crypto.keys.DESKey
Return a CDS for this key.
toString(). Method in class is.logi.crypto.keys.DHKey
Return a CDS for this key.
toString(). Method in class is.logi.crypto.hash.Fingerprint
Return a CDS for this fingerprint.
toString(). Method in class is.logi.crypto.keys.KeyPair
Return a CDS for this key-pair.
toString(). Method in class is.logi.crypto.keys.KeyRecord
Return a CDS for this KeyRecord.
toString(). Method in class is.logi.crypto.keys.KeyRing
Return a CDS for this KeyRing.
toString(). Method in class is.logi.crypto.keys.RSAKey
Return a CDS for this key.
toString(). Method in class is.logi.crypto.sign.Signature
Return a CDS for this object.
toString(). Method in class is.logi.crypto.keys.TriDESKey
Return a CDS for this key.
TriDESKey(). Constructor for class is.logi.crypto.keys.TriDESKey
Create a new random triple-DES key.
TriDESKey(byte[]). Constructor for class is.logi.crypto.keys.TriDESKey
Create a new triple-DES key with the key bits from key[0..23].

U

update(byte[]). Method in class is.logi.crypto.hash.HashState
Update the fingerprint state with the bytes from buf.
update(byte[], int, int). Method in class is.logi.crypto.hash.HashState
Update the fingerprint state with the bytes from buf[offset, offset+length-1].
update(byte[], int, int). Method in class is.logi.crypto.hash.MD5State
Update the fingerprint state with the bytes from buf[offset, offset+length-1].
update(byte[], int, int). Method in class is.logi.crypto.hash.SHA1State
Update the fingerprint state with the bytes from buf[offset, offset+length-1].
update(String). Method in class is.logi.crypto.hash.HashState
Update the fingerprint state with the characters from s.

V

ValidationException(). Constructor for class is.logi.crypto.protocols.ValidationException
Create a new ValidationException with no message.
ValidationException(String). Constructor for class is.logi.crypto.protocols.ValidationException
Create a new ValidationException with the message msg.
verify(Signature, Fingerprint). Method in class is.logi.crypto.keys.RSAKey
Verify a Signature on a Fingerprint.
verify(Signature, Fingerprint). Method in interface is.logi.crypto.keys.SignatureKey
Verify a Signature on a Fingerprint.
VerifyStream(InputStream, int, SignatureKey, HashState). Constructor for class is.logi.crypto.io.VerifyStream
Create a new VerifyStream object.

W

write(byte[], int, int). Method in class is.logi.crypto.io.EncryptStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(byte[], int, int). Method in class is.logi.crypto.io.SignStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(int). Method in class is.logi.crypto.io.EncryptStream
Writes the specified byte to this output stream.
write(int). Method in class is.logi.crypto.io.SignStream
Writes the specified byte to this output stream.
writeBytes(int, byte[], int, int). Static method in class is.logi.crypto.Crypto
Write an int to a byte array.
writeBytes(long, byte[], int, int). Static method in class is.logi.crypto.Crypto
Write a long to a byte array.
writeInt(OutputStream, int). Static method in class is.logi.crypto.Crypto
Write an int to an OutputStream in bigendian order.