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.hi.logir.cryptonite.DecryptStream
Returns the number of bytes that can be read from this input stream without blocking.
available(). Method in class is.hi.logir.cryptonite.VerifyStream
Returns the number of bytes that can be read from this input stream without blocking.

B

binString(int). Static method in class is.hi.logir.cryptonite.Cryptonite
Return the content of a as a string of binary digits.
binString(long). Static method in class is.hi.logir.cryptonite.Cryptonite
Return the content of a as a string of binary digits.
BIT. Static variable in class is.hi.logir.cryptonite.Cryptonite
The binary digits "0" and "1".
blockSize(). Method in class is.hi.logir.cryptonite.FingerprintState
Return the number of bytes needed to make a valid hash.
blockSize(). Method in class is.hi.logir.cryptonite.MD5State
Return the number of bytes needed to make a valid hash.
blockSize(). Method in class is.hi.logir.cryptonite.SHA1State
Return the number of bytes needed to make a valid hash.
byFingerprint(Fingerprint). Method in class is.hi.logir.cryptonite.KeyRing
Return the key with the given fingerprint from the KeyRing if it is found.
byFingerprint(Fingerprint). Method in interface is.hi.logir.cryptonite.KeySource

C

CaesarKey(). Constructor for class is.hi.logir.cryptonite.CaesarKey
Create a new random Caesar key.
CaesarKey(byte). Constructor for class is.hi.logir.cryptonite.CaesarKey
Create a new Caesar key with the specified shift.
CaesarKey(String). Constructor for class is.hi.logir.cryptonite.CaesarKey
Called by Cryptonite.fromString(String) .
calculate(). Method in class is.hi.logir.cryptonite.FingerprintState
Return a fingerprint for the curret state, without destroying the state.
calculate(). Method in class is.hi.logir.cryptonite.MD5State
Return a Fingerprint for the curret state, without destroying the state.
calculate(). Method in class is.hi.logir.cryptonite.SHA1State
Return a Fingerprint for the curret state, without destroying the state.
cipherBlockSize(). Method in class is.hi.logir.cryptonite.CaesarKey
The block-size for the Caesar cipher is one byte.
cipherBlockSize(). Method in interface is.hi.logir.cryptonite.CipherKey
Returns the size of the blocks that can be decryptes in one call to decrypt().
cipherBlockSize(). Method in class is.hi.logir.cryptonite.DESKey
Return 8.
cipherBlockSize(). Method in class is.hi.logir.cryptonite.RSAKey
Returns the size of the blocks that can be decrypted in one call to decrypt().
cipherBlockSize(). Method in class is.hi.logir.cryptonite.TriDESKey
Return 8.
CipherStream(). Constructor for class is.hi.logir.cryptonite.CipherStream
CipherStreamClient(InputStream, OutputStream, InterKeyExClient, EncryptMode, DecryptMode). Constructor for class is.hi.logir.cryptonite.CipherStreamClient
Create a new object which uses kex to exchange keys with a remote server and then encrypt and decrypt to encrypt and decrypt the data to/from in and out.
CipherStreamServer(InputStream, OutputStream, InterKeyExServer, EncryptMode, DecryptMode). Constructor for class is.hi.logir.cryptonite.CipherStreamServer
Create a new object which uses kex to exchange keys with a remote client and then encrypt and decrypt to encrypt and decrypt the data to/from in and out.
close(). Method in class is.hi.logir.cryptonite.SignStream
create(byte[], int, int, String). Static method in class is.hi.logir.cryptonite.Fingerprint
Create a Fingerprint object for the data in buf[offset..offset+length-1] with the named fingerprint algorithm.
create(byte[], String). Static method in class is.hi.logir.cryptonite.Fingerprint
Create a Fingerprint object for the data in buf with the named fingerprint algorithm.
create(String). Static method in class is.hi.logir.cryptonite.FingerprintState
Create a FingerprintState object for the named fingerprint algorithm.
create(String, String). Static method in class is.hi.logir.cryptonite.Fingerprint
Create a Fingerprint object for the string s with the named fingerprint algorithm.
createDecrypt(String[], CipherKey, CipherKey). Static method in class is.hi.logir.cryptonite.test.TestMode
createEncrypt(String[], CipherKey, CipherKey). Static method in class is.hi.logir.cryptonite.test.TestMode
createKeys(BigInteger, BigInteger, BigInteger). Static method in class is.hi.logir.cryptonite.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.hi.logir.cryptonite.DHKey
Create a pair of public/private keys in a group with an n bit modulo.
createKeys(int). Static method in class is.hi.logir.cryptonite.RSAKey
Create a pair of public/private keys.
createKeys(String[]). Static method in class is.hi.logir.cryptonite.test.TestKey
createKeys(String[]). Static method in class is.hi.logir.cryptonite.test.TestMode
CryptoException(). Constructor for class is.hi.logir.cryptonite.CryptoException
Create a new CryptoException with no message.
CryptoException(String). Constructor for class is.hi.logir.cryptonite.CryptoException
Create a new CryptoException with the message msg.
Cryptonite(). Constructor for class is.hi.logir.cryptonite.Cryptonite
CryptoniteCorruptError(). Constructor for class is.hi.logir.cryptonite.CryptoniteCorruptError
Create a new CryptoniteCorruptError with no message.
CryptoniteCorruptError(String). Constructor for class is.hi.logir.cryptonite.CryptoniteCorruptError
Create a new CryptoniteCorruptError with the message msg.

D

decrypt(byte[], int, byte[], int). Method in class is.hi.logir.cryptonite.CaesarKey
Decrypt source[i] and put it dest[j].
decrypt(byte[], int, byte[], int). Method in interface is.hi.logir.cryptonite.CipherKey
Decrypt one block of data.
decrypt(byte[], int, byte[], int). Method in class is.hi.logir.cryptonite.DESKey
Decrypt one block of data.
decrypt(byte[], int, byte[], int). Method in class is.hi.logir.cryptonite.RSAKey
Decrypt a single block from source, starting at i, and write it to dest, starting at j.
decrypt(byte[], int, byte[], int). Method in class is.hi.logir.cryptonite.TriDESKey
Decrypt one block of data.
decrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.DecryptCBC
Decrypt length bytes from source, starting at i and return the plaintext.
decrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.DecryptCFB
Decrypt length bytes from source, starting at i and return the plaintext.
decrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.DecryptECB
Decrypt length bytes from source, starting at i and return the plaintext.
decrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.DecryptMode
Decrypt length bytes from source, starting at i and return the plaintext.
decrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.DecryptOFB
Decrypt length bytes from source, starting at i and return the plaintext.
DecryptCBC(). Constructor for class is.hi.logir.cryptonite.DecryptCBC
Create a new CBC-mode decrypt session with no key.
DecryptCBC(CipherKey). Constructor for class is.hi.logir.cryptonite.DecryptCBC
Create a new CBC-mode decrypt session with the specified key.
DecryptCFB(). Constructor for class is.hi.logir.cryptonite.DecryptCFB
Create a new CFB-mode decrypt session with no key.
DecryptCFB(CipherKey). Constructor for class is.hi.logir.cryptonite.DecryptCFB
Create a new CFB-mode decrypt session with the specified key.
DecryptECB(). Constructor for class is.hi.logir.cryptonite.DecryptECB
Create a new ECB-mode decrypt session with no key.
DecryptECB(CipherKey). Constructor for class is.hi.logir.cryptonite.DecryptECB
Create a new ECB-mode decrypt session with the specified key.
DecryptMode(). Constructor for class is.hi.logir.cryptonite.DecryptMode
DecryptOFB(CipherKey, int). Constructor for class is.hi.logir.cryptonite.DecryptOFB
Create a new OFB-mode decrypt session with the specified key.
DecryptOFB(int). Constructor for class is.hi.logir.cryptonite.DecryptOFB
Create a new OFB-mode decrypt session with no key.
DecryptStream(InputStream, NoninterKeyExServer, DecryptMode). Constructor for class is.hi.logir.cryptonite.DecryptStream
Create a new DecryptStream object which can be used to read data output from a DecryptStream object with similar parameters.
DESKey(). Constructor for class is.hi.logir.cryptonite.DESKey
Create a new random DES key.
DESKey(byte[]). Constructor for class is.hi.logir.cryptonite.DESKey
Create a new DES key with the key bits from key[0..7].
DESKey(long). Constructor for class is.hi.logir.cryptonite.DESKey
Create a new DES key with the key bits from key.
DESKey(String). Constructor for class is.hi.logir.cryptonite.DESKey
Called by Cryptonite.fromString(String) .
DHKey(BigInteger, BigInteger, BigInteger, boolean). Constructor for class is.hi.logir.cryptonite.DHKey
Create new Diffie-Hellman key for a in the group modulo m with generator g.
DHKey(int). Constructor for class is.hi.logir.cryptonite.DHKey
Create a random private DHKey with an n DHKeyExClient(DHKey, String). Constructor for class is.hi.logir.cryptonite.DHKeyExClient
Create a new DHKeyExClient object which uses the private DH key from pri.
DHKeyExClient(int, String). Constructor for class is.hi.logir.cryptonite.DHKeyExClient
Create a new DHKeyExClient object which uses an n bit modulus and the named key type.
DHKeyExNoninter(DHKey, DHKey, String). Constructor for class is.hi.logir.cryptonite.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.hi.logir.cryptonite.DHKeyExServer
Create a new DHKeyExServer object which uses the private DH key from pri.
DHKeyExServer(int, String). Constructor for class is.hi.logir.cryptonite.DHKeyExServer
Create a new DHKeyExClient object which uses an n bit modulus and the named key type.

E

encrypt(byte[], int, byte[], int). Method in class is.hi.logir.cryptonite.CaesarKey
Encrypt source[i] and put it dest[j].
encrypt(byte[], int, byte[], int). Method in interface is.hi.logir.cryptonite.CipherKey
Encrypt one block of data.
encrypt(byte[], int, byte[], int). Method in class is.hi.logir.cryptonite.DESKey
Encrypt one block of data.
encrypt(byte[], int, byte[], int). Method in class is.hi.logir.cryptonite.RSAKey
Encrypt a single block from source, starting at i, and write it to dest, starting at j.
encrypt(byte[], int, byte[], int). Method in class is.hi.logir.cryptonite.TriDESKey
Encrypt one block of data.
encrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.EncryptCBC
Encrypt length bytes from source, starting at i and return the ciphertext.
encrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.EncryptCFB
Encrypt length bytes from source, starting at i and return the ciphertext.
encrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.EncryptECB
Encrypt length bytes from source, starting at i and return the ciphertext.
encrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.EncryptMode
Encrypt length bytes from source, starting at i and return the ciphertext.
encrypt(byte[], int, int). Method in class is.hi.logir.cryptonite.EncryptOFB
Encrypt length bytes from source, starting at i and return the ciphertext.
EncryptCBC(). Constructor for class is.hi.logir.cryptonite.EncryptCBC
Create a new CBC-mode encrypt session with no key.
EncryptCBC(CipherKey). Constructor for class is.hi.logir.cryptonite.EncryptCBC
Create a new CBC-mode encrypt session with the specified key.
EncryptCFB(). Constructor for class is.hi.logir.cryptonite.EncryptCFB
Create a new CBF-mode encrypt session with no key.
EncryptCFB(CipherKey). Constructor for class is.hi.logir.cryptonite.EncryptCFB
Create a new CBF-mode encrypt session with the specified key.
EncryptECB(). Constructor for class is.hi.logir.cryptonite.EncryptECB
Create a new ECB-mode encrypt session with no key.
EncryptECB(CipherKey). Constructor for class is.hi.logir.cryptonite.EncryptECB
Create a new ECB-mode encrypt session with the specified key.
EncryptedKeyExClient(CipherKey, Key). Constructor for class is.hi.logir.cryptonite.EncryptedKeyExClient
EncryptedKeyExServer(CipherKey). Constructor for class is.hi.logir.cryptonite.EncryptedKeyExServer
EncryptMode(). Constructor for class is.hi.logir.cryptonite.EncryptMode
EncryptOFB(CipherKey, int). Constructor for class is.hi.logir.cryptonite.EncryptOFB
Create a new OFB-mode encrypt session with the specified key.
EncryptOFB(int). Constructor for class is.hi.logir.cryptonite.EncryptOFB
Create a new OFB-mode encrypt session with no key.
EncryptStream(OutputStream, NoninterKeyExClient, EncryptMode). Constructor for class is.hi.logir.cryptonite.EncryptStream
Create a new EncryptStream which writes encrypted data to out.
equal(byte[], byte[]). Static method in class is.hi.logir.cryptonite.Cryptonite
Return true iff the two array contain the same bytes.
equalRelaxed(byte[], byte[]). Static method in class is.hi.logir.cryptonite.Cryptonite
Return true iff the two arrays contain the same data, except possibly any number of zeroes from the front.
equals(Object). Method in class is.hi.logir.cryptonite.CaesarKey
Return true if the two keys are eqivalent.
equals(Object). Method in class is.hi.logir.cryptonite.DESKey
Return true iff this is equivalent to k.
equals(Object). Method in class is.hi.logir.cryptonite.DHKey
Return true if the two keys are eqivalent.
equals(Object). Method in class is.hi.logir.cryptonite.Fingerprint
return true if obj is a fingerprint equal to this.
equals(Object). Method in class is.hi.logir.cryptonite.RSAKey
Reutns trud iff this and key are equivalent.
equals(Object). Method in class is.hi.logir.cryptonite.TriDESKey
Return true iff this is equivalent to k.

F

Fingerprint(String). Constructor for class is.hi.logir.cryptonite.Fingerprint
Called by Cryptonite.fromString(String) .
Fingerprint(String, byte[]). Constructor for class is.hi.logir.cryptonite.Fingerprint
Creates a new Fingerprint object with the given algorithm name and the hash value from fp.
Fingerprint(String, byte[], int). Constructor for class is.hi.logir.cryptonite.Fingerprint
Creates a new Fingerprint object with the given algorithm name and the hash value from fp[0..n-1].
FingerprintState(). Constructor for class is.hi.logir.cryptonite.FingerprintState
flush(). Method in class is.hi.logir.cryptonite.DecryptOFB
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.hi.logir.cryptonite.EncryptCBC
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.hi.logir.cryptonite.EncryptCFB
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.hi.logir.cryptonite.EncryptECB
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.hi.logir.cryptonite.EncryptMode
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.hi.logir.cryptonite.EncryptOFB
Padds the internal buffer, encrypts it and returns the ciphertext.
flush(). Method in class is.hi.logir.cryptonite.EncryptStream
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
flush(). Method in class is.hi.logir.cryptonite.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.hi.logir.cryptonite.EncryptMode
This has the same effect as calling encrypt(source,i,length) followed by flush().
fromHexNibble(char). Static method in class is.hi.logir.cryptonite.Cryptonite
Return te number choresponding to the four-bix hexadecimal nibble in n.
fromHexString(String). Static method in class is.hi.logir.cryptonite.Cryptonite
Return the array of bytes describet by the hexadecimal string hex.
fromString(Reader). Static method in class is.hi.logir.cryptonite.Cryptonite
Parse the given Cipher Description String (CDS).
fromString(String). Static method in class is.hi.logir.cryptonite.Cryptonite
Parse the given Cipher Description String (CDS).

G

getAlgorithm(). Method in class is.hi.logir.cryptonite.CaesarKey
Return the name of the algorithm used by this key.
getAlgorithm(). Method in class is.hi.logir.cryptonite.DESKey
Return "DES".
getAlgorithm(). Method in class is.hi.logir.cryptonite.DHKey
Return the name of the algorithm used by this key.
getAlgorithm(). Method in class is.hi.logir.cryptonite.K
Return the name of the algorithm used by this key.
getAlgorithm(). Method in interface is.hi.logir.cryptonite.Key
Return the name of the algorithm used by this key.
getAlgorithm(). Method in class is.hi.logir.cryptonite.RSAKey
Return "RSA"
getAlgorithm(). Method in class is.hi.logir.cryptonite.TriDESKey
Return "TriDES".
getBytes(). Method in class is.hi.logir.cryptonite.Fingerprint
Return an array of the bytes in the fingerprint.
getBytes(). Method in class is.hi.logir.cryptonite.Signature
Return the bytes from this signature.
getDecryptKey(). Method in class is.hi.logir.cryptonite.CipherStream
Get the key used for decryption.
getEncryptKey(). Method in class is.hi.logir.cryptonite.CipherStream
Get the key used for encryption.
getFingerprint(). Method in class is.hi.logir.cryptonite.K
Return the key's SHA1 fingerprint.
getFingerprint(). Method in interface is.hi.logir.cryptonite.Key
Return the key's SHA1 fingerprint.
getFingerprint(). Method in class is.hi.logir.cryptonite.KeyRecord
Return the SHA1 fingerprint of this KeyRecord.
getFingerprintAlgorithm(). Method in class is.hi.logir.cryptonite.Signature
Return the name of the algorithm used to fingerprint the data before signing.
getG(). Method in class is.hi.logir.cryptonite.DHKey
Return the generator for this key.
getGenerator(BigInteger). Static method in class is.hi.logir.cryptonite.DHKey
Returns the smallest number g > 1 with gcd(g,m)=1.
getInputStream(). Method in class is.hi.logir.cryptonite.CipherStream
Get the encrypted input-stream.
getKey(). Method in class is.hi.logir.cryptonite.DecryptCBC
Return the key used for decryption.
getKey(). Method in class is.hi.logir.cryptonite.DecryptCFB
Return the key used for decryption.
getKey(). Method in class is.hi.logir.cryptonite.DecryptECB
Return the key used for decryption.
getKey(). Method in class is.hi.logir.cryptonite.DecryptMode
Return the key used for encryption.
getKey(). Method in class is.hi.logir.cryptonite.DecryptOFB
Return the key used for encryption.
getKey(). Method in class is.hi.logir.cryptonite.DESKey
Return the key-bits for this key as an array of 8 bytes.
getKey(). Method in class is.hi.logir.cryptonite.DHKey
Return the BigInteger representing this key.
getKey(). Method in class is.hi.logir.cryptonite.EncryptCBC
Return the key used for encryption.
getKey(). Method in class is.hi.logir.cryptonite.EncryptCFB
Return the key used for encryption.
getKey(). Method in class is.hi.logir.cryptonite.EncryptECB
Return the key used for encryption.
getKey(). Method in class is.hi.logir.cryptonite.EncryptMode
Return the key used for encryption.
getKey(). Method in class is.hi.logir.cryptonite.EncryptOFB
Return the key used for encryption.
getKey(). Method in class is.hi.logir.cryptonite.KeyRecord
Return the actual key from this record.
getKey(). Method in class is.hi.logir.cryptonite.TriDESKey
Return the key-bits for this key as an array of 24 bytes.
getKeyPrint(). Method in class is.hi.logir.cryptonite.Signature
Return the fingerprint of the key used to verify this signature.
getM(). Method in class is.hi.logir.cryptonite.DHKey
Return the modulus for this key.
getModulus(int). Static method in class is.hi.logir.cryptonite.DHKey
Return the largest prime p < 2^n such that (p-1)/2 is prime.
getName(). Method in class is.hi.logir.cryptonite.Fingerprint
Return the name of the algorithm used for this fingerprint.
getName(). Method in class is.hi.logir.cryptonite.FingerprintState
Return the name of the algorithm used by this FingerprintState object.
getName(). Method in class is.hi.logir.cryptonite.MD5State
Return "MD5".
getName(). Method in class is.hi.logir.cryptonite.SHA1State
Return "SHA1".
getNotes(). Method in class is.hi.logir.cryptonite.KeyRecord
Return the notes about this key.
getOutputStream(). Method in class is.hi.logir.cryptonite.CipherStream
Get the encrypted output-stream.
getOwnerMail(). Method in class is.hi.logir.cryptonite.KeyRecord
Return the e-mail address of the key's owner.
getOwnerName(). Method in class is.hi.logir.cryptonite.KeyRecord
Return the name of the key's owner.
getPrivate(). Method in class is.hi.logir.cryptonite.KeyPair
Return the private key from the pair.
getPublic(). Method in class is.hi.logir.cryptonite.DHKey
Return the BigInteger representing the public key from the pair.
getPublic(). Method in class is.hi.logir.cryptonite.KeyPair
Return the public key from the pair.
getSignatures(). Method in class is.hi.logir.cryptonite.KeyRecord
Returns the Vector holding the signatures contained in this record.
getSize(). Method in class is.hi.logir.cryptonite.CaesarKey
Return the size of the key in bits.
getSize(). Method in class is.hi.logir.cryptonite.DESKey
Return 56
getSize(). Method in class is.hi.logir.cryptonite.DHKey
Return the "size" of the key.
getSize(). Method in class is.hi.logir.cryptonite.K
Return the "size" of the key.
getSize(). Method in interface is.hi.logir.cryptonite.Key
Return the "size" of the key.
getSize(). Method in class is.hi.logir.cryptonite.RSAKey
Return the size of the key modulo in bits.
getSize(). Method in class is.hi.logir.cryptonite.TriDESKey
Return 168

H

hashCode(). Method in class is.hi.logir.cryptonite.Fingerprint
Return a hash-code based on the bytes of the fingerprint and the algorithm name.
hashCode(). Method in class is.hi.logir.cryptonite.K
Return a hash-code based on the keys SHA1 fingerprint.
hashCode(). Method in interface is.hi.logir.cryptonite.Key
Return a hash-code based on the keys SHA1 fingerprint.
hashSize(). Method in class is.hi.logir.cryptonite.FingerprintState
Returns the size of a fingerprint in bytes.
hashSize(). Method in class is.hi.logir.cryptonite.MD5State
Returns the size of a fingerprint in bytes.
hashSize(). Method in class is.hi.logir.cryptonite.SHA1State
Returns the size of a fingerprint in bytes.
help(). Static method in class is.hi.logir.cryptonite.test.TestCliSer
help(). Static method in class is.hi.logir.cryptonite.test.TestKey
help(). Static method in class is.hi.logir.cryptonite.test.TestMode
hexString(byte). Static method in class is.hi.logir.cryptonite.Cryptonite
Return the content of a as a string of hexadecimal digits.
hexString(byte[]). Static method in class is.hi.logir.cryptonite.Cryptonite
Return the content of buf as a string of hexadecimal digits.
hexString(int). Static method in class is.hi.logir.cryptonite.Cryptonite
Return the content of a as a string of hexadecimal digits.
hexString(long). Static method in class is.hi.logir.cryptonite.Cryptonite
Return the content of a as a string of hexadecimal digits.

I

insert(Key). Method in class is.hi.logir.cryptonite.KeyRing
Insert the Key k into the KeyRing.
insert(KeyRecord). Method in class is.hi.logir.cryptonite.KeyRing
Insert the KeyRecord k into the KeyRing.
InvalidCDSException(). Constructor for class is.hi.logir.cryptonite.InvalidCDSException
Create a new InvalidCDSException with no message.
InvalidCDSException(String). Constructor for class is.hi.logir.cryptonite.InvalidCDSException
Create a new InvalidCDSException with the message msg.
isPrivate(). Method in class is.hi.logir.cryptonite.DHKey
Returns true iff this is a private key.
isPrivate(). Method in class is.hi.logir.cryptonite.K
Returns true iff this is a private key.
isPrivate(). Method in interface is.hi.logir.cryptonite.Key
Returns true iff this is a private key.
isPrivate(). Method in class is.hi.logir.cryptonite.RSAKey
Return true iff this is a private key.
isPrivate(). Method in class is.hi.logir.cryptonite.SymmetricKey
Returns true iff this is a private key.
isRandom(). Static method in class is.hi.logir.cryptonite.RandomSpinner
Test randomness.

K

K(). Constructor for class is.hi.logir.cryptonite.K
KeyException(). Constructor for class is.hi.logir.cryptonite.KeyException
Create a new KeyException with no message.
KeyException(String). Constructor for class is.hi.logir.cryptonite.KeyException
Create a new KeyException with the message msg.
KeyPair(Key, Key). Constructor for class is.hi.logir.cryptonite.KeyPair
Create a new KeyPair holder.
KeyRecord(Key, String, String, String). Constructor for class is.hi.logir.cryptonite.KeyRecord
Create a new KeyRecord for key which supposedly belongs to ownerName who has e-mail adress ownerMail.
KeyRecord(String). Constructor for class is.hi.logir.cryptonite.KeyRecord
Parse a KeyRecord from String.
KeyRing(). Constructor for class is.hi.logir.cryptonite.KeyRing
Create empty key ring.
KeyRing(String). Constructor for class is.hi.logir.cryptonite.KeyRing
Called by Cryptonite.fromString(String) .
keySource. Static variable in class is.hi.logir.cryptonite.Cryptonite
The object used to store and retrieve keys.

M

main(String[]). Static method in class is.hi.logir.cryptonite.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.hi.logir.cryptonite.test.TestCliSer
main(String[]). Static method in class is.hi.logir.cryptonite.test.TestKey
Run with argument DES, TriDES, RSA or Caesar.
main(String[]). Static method in class is.hi.logir.cryptonite.test.TestMode
Run with arguments DES, TriDES, RSA or Caesar and ECB, CBC, CFB or OFB.
main(String[]). Static method in class is.hi.logir.cryptonite.test.TestRandom
main(String[]). Static method in class is.hi.logir.cryptonite.test.TestSign
makeLong(byte[], int, int). Static method in class is.hi.logir.cryptonite.Cryptonite
Collect the bits from buf[i..i+length-1] into a long.
makeSessionKey(String, byte[]). Static method in class is.hi.logir.cryptonite.Cryptonite
markSupported(). Method in class is.hi.logir.cryptonite.DecryptStream
Returns false.
markSupported(). Method in class is.hi.logir.cryptonite.VerifyStream
Returns false.
matches(Key). Method in class is.hi.logir.cryptonite.DHKey
Returns true if this and key are a matched pair of public/private keys or the same symmetric key.
matches(Key). Method in class is.hi.logir.cryptonite.K
Returns true if this and key are a matched pair of public/private keys or the same symmetric key.
matches(Key). Method in interface is.hi.logir.cryptonite.Key
Returns true if this and key are a matched pair of public/private keys or the same symmetric key.
matches(Key). Method in class is.hi.logir.cryptonite.RSAKey
Returns true if this and key are a matched pair of public/private keys.
matches(Key). Method in class is.hi.logir.cryptonite.SymmetricKey
Returns true if this and key are a matched pair of public/private keys or the same symmetric key.
matches(Signature, Fingerprint). Method in class is.hi.logir.cryptonite.RSAKey
Return true iff s is a signature for fp created with this key in the case of a symmetric key, or the other key in the pair in the case of an asymmetric key.
matches(Signature, Fingerprint). Method in interface is.hi.logir.cryptonite.SignatureKey
Return true iff s is a signature for fp created with this key in the case of a symmetric key, or the other key in the pair in the case of an asymmetric key.
matchFingerprint(). Method in class is.hi.logir.cryptonite.K
Returns the fingerprint of the matching key in the key-pair.
matchFingerprint(). Method in interface is.hi.logir.cryptonite.Key
Returns the fingerprint of the matching key in the key-pair.
MD5State(). Constructor for class is.hi.logir.cryptonite.MD5State
Create a new clear MD5State.
message(byte[]). Method in class is.hi.logir.cryptonite.DHKeyExClient
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.hi.logir.cryptonite.DHKeyExNoninter
Never called, since no messages are needed for this 'protocol'.
message(byte[]). Method in class is.hi.logir.cryptonite.DHKeyExServer
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.hi.logir.cryptonite.EncryptedKeyExClient
Return the message to send to the server.
message(byte[]). Method in class is.hi.logir.cryptonite.EncryptedKeyExServer
Rceive a message from the client.
message(byte[]). Method in interface is.hi.logir.cryptonite.InterKeyExClient
Get the next message in the protocol.
message(byte[]). Method in interface is.hi.logir.cryptonite.InterKeyExServer
Get the next message in the protocol.
message(byte[]). Method in class is.hi.logir.cryptonite.SendHashKeyExClient
Return the message to send to the server.
message(byte[]). Method in class is.hi.logir.cryptonite.SendHashKeyExServer
Receive the message from the client.

N

NIBBLE. Static variable in class is.hi.logir.cryptonite.Cryptonite
The hexadecimal digits "0" through "f".

P

pastSpace(Reader). Static method in class is.hi.logir.cryptonite.Cryptonite
Read characters from t until a non-space character is reached and return that character.
pickBits(int, byte[]). Static method in class is.hi.logir.cryptonite.Cryptonite
Construct an int by picking bits from a.
pickBits(long, byte[]). Static method in class is.hi.logir.cryptonite.Cryptonite
Construct an long by picking bits from a.
plainBlockSize(). Method in class is.hi.logir.cryptonite.CaesarKey
The block-size for the Caesar cipher is one byte.
plainBlockSize(). Method in interface is.hi.logir.cryptonite.CipherKey
Returns the size of the blocks that can be encrypted in one call to encrypt().
plainBlockSize(). Method in class is.hi.logir.cryptonite.DESKey
Return 8.
plainBlockSize(). Method in class is.hi.logir.cryptonite.RSAKey
Returns the size of the blocks that can be encrypted in one call to encrypt().
plainBlockSize(). Method in class is.hi.logir.cryptonite.TriDESKey
Return 8.
prettyCDS(String). Static method in class is.hi.logir.cryptonite.Cryptonite
Returns a nicely formated version of the CDS.
primeCertainty. Static variable in class is.hi.logir.cryptonite.Cryptonite
We allow a chance of 0.5**primeCertainty chance that the primes we generate are in fact composite numbers.
printKeys(Key, Key). Static method in class is.hi.logir.cryptonite.test.TestKey
ProtocolException(). Constructor for class is.hi.logir.cryptonite.ProtocolException
Create a new ProtocolException with no message.
ProtocolException(String). Constructor for class is.hi.logir.cryptonite.ProtocolException
Create a new ProtocolException with the message msg.

R

random. Static variable in class is.hi.logir.cryptonite.Cryptonite
random is used by descendants of this class to generate random numbers.
RandomFromReader(Reader). Constructor for class is.hi.logir.cryptonite.RandomFromReader
RandomSpinner(). Constructor for class is.hi.logir.cryptonite.RandomSpinner
read(). Method in class is.hi.logir.cryptonite.DecryptStream
Reads the next byte of data from this input stream.
read(). Method in class is.hi.logir.cryptonite.VerifyStream
Reads the next byte of data from this input stream.
read(byte[], int, int). Method in class is.hi.logir.cryptonite.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.hi.logir.cryptonite.VerifyStream
Reads up to len bytes of data from this input stream into an array of bytes.
readInt(InputStream). Static method in class is.hi.logir.cryptonite.Cryptonite
Read an integer from in in bigendian order.
reset(). Method in class is.hi.logir.cryptonite.FingerprintState
Reset the state.
reset(). Method in class is.hi.logir.cryptonite.MD5State
Reset the object.
reset(). Method in class is.hi.logir.cryptonite.SHA1State
Reset the object.
RSAKey(BigInteger, BigInteger, boolean). Constructor for class is.hi.logir.cryptonite.RSAKey
Create a new RSA key (r,n).
RSAKey(String). Constructor for class is.hi.logir.cryptonite.RSAKey
Called by Cryptonite.fromString(String) .

S

SendHashKeyExClient(Key). Constructor for class is.hi.logir.cryptonite.SendHashKeyExClient
Create a new SendHashKeyEx with the Key k.
SendHashKeyExServer(). Constructor for class is.hi.logir.cryptonite.SendHashKeyExServer
Create a new SendHashKeyExServer.
sessionKey(). Method in interface is.hi.logir.cryptonite.InterKeyExClient
Returns the key if it has been decided upon, or null otherwise.
sessionKey(). Method in interface is.hi.logir.cryptonite.InterKeyExServer
Returns the key if it has been decided upon, or null otherwise.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.DecryptCBC
Set the key to use for decryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.DecryptCFB
Set the key to use for decryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.DecryptECB
Set the key to use for decryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.DecryptMode
Set the key to use for decryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.DecryptOFB
Set the key to use for encryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.EncryptCBC
Set the key to use for encryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.EncryptCFB
Set the key to use for encryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.EncryptECB
Set the key to use for encryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.EncryptMode
Set the key to use for encryption.
setKey(CipherKey). Method in class is.hi.logir.cryptonite.EncryptOFB
Set the key to use for encryption.
SHA1State(). Constructor for class is.hi.logir.cryptonite.SHA1State
Create a new clear SHA1State.
sign(Fingerprint). Method in class is.hi.logir.cryptonite.RSAKey
Create a signature for the fingerprint fp.
sign(Fingerprint). Method in interface is.hi.logir.cryptonite.SignatureKey
Create a signature for the fingerprint fp.
sign(SignatureKey). Method in class is.hi.logir.cryptonite.KeyRecord
Signature(byte[], String, Fingerprint). Constructor for class is.hi.logir.cryptonite.Signature
Create a new Signature object for the signature s which was generated from a fingerprint using the specified algorithm.
signatureSize(). Method in class is.hi.logir.cryptonite.RSAKey
Returns the length of the signature in bytes.
signatureSize(). Method in interface is.hi.logir.cryptonite.SignatureKey
Returns the length of the signature in bytes.
signBlockSize(). Method in class is.hi.logir.cryptonite.RSAKey
Returns the maximum size in bytes of the fingerprint that can be signed.
signBlockSize(). Method in interface is.hi.logir.cryptonite.SignatureKey
Returns the maximum size in bytes of the fingerprint that can be signed.
SignStream(OutputStream, int, SignatureKey, FingerprintState). Constructor for class is.hi.logir.cryptonite.SignStream
Creates a new SignStream with out as its underlying stream.
skip(long). Method in class is.hi.logir.cryptonite.DecryptStream
Skips over and discards n bytes of data from the input stream.
skip(long). Method in class is.hi.logir.cryptonite.VerifyStream
Skips over and discards n bytes of data from the input stream.
SymmetricKey(). Constructor for class is.hi.logir.cryptonite.SymmetricKey

T

test(EncryptMode, DecryptMode). Static method in class is.hi.logir.cryptonite.test.TestMode
TestCDS(). Constructor for class is.hi.logir.cryptonite.test.TestCDS
testCDS(Key, Key). Static method in class is.hi.logir.cryptonite.test.TestKey
TestCliSer(). Constructor for class is.hi.logir.cryptonite.test.TestCliSer
testCrypt(CipherKey, CipherKey). Static method in class is.hi.logir.cryptonite.test.TestKey
TestKey(). Constructor for class is.hi.logir.cryptonite.test.TestKey
TestMode(). Constructor for class is.hi.logir.cryptonite.test.TestMode
TestRandom(). Constructor for class is.hi.logir.cryptonite.test.TestRandom
TestSign(). Constructor for class is.hi.logir.cryptonite.test.TestSign
testSign(SignatureKey, SignatureKey). Static method in class is.hi.logir.cryptonite.test.TestKey
toString(). Method in class is.hi.logir.cryptonite.CaesarKey
Return a CDS for this key.
toString(). Method in class is.hi.logir.cryptonite.DESKey
Return a CDS for this key.
toString(). Method in class is.hi.logir.cryptonite.DHKey
Return a CDS for this key.
toString(). Method in class is.hi.logir.cryptonite.Fingerprint
Return a CDS for this fingerprint.
toString(). Method in class is.hi.logir.cryptonite.KeyPair
toString(). Method in class is.hi.logir.cryptonite.KeyRecord
Return a CDS for this KeyRecord.
toString(). Method in class is.hi.logir.cryptonite.KeyRing
Return a CDS for this KeyRing.
toString(). Method in class is.hi.logir.cryptonite.RSAKey
Return a CDS for this key.
toString(). Method in class is.hi.logir.cryptonite.Signature
Return a CDS for this object.
toString(). Method in class is.hi.logir.cryptonite.TriDESKey
Return a CDS for this key.
TriDESKey(). Constructor for class is.hi.logir.cryptonite.TriDESKey
Create a new random triple-DES key.
TriDESKey(byte[]). Constructor for class is.hi.logir.cryptonite.TriDESKey
Create a new triple-DES key with the key bits from key[0..23].
TriDESKey(String). Constructor for class is.hi.logir.cryptonite.TriDESKey
Called by Cryptonite.fromString(String) .

U

update(byte[]). Method in class is.hi.logir.cryptonite.FingerprintState
Update the fingerprint state with the bytes from buf.
update(byte[], int, int). Method in class is.hi.logir.cryptonite.FingerprintState
Update the fingerprint state with the bytes from buf[offset, offset+length-1].
update(byte[], int, int). Method in class is.hi.logir.cryptonite.MD5State
Update the fingerprint state with the bytes from buf[offset, offset+length-1].
update(byte[], int, int). Method in class is.hi.logir.cryptonite.SHA1State
Update the fingerprint state with the bytes from buf[offset, offset+length-1].
update(String). Method in class is.hi.logir.cryptonite.FingerprintState
Update the fingerprint state with the characters from s.

V

ValidationException(). Constructor for class is.hi.logir.cryptonite.ValidationException
Create a new ValidationException with no message.
ValidationException(String). Constructor for class is.hi.logir.cryptonite.ValidationException
Create a new ValidationException with the message msg.
VerifyStream(InputStream, int, SignatureKey, FingerprintState). Constructor for class is.hi.logir.cryptonite.VerifyStream
Create a new VerifyStream object which matches the SignStream object with the same blockSize and fs and with the key that matches key

W

write(byte[], int, int). Method in class is.hi.logir.cryptonite.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.hi.logir.cryptonite.SignStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(int). Method in class is.hi.logir.cryptonite.EncryptStream
Writes the specified byte to this output stream.
write(int). Method in class is.hi.logir.cryptonite.SignStream
Writes the specified byte to this output stream.
writeBytes(long, byte[], int, int). Static method in class is.hi.logir.cryptonite.Cryptonite
Write the bytes from a into dest[i..i+length-1].
writeInt(OutputStream, int). Static method in class is.hi.logir.cryptonite.Cryptonite
Write x to out in bigendian order.