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

A

available() - Method in class is.logi.crypto.io.VerifyStream
Returns the number of bytes that can be read from this input stream without blocking.
available() - Method in class is.logi.crypto.io.DecryptStream
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 - class is.logi.crypto.keys.BlowfishKey.
This is the class for Blowfish keys.
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.
buffer - Variable in class is.logi.crypto.hash.MD5State.SubState
Holds the bytes that have been added to this object, but not calculated into the hash in state.
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 - class is.logi.crypto.keys.CaesarKey.
The Caesar algorithm is supposedly the one Julius Caesar used by hand many centuries ago.
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.DHKey
Returns the size of the blocks that can be decrypted in one call to decrypt().
cipherBlockSize() - Method in class is.logi.crypto.keys.CaesarKey
The block-size for the Caesar cipher is one byte.
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.BlowfishKey
The block-size for the Blowfish cipher is 8 bytes.
cipherBlockSize() - Method in class is.logi.crypto.keys.TriDESKey
The block-size for the triple-DES cipher is 8 bytes.
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.RSAKey
Returns the size of the blocks that can be decrypted in one call to decrypt().
CipherKey - interface is.logi.crypto.keys.CipherKey.
This interface is implemented by keys which handle encryption and decryption of single blocks of data.
CipherStream - class is.logi.crypto.io.CipherStream.
Parent of CipherStreamClient and CipherStreamServer.
CipherStream() - Constructor for class is.logi.crypto.io.CipherStream
 
CipherStreamClient - class is.logi.crypto.io.CipherStreamClient.
This class can be used to apply an interactive key exchange protocol to a pair of streams and then encrypt all data going through them with the session key exchanged.
CipherStreamClient(InputStream, OutputStream, InterKeyExClient, EncryptMode, DecryptMode) - Constructor for class is.logi.crypto.io.CipherStreamClient
Create a new CipherStreamClient object and ecxhange keys.
CipherStreamServer - class is.logi.crypto.io.CipherStreamServer.
This class can be used to apply an interactive key exchange protocol to a pair of streams and then encrypt all data going through them with the session key exchanged.
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.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 class is.logi.crypto.protocols.DHKeyEx
Returns true iff this end of the protocol i completed.
completed() - Method in class is.logi.crypto.protocols.QRAuthServer
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.
completed() - Method in class is.logi.crypto.protocols.QRAuthClient
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.
count - Variable in class is.logi.crypto.hash.MD5State.SubState
Holds the number of bits added to this object.
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 - class is.logi.crypto.Crypto.
This class contains numerous static and final utility functions along with global variables for the logi.crypto package.
Crypto() - Constructor for class is.logi.crypto.Crypto
 
CryptoCorruptError - error is.logi.crypto.CryptoCorruptError.
This exception is thrown whenever logi.crypto detects that it has been corrupted in some manner.
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 - exception is.logi.crypto.CryptoException.
This exception or its sub-classes are thrown whenever a cryptographic error occurs.
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.DHKey
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 class is.logi.crypto.keys.DESKey
Decrypt one block of data.
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.TriDESKey
Decrypt one block of data.
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.RSAKey
Decrypt one block of data.
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.
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.DecryptCBC
Send bytes to the DecryptCBC object for decryption.
DecryptCBC - class is.logi.crypto.modes.DecryptCBC.
Use this class to decrypt ciphertext generated by EncryptCBC.
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 - class is.logi.crypto.modes.DecryptCFB.
Use this class to decrypt ciphertext generated by EncryptCFB.
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 - class is.logi.crypto.modes.DecryptECB.
Use this class to decrypt ciphertext generated by EncryptECB.
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 - class is.logi.crypto.modes.DecryptMode.
DecryptMode objects are used to decrypt ciphertext generated with a correpsonding EncryptMode object.
DecryptMode() - Constructor for class is.logi.crypto.modes.DecryptMode
 
DecryptOFB - class is.logi.crypto.modes.DecryptOFB.
Use this class to decrypt ciphertext generated by EncryptOFB.
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 - class is.logi.crypto.io.DecryptStream.
Decrypt a stream of data encrypted with a corresponding EncryptStream ojbect.
DecryptStream(InputStream, NoninterKeyExServer, DecryptMode) - Constructor for class is.logi.crypto.io.DecryptStream
Create a new DecryptStream.
DESKey - class is.logi.crypto.keys.DESKey.
This is the class for Data Encryption Standard (DES) keys.
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 - class is.logi.crypto.protocols.DHEKEKeyExClient.
Diffie-Hellman EKE key exchange and password verification client.
DHEKEKeyExClient(int, String, CipherKey) - Constructor for class is.logi.crypto.protocols.DHEKEKeyExClient
 
DHEKEKeyExServer - class is.logi.crypto.protocols.DHEKEKeyExServer.
Diffie-Hellman EKE key exchange and authentication server.
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 - class is.logi.crypto.keys.DHKey.
This object holds one Diffie-Hellman key.
DHKey(BigInteger, BigInteger, BigInteger, boolean) - Constructor for class is.logi.crypto.keys.DHKey
Create a new Diffie-Hellman key object.
DHKey(int) - Constructor for class is.logi.crypto.keys.DHKey
Create a random private DHKey with an n bit modulus.
DHKeyEx - class is.logi.crypto.protocols.DHKeyEx.
Ancestor of Diffie-Hellman key exchange objects
DHKeyExClient - class is.logi.crypto.protocols.DHKeyExClient.
Diffie-Hellman key exchange client.
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 - class is.logi.crypto.protocols.DHKeyExNoninter.
Diffie-Hellman key exchange without exchanging keys.
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 - class is.logi.crypto.protocols.DHKeyExServer.
Diffie-Hellman key exchange server.
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

ElGamalKey - class is.logi.crypto.keys.ElGamalKey.
Deprecated. All functionality moved to the DHKey class.
ElGamalKey(BigInteger, BigInteger, BigInteger, boolean) - Constructor for class is.logi.crypto.keys.ElGamalKey
Deprecated. Create a new ElGamal key object.
ElGamalKey(int) - Constructor for class is.logi.crypto.keys.ElGamalKey
Deprecated. Create a random private ElGamalKey with an n bit modulus.
encrypt(byte[], int, byte[], int) - Method in class is.logi.crypto.keys.DHKey
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 class is.logi.crypto.keys.DESKey
Encrypt one block of data.
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.TriDESKey
Encrypt one block of data.
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.RSAKey
Encrypt one block of data.
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.EncryptECB
Send bytes to the EncryptECB object for encryption.
encrypt(byte[], int, int) - Method in class is.logi.crypto.modes.EncryptOFB
Send bytes to the EncryptOFB 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.EncryptCBC
Send bytes to the EncryptCBC object for encryption.
EncryptCBC - class is.logi.crypto.modes.EncryptCBC.
Cipher Block Chaining mode xors each plain block with the previous cipher block before encrypting.
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 - class is.logi.crypto.modes.EncryptCFB.
This class implements 8-bit Cipherblock FeedBack mode which encrypts a whole block for each plaintext character.
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 - class is.logi.crypto.modes.EncryptECB.
Electronic Codebook Mode simply encrypts each block of plaintext independently.
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.
EncryptedKeyEx - class is.logi.crypto.protocols.EncryptedKeyEx.
Ancestor of EncryptedKeyEx classes.
EncryptedKeyExClient - class is.logi.crypto.protocols.EncryptedKeyExClient.
Exchange keys by sending an encrypted key from this class to the corresponding EncryptedKeyExServer.
EncryptedKeyExClient(CipherKey, Key) - Constructor for class is.logi.crypto.protocols.EncryptedKeyExClient
Create a new EncryptedKeyExClient object.
EncryptedKeyExServer - class is.logi.crypto.protocols.EncryptedKeyExServer.
Receive an encrypted key from the correstponding EncryptedKeyExClient
EncryptedKeyExServer(CipherKey) - Constructor for class is.logi.crypto.protocols.EncryptedKeyExServer
Creates a new EncryptedKeyExchangeServer object.
EncryptMode - class is.logi.crypto.modes.EncryptMode.
Descendants of EncryptMode encrypt arbtrarily large arrays of plaintext.
EncryptMode() - Constructor for class is.logi.crypto.modes.EncryptMode
 
EncryptOFB - class is.logi.crypto.modes.EncryptOFB.
Output Fedback Mode iterates the encryption routine on the IV and xors the resulting stream with the plaintext to produce the ciphertext.
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 - class is.logi.crypto.io.EncryptStream.
This OutputStream encrypts everything written to it using the specified CipherKey and EncryptMode.
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.hash.Fingerprint
Test for equality with another object.
equals(Object) - Method in class is.logi.crypto.keys.DHKey
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 equivalent.
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.BlowfishKey
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.
equals(Object) - Method in class is.logi.crypto.keys.RSAKey
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

FF(int, int, int, int, int, int, int) - Static method in class is.logi.crypto.hash.MD5State.SubState
 
Fingerprint - class is.logi.crypto.hash.Fingerprint.
This class is used to hold a fingerprint of a particular data buffer.
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.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() - Method in class is.logi.crypto.modes.DecryptOFB
Pads the internal buffer, encrypts it and returns the ciphertext.
flush() - Method in class is.logi.crypto.modes.EncryptMode
Pads the internal buffer, encrypts it and returns the ciphertext.
flush() - Method in class is.logi.crypto.modes.EncryptECB
Pads the internal buffer, encrypts it and returns the ciphertext.
flush() - Method in class is.logi.crypto.modes.EncryptOFB
Pads the internal buffer, encrypts it and returns the ciphertext.
flush() - Method in class is.logi.crypto.modes.EncryptCFB
Pads the internal buffer, encrypts it and returns the ciphertext.
flush() - Method in class is.logi.crypto.modes.EncryptCBC
Pads the internal buffer, encrypts it and returns the ciphertext.
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 interface is.logi.crypto.keys.Key
Return the name of the algorithm used by this key.
getAlgorithm() - Method in class is.logi.crypto.keys.DHKey
The name of the algorithm is "Diffie-Hellman".
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.BlowfishKey
The name of the algorithm is "Blowfish".
getAlgorithm() - Method in class is.logi.crypto.keys.TriDESKey
The name of the algorithm is "DES".
getAlgorithm() - Method in class is.logi.crypto.keys.RSAKey
The name of the algorithm is "RSA".
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 interface is.logi.crypto.keys.Key
Return the key's SHA1 fingerprint.
getFingerprint() - Method in class is.logi.crypto.keys.K
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.DHKey
Return the BigInteger representing this key.
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.BlowfishKey
Return the key-bits for this key as an array of bytes.
getKey() - Method in class is.logi.crypto.keys.TriDESKey
Return the key-bits for this key as an array of 24 bytes.
getKey() - Method in class is.logi.crypto.keys.KeyRecord
Return the key from this record.
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.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.EncryptMode
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.DecryptCBC
Return the key used for decryption.
getKey() - Method in class is.logi.crypto.modes.EncryptOFB
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.EncryptCBC
Return the key used for encryption.
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.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.Fingerprint
Return the name of the algorithm used for this fingerprint.
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 interface is.logi.crypto.keys.Key
Return the "size" of the key.
getSize() - Method in class is.logi.crypto.keys.K
Return the "size" of the key.
getSize() - Method in class is.logi.crypto.keys.DHKey
Return the "size" of the 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.BlowfishKey
Return the size of this key.
getSize() - Method in class is.logi.crypto.keys.TriDESKey
The key-size for the DES cipher is 168 bits.
getSize() - Method in class is.logi.crypto.keys.RSAKey
Return the size of the key modulo in bits.
GG(int, int, int, int, int, int, int) - Static method in class is.logi.crypto.hash.MD5State.SubState
 
guessTime(int) - Static method in class is.logi.crypto.random.Spinner
Returns t such that spin(t) is larger than n.

H

hash - class is.logi.crypto.test.hash.
Compute a hash of the data on standard in and write it to standard out.
hash - Variable in class is.logi.crypto.hash.MD5State.SubState
A hash for as much of the data added to this object as possible, given that they must be added in 64 byte chunks.
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 interface is.logi.crypto.keys.Key
Return a hash-code based on the keys SHA1 fingerprint.
hashCode() - Method in class is.logi.crypto.keys.K
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 - class is.logi.crypto.hash.HashState.
An object of this class holds the status of a fingerprint still being calculated.
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.
HH(int, int, int, int, int, int, int) - Static method in class is.logi.crypto.hash.MD5State.SubState
 

I

II(int, int, int, int, int, int, int) - Static method in class is.logi.crypto.hash.MD5State.SubState
 
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.
InterAuthClient - interface is.logi.crypto.protocols.InterAuthClient.
This interface is implemented by classes for the client portion of an interactive authentication protocol.
InterAuthServer - interface is.logi.crypto.protocols.InterAuthServer.
This interface is implemented by classes for the server portion of an interactive authentication protocol.
InterKeyExClient - interface is.logi.crypto.protocols.InterKeyExClient.
This interface is implemented by classes for the client portion of an interactive key-exchange protocol.
InterKeyExServer - interface is.logi.crypto.protocols.InterKeyExServer.
This interface is implemented by classes for the server portion of an interactive key-exchange protocol.
InterProtocolClient - interface is.logi.crypto.protocols.InterProtocolClient.
This interface is implemented by classes for the client portion of an interactive protocol.
InterProtocolServer - interface is.logi.crypto.protocols.InterProtocolServer.
This interface is implemented by classes for the server portion of an interactive protocol.
InvalidCDSException - exception is.logi.crypto.InvalidCDSException.
This exception is thrown whenever a malformed CDS is encountered.
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.
is.logi.crypto - package is.logi.crypto
 
is.logi.crypto.hash - package is.logi.crypto.hash
 
is.logi.crypto.io - package is.logi.crypto.io
 
is.logi.crypto.keys - package is.logi.crypto.keys
 
is.logi.crypto.modes - package is.logi.crypto.modes
 
is.logi.crypto.protocols - package is.logi.crypto.protocols
 
is.logi.crypto.random - package is.logi.crypto.random
 
is.logi.crypto.sign - package is.logi.crypto.sign
 
is.logi.crypto.test - package is.logi.crypto.test
 
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.DHKey
Returns true iff this is a private key.
isPrivate() - Method in class is.logi.crypto.keys.SymmetricKey
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.

K

K - class is.logi.crypto.keys.K.
This abstract class implements some of the methods from the Key interface.
K() - Constructor for class is.logi.crypto.keys.K
 
Key - interface is.logi.crypto.keys.Key.
This interface is implemented by cryptographic keys of any type.
KeyException - exception is.logi.crypto.keys.KeyException.
This exception is thrown when there is a problem with a key object.
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 - class is.logi.crypto.keys.KeyPair.
This class is a simple holder for a pair of public/private keys.
KeyPair(Key, Key) - Constructor for class is.logi.crypto.keys.KeyPair
Create a new KeyPair holder.
KeyRecord - class is.logi.crypto.keys.KeyRecord.
This class holds a particular key, linking it to the owners name and e-mail and annotation.
KeyRecord(Key, String, String, String) - Constructor for class is.logi.crypto.keys.KeyRecord
Create a new KeyRecord.
KeyRing - class is.logi.crypto.keys.KeyRing.
This implementation of the KeySource interface stores keys in a hash-table.
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.
KeySource - interface is.logi.crypto.keys.KeySource.
This interface is implemente by classes used to retrieve keys from some source, such as a simple file, a database or a key server.

M

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.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.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.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.hash
 
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.VerifyStream
Returns false.
markSupported() - Method in class is.logi.crypto.io.DecryptStream
Returns false.
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.DHKey
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.
matches(Key) - Method in class is.logi.crypto.keys.RSAKey
Check if a key mathces this.
matchFingerprint() - Method in interface is.logi.crypto.keys.Key
Returns the fingerprint of the matching key in the key-pair.
matchFingerprint() - Method in class is.logi.crypto.keys.K
Returns the fingerprint of the matching key in the key-pair.
MD5State - class is.logi.crypto.hash.MD5State.
An object of this class holds the state of an MD5 fingerprint still being calculated.
MD5State.SubState - class is.logi.crypto.hash.MD5State.SubState.
 
MD5State.SubState() - Constructor for class is.logi.crypto.hash.MD5State.SubState
 
MD5State.SubState(MD5State.SubState) - Constructor for class is.logi.crypto.hash.MD5State.SubState
 
MD5State() - Constructor for class is.logi.crypto.hash.MD5State
Create a new clear MD5State.
message(byte[]) - Method in class is.logi.crypto.protocols.EncryptedKeyExClient
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 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.QRAuthServer
Get the next message 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.SendHashKeyExClient
Get the next message in the 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.QRAuthClient
Get the next message 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.EncryptedKeyExServer
Get the next message in the protocol.
message(byte[]) - Method in class is.logi.crypto.protocols.SendHashKeyExServer
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.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.

N

NIBBLE - Static variable in class is.logi.crypto.Crypto
The hexadecimal digits "0" through "f".
NoninterKeyExClient - interface is.logi.crypto.protocols.NoninterKeyExClient.
This interface is implemented by classes for the client portion of a non-interactive key-exchange protocol.
NoninterKeyExServer - interface is.logi.crypto.protocols.NoninterKeyExServer.
This interface is implemented by classes for the server portion of a non-interactive key-exchange protocol.
NoninterProtocolClient - interface is.logi.crypto.protocols.NoninterProtocolClient.
This interface is implemented by classes for the client portion of a non-interactive protocol.
NoninterProtocolServer - interface is.logi.crypto.protocols.NoninterProtocolServer.
This interface is implemented by classes for the server portion of a non-interactive protocol.

O

OldRandomSpinner - class is.logi.crypto.random.OldRandomSpinner.
This class uses the scheduler to generate random numbers.
OldRandomSpinner() - Constructor for class is.logi.crypto.random.OldRandomSpinner
 

P

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.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.keys.ElGamalKey
Deprecated. If "ElGamalKey( key )" is a valid CDS for a ElGamalKey, then ElGamalKey.parseCDS(key) will return the described DHKey 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.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.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.TriDESKey
If "TriDESKey( key )" is a valid CDS for a TriDESKey, then TriDESKey.parseCDS(key) will return the described TriDESKey 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.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.sign.Signature
If "Signature( key )" is a valid CDS for a Signature, then Signature.parseCDS(key) will return the described Signature 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.DHKey
Returns the size of the blocks that can be encrypted in one call to encrypt().
plainBlockSize() - Method in class is.logi.crypto.keys.CaesarKey
The block-size for the Caesar cipher is one byte.
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.BlowfishKey
The block-size for the Blowfish cipher is 8 bytes.
plainBlockSize() - Method in class is.logi.crypto.keys.TriDESKey
The block-size for the triple-DES cipher is 8 bytes.
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.RSAKey
Returns the size of the blocks that can be encrypted in one call to encrypt().
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 - exception is.logi.crypto.protocols.ProtocolException.
This exception is thrown when a problem arises in a cryptographic protocol, such as an invalid message being received.
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 - class is.logi.crypto.random.PureSpinner.
This class uses the scheduler to generate random numbers.
PureSpinner() - Constructor for class is.logi.crypto.random.PureSpinner
 

Q

QRAuthClient - class is.logi.crypto.protocols.QRAuthClient.
Query-response authenticaton client.
QRAuthClient(CipherKey) - Constructor for class is.logi.crypto.protocols.QRAuthClient
Creates a new QRAuthClient object with the specified secret key.
QRAuthServer - class is.logi.crypto.protocols.QRAuthServer.
Query-response authenticaton server.
QRAuthServer(CipherKey) - Constructor for class is.logi.crypto.protocols.QRAuthServer
Creates a new QRAuthServer object with the specified secret key.

R

random - Static variable in class is.logi.crypto.Crypto
This is the default random generator used by various Crypto classes.
RandomFromReader - class is.logi.crypto.random.RandomFromReader.
This class reads bits from a Reader object and returns them as random values.
RandomFromReader(Reader) - Constructor for class is.logi.crypto.random.RandomFromReader
Create a new RandomFromReader obejct.
RandomSpinner - class is.logi.crypto.random.RandomSpinner.
This class uses the scheduler to generate random numbers.
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.VerifyStream
Reads the next byte of data from this input stream.
read() - Method in class is.logi.crypto.io.DecryptStream
Reads the next byte of data from this input stream.
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.
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.
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.MD5State.SubState
 
reset() - Method in class is.logi.crypto.hash.SHA1State
Reset the object.
rotateLeft(int, int) - Static method in class is.logi.crypto.hash.MD5State.SubState
 
RSAKey - class is.logi.crypto.keys.RSAKey.
The RSA algorithm is probably the best known and most widely used public key algorithm.
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

SendHashKeyEx - class is.logi.crypto.protocols.SendHashKeyEx.
Ancestor of SendHashKeyEx classes.
SendHashKeyExClient - class is.logi.crypto.protocols.SendHashKeyExClient.
This class implements the client portion of the key-exchange protocol whereby the client sends the server the hash of the key that should be used for decryption.
SendHashKeyExClient(Key) - Constructor for class is.logi.crypto.protocols.SendHashKeyExClient
Create a new SendHashKeyEx object.
SendHashKeyExServer - class is.logi.crypto.protocols.SendHashKeyExServer.
This class implements the server portion of the key-exchange protocol whereby the client sends the server the hash of the key that should be used for decryption.
SendHashKeyExServer() - Constructor for class is.logi.crypto.protocols.SendHashKeyExServer
Create a new SendHashKeyExServer.
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.InterKeyExClient
Returns the key if it has been decided upon, or null otherwise.
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.SendHashKeyEx
Returns the key if it has been decided upon, or null otherwise.
sessionKey() - Method in interface is.logi.crypto.protocols.InterKeyExServer
Returns the key if it has been decided upon, or null otherwise.
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.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.EncryptMode
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.DecryptCBC
Set the key to use for decryption.
setKey(CipherKey) - Method in class is.logi.crypto.modes.EncryptOFB
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.EncryptCBC
Set the key to use for encryption.
SHA1State - class is.logi.crypto.hash.SHA1State.
An object of this class holds the state of a SHA-1 fingerprint still being calculated.
SHA1State() - Constructor for class is.logi.crypto.hash.SHA1State
Create a new clear SHA1State.
sign(Fingerprint) - Method in class is.logi.crypto.keys.DHKey
Create a signature for a Fingerprint fith a private key.
sign(Fingerprint) - Method in interface is.logi.crypto.keys.SignatureKey
Create a signature for a Fingerprint with a private key.
sign(Fingerprint) - Method in class is.logi.crypto.keys.RSAKey
Create a signature for a Fingerprint fith a private key.
Signature - class is.logi.crypto.sign.Signature.
This class stores a digital signature.
Signature(byte[], String, Fingerprint) - Constructor for class is.logi.crypto.sign.Signature
Create a new Signature object.
SignatureKey - interface is.logi.crypto.keys.SignatureKey.
This interface is implemented by keys that can be used to create and validate signatures on blocks of data.
signatureSize() - Method in class is.logi.crypto.keys.DHKey
Returns the length of a signature in bytes.
signatureSize() - Method in interface is.logi.crypto.keys.SignatureKey
Returns the length of a signature in bytes.
signatureSize() - Method in class is.logi.crypto.keys.RSAKey
Returns the length of the signature in bytes.
signBlockSize() - Method in class is.logi.crypto.keys.DHKey
Returns the maximum size in bytes of the fingerprints 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.
signBlockSize() - Method in class is.logi.crypto.keys.RSAKey
Returns the maximum size in bytes of the fingerprint that can be signed.
SignStream - class is.logi.crypto.io.SignStream.
This OutputStream signs everything written to it using the specified HashState and SignatureKey.
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.VerifyStream
Skips over and discards n bytes of data from the input stream.
skip(long) - Method in class is.logi.crypto.io.DecryptStream
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.
Spinner - class is.logi.crypto.random.Spinner.
Helper class for the RandomSpinner class.
SymmetricKey - class is.logi.crypto.keys.SymmetricKey.
This abstract class implements some (more) of the methods from the Key interface.
SymmetricKey() - Constructor for class is.logi.crypto.keys.SymmetricKey
 

T

TestCDS - class is.logi.crypto.test.TestCDS.
Parse the CDS from the command line and print out the object it represents or an error mesage.
TestCliSer - class is.logi.crypto.test.TestCliSer.
This application tests multiple client threads connecting to a server thread, using key-exchange and encryption in OFB mode.
TestKey - class is.logi.crypto.test.TestKey.
This application tests the various Key classes.
TestMode - class is.logi.crypto.test.TestMode.
This application tests the various encryption-mode classes.
TestRandom - class is.logi.crypto.test.TestRandom.
This application tests the various random number generation classes.
TestSign - class is.logi.crypto.test.TestSign.
This application passes everything on standard input to a SignStream and then on through a VerifyStream and onto standard output.
toString() - Method in class is.logi.crypto.hash.Fingerprint
Return a CDS for this fingerprint.
toString() - Method in class is.logi.crypto.keys.DHKey
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.KeyRing
Return a CDS for this KeyRing.
toString() - Method in class is.logi.crypto.keys.BlowfishKey
Return a CDS for this key.
toString() - Method in class is.logi.crypto.keys.TriDESKey
Return a CDS for this key.
toString() - Method in class is.logi.crypto.keys.RSAKey
Return a CDS for this key.
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.sign.Signature
Return a CDS for this object.
transform(byte[], int) - Method in class is.logi.crypto.hash.MD5State.SubState
 
TriDESKey - class is.logi.crypto.keys.TriDESKey.
This is the class for triple-DES keys used in an EDE3 configuration.
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

uadd(int, int) - Static method in class is.logi.crypto.hash.MD5State.SubState
 
uadd(int, int, int) - Static method in class is.logi.crypto.hash.MD5State.SubState
 
uadd(int, int, int, int) - Static method in class is.logi.crypto.hash.MD5State.SubState
 
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 - exception is.logi.crypto.protocols.ValidationException.
This exception is thrown if data can't be validated, f.ex in VerifyStream.
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.DHKey
Verify a Signature on a Fingerprint with a public key.
verify(Signature, Fingerprint) - Method in interface is.logi.crypto.keys.SignatureKey
Verify a Signature on a Fingerprint.
verify(Signature, Fingerprint) - Method in class is.logi.crypto.keys.RSAKey
Verify a Signature on a Fingerprint with a public key.
VerifyStream - class is.logi.crypto.io.VerifyStream.
This InputStream reads the stream generated by a SignStream and verifies the embedded signatures.
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.

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

Copyright 1997-1999 Logi Ragnarsson