JXTA
A C D E G H I J K M N P R S T U V

A

ALG_MD5 - Static variable in interface jxta.security.hash.Hash
 
ALG_NULL - Static variable in interface jxta.security.hash.Hash
 
ALG_NULL - Static variable in interface jxta.security.mac.MAC
 
ALG_NULL - Static variable in interface jxta.security.signature.Signature
 
ALG_PSEUDO_RANDOM - Static variable in interface jxta.security.random.RandomData
 
ALG_RC4 - Static variable in interface jxta.security.cipher.Cipher
 
ALG_RC4_MD5 - Static variable in interface jxta.security.mac.MAC
 
ALG_RC4_SHA1 - Static variable in interface jxta.security.mac.MAC
 
ALG_RSA_MD5_PKCS1 - Static variable in interface jxta.security.signature.Signature
 
ALG_RSA_SHA_PKCS1 - Static variable in interface jxta.security.signature.Signature
 
ALG_SECURE_RANDOM - Static variable in interface jxta.security.random.RandomData
 
ALG_SHA1 - Static variable in interface jxta.security.hash.Hash
 
Algorithm(byte[], int, int, byte, boolean) - Method in interface jxta.security.publickey.PublicKeyAlgorithm
The Algorithm: Encrypt | decrypt, encrypt == true | false

C

Ciper - Static variable in interface jxta.security.cipher.Cipher
 
Cipher - interface jxta.security.cipher.Cipher.
 
clearDebug() - Method in interface jxta.security.util.Description
 
clearDebug() - Static method in class jxta.security.util.URLBase64
 
clearKey() - Method in interface jxta.security.cipher.Key
// clears a key
clone() - Method in interface jxta.security.hash.Hash
 
CryptoException - exception jxta.security.exceptions.CryptoException.
 
CryptoException(short) - Constructor for class jxta.security.exceptions.CryptoException
Constructs a CryptoException with the specified reason code.

D

decode(byte[], int, int) - Static method in class jxta.security.util.URLBase64
Base 64 decode the input byte array into
Description - interface jxta.security.util.Description.
 
doFinal(byte[], int, int, byte[], int) - Method in interface jxta.security.cipher.Cipher
Generate encrypted/decrypted output for all | last input data
doFinal(byte[], int, int, byte[], int) - Method in interface jxta.security.hash.Hash
Called to has the final byte array of input data

E

encode(byte[]) - Static method in class jxta.security.util.URLBase64
Base 64 encode the input byte array
encrypt(byte[], int, int, byte[], int) - Method in interface jxta.security.mac.MAC
Encrypts the digest after updating the last buffer of data (may be the only buffer)
equals(RSAPrivateKey) - Method in interface jxta.security.publickey.RSAPrivateKey
 
equals(RSAPublicKey) - Method in interface jxta.security.publickey.RSAPublicKey
 

G

generateData(byte[], short, short) - Method in interface jxta.security.random.RandomData
gnerates random data in buffer of length at offset
getAlgorithm() - Method in interface jxta.security.cipher.Cipher
// return the algorithm used
getAlgorithm() - Method in interface jxta.security.hash.Hash
 
getAlgorithm() - Method in interface jxta.security.mac.MAC
return algorithm type value
getAlgorithm() - Method in interface jxta.security.signature.Signature
return algorithm type value
getAlgorithmName() - Method in interface jxta.security.mac.MAC
return algorithm name as a String
getAlgorithmName() - Method in interface jxta.security.signature.Signature
return algorithm name as a String
getAlgorithmName() - Method in interface jxta.security.util.Description
 
getCrtCoefficient() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getCrtCoefficient(byte[], int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
getCrtCoefficientLength() - Method in interface jxta.security.publickey.RSAPrivateKey
 
getCrtCoefficientLength() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getDigestLength() - Method in interface jxta.security.hash.Hash
 
getEncryptionBlockLength() - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
getJxtaCipher() - Method in interface jxta.security.crypto.JxtaCrypto
 
getJxtaCipher(byte) - Method in interface jxta.security.crypto.JxtaCrypto
 
getJxtaHash() - Method in interface jxta.security.crypto.JxtaCrypto
 
getJxtaHash(byte) - Method in interface jxta.security.crypto.JxtaCrypto
 
getJxtaKeyExchange() - Method in interface jxta.security.crypto.JxtaCrypto
 
getJxtaMAC() - Method in interface jxta.security.crypto.JxtaCrypto
 
getJxtaPublicKeyAlgorithm() - Method in interface jxta.security.crypto.JxtaCrypto
 
getJxtaSignature() - Method in interface jxta.security.crypto.JxtaCrypto
 
getLength() - Method in interface jxta.security.cipher.Key
// Returns the key length in bytes
getLength() - Method in interface jxta.security.mac.MAC
get the length of the MAC
getMaxInputDataBlockLength() - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
getModulus() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getModulus() - Method in class jxta.security.publickey.RSAPublickeyData
 
getModulus(byte[], int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
getModulus(byte[], int) - Method in interface jxta.security.publickey.RSAPublicKey
 
getModulusLength() - Method in interface jxta.security.publickey.RSAPrivateKey
 
getModulusLength() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getModulusLength() - Method in interface jxta.security.publickey.RSAPublicKey
 
getModulusLength() - Method in class jxta.security.publickey.RSAPublickeyData
 
getNextOption() - Method in class jxta.security.util.GetOpt
Returns the next valid option.
getNextOptionIndex() - Method in class jxta.security.util.GetOpt
Returns how many arguments are already processed by the getNextOption() function.
GetOpt - class jxta.security.util.GetOpt.
This class provides the functionality for parsing command line arguments (similar to getopt(3C)).
GetOpt(String[], String) - Constructor for class jxta.security.util.GetOpt
Constructor
getOptionArg() - Method in class jxta.security.util.GetOpt
Returns the argument for the option being handled.
getPrimeExponentP() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrimeExponentP(byte[], int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrimeExponentPLength() - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrimeExponentPLength() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrimeExponentQ() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrimeExponentQ(byte[], int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrimeExponentQLength() - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrimeExponentQLength() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrimeP() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrimeP(byte[], int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrimePLength() - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrimePLength() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrimeQ() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrimeQ(byte[], int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrimeQLength() - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrimeQLength() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrivateExponent(byte[], int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrivateExponentD() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getprivateExponentDLength() - Method in class jxta.security.publickey.RSAPrivatekeyData
 
getPrivateExponentLength() - Method in interface jxta.security.publickey.RSAPrivateKey
 
getPrivatekey() - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
getPublicExponent() - Method in class jxta.security.publickey.RSAPublickeyData
 
getPublicExponent(byte[], int) - Method in interface jxta.security.publickey.RSAPublicKey
 
getPublicExponentLength() - Method in interface jxta.security.publickey.RSAPublicKey
Their byte lengths are also required
getPublicExponentLength() - Method in class jxta.security.publickey.RSAPublickeyData
 
getPublickey() - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
getSize() - Method in interface jxta.security.cipher.Key
// Returns the key size in bits
getType() - Method in interface jxta.security.cipher.Key
// Returns the key interface type: EG RC4

H

Hash - interface jxta.security.hash.Hash.
 
hexEncode(byte[]) - Static method in class jxta.security.util.Util
Byte array to hex ascii string
hexEncode(byte[], short) - Static method in class jxta.security.util.Util
Byte array to hex ascii string with buffer offset
hexEncode(byte[], short, short) - Static method in class jxta.security.util.Util
nbytes of byte array to hex ascii string with buffer offset

I

ILLEGAL_USE - Static variable in class jxta.security.exceptions.CryptoException
Indicates illegal use of a method
ILLEGAL_VALUE - Static variable in class jxta.security.exceptions.CryptoException
Indicates a method was passed illegal parameter values
init(byte) - Method in interface jxta.security.signature.Signature
initialize the Signature object behaviour
init(byte, Key, byte[]) - Method in interface jxta.security.mac.MAC
initialize the MAC object behaviour
init(Key, byte) - Method in interface jxta.security.cipher.Cipher
Initiate Cipher object with key.
init(Key, byte, byte[], int, int) - Method in interface jxta.security.cipher.Cipher
Initiate the instance of Cipher with the right key, parameters, etc ...
INVALID_INIT - Static variable in class jxta.security.exceptions.CryptoException
Indicates an object has not been properly initilaized for the requested operation.
INVALID_RSA_DATALENGTH - Static variable in class jxta.security.exceptions.CryptoException
 
INVALID_RSA_INIT - Static variable in class jxta.security.exceptions.CryptoException
Must set RSA public key before setting RSA Private key
INVALID_RSA_PADDING - Static variable in class jxta.security.exceptions.CryptoException
Must set RSA public key before setting RSA Private key
isInitialized() - Method in interface jxta.security.cipher.Key
Returns initialized state.

J

JxtaCrypto - interface jxta.security.crypto.JxtaCrypto.
 

K

Key - interface jxta.security.cipher.Key.
 
KeyExchange - interface jxta.security.keyexchange.KeyExchange.
 

M

MAC - interface jxta.security.mac.MAC.
 
MEMBER_MD5 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
MEMBER_RC4 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
MEMBER_RSA - Static variable in interface jxta.security.crypto.JxtaCrypto
 
MEMBER_SHA1 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
MODE_DECRYPT - Static variable in interface jxta.security.cipher.Cipher
 
MODE_ENCRYPT - Static variable in interface jxta.security.cipher.Cipher
 
MODE_ENCRYPT - Static variable in interface jxta.security.mac.MAC
 
MODE_SIGN - Static variable in interface jxta.security.signature.Signature
 
MODE_UNKNOWN - Static variable in interface jxta.security.cipher.Cipher
 
MODE_VERIFY - Static variable in interface jxta.security.mac.MAC
 
MODE_VERIFY - Static variable in interface jxta.security.signature.Signature
 

N

name - Static variable in interface jxta.security.crypto.JxtaCrypto
 
name - Static variable in interface jxta.security.hash.Hash
 
name - Static variable in interface jxta.security.keyexchange.KeyExchange
 
name - Static variable in interface jxta.security.mac.MAC
 
name - Static variable in interface jxta.security.publickey.PublicKeyAlgorithm
 
name - Static variable in interface jxta.security.publickey.RSAPrivateKey
 
name - Static variable in interface jxta.security.publickey.RSAPublicKey
 
name - Static variable in interface jxta.security.signature.Signature
 
nCiphers - Static variable in interface jxta.security.crypto.JxtaCrypto
 
nDigests - Static variable in interface jxta.security.crypto.JxtaCrypto
 
nMacs - Static variable in interface jxta.security.crypto.JxtaCrypto
 
NO_SUCH_ALGORITHM - Static variable in class jxta.security.exceptions.CryptoException
Indicates that a requested algorithm or key type is not supported.
NOT_IMPLEMENTED - Static variable in class jxta.security.exceptions.CryptoException
Flags a method as not yet implemented

P

PROFILE_RC4_MD5 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
PROFILE_RC4_SHA1 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
PROFILE_RSA_MD5 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
PROFILE_RSA_RC4_MD5 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
PROFILE_RSA_RC4_SHA1 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
PROFILE_RSA_RC4_SHA1_MD5 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
PROFILE_RSA_SHA1 - Static variable in interface jxta.security.crypto.JxtaCrypto
 
PublicKeyAlgorithm - interface jxta.security.publickey.PublicKeyAlgorithm.
 

R

RandomData - interface jxta.security.random.RandomData.
 
reset() - Method in interface jxta.security.hash.Hash
 
reset() - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
RSAPrivateKey - interface jxta.security.publickey.RSAPrivateKey.
 
RSAPrivatekeyData - class jxta.security.publickey.RSAPrivatekeyData.
 
RSAPrivatekeyData(RSAPrivateKey) - Constructor for class jxta.security.publickey.RSAPrivatekeyData
 
RSAPublicKey - interface jxta.security.publickey.RSAPublicKey.
 
RSAPublickeyData - class jxta.security.publickey.RSAPublickeyData.
 
RSAPublickeyData() - Constructor for class jxta.security.publickey.RSAPublickeyData
 
RSAPublickeyData(RSAPublicKey) - Constructor for class jxta.security.publickey.RSAPublickeyData
 

S

setCrtCoefficient(byte[], int, int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
setDebug() - Method in interface jxta.security.util.Description
 
setDebug() - Static method in class jxta.security.util.URLBase64
 
setModulus(byte[]) - Method in class jxta.security.publickey.RSAPublickeyData
 
setModulus(byte[], int, int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
setModulus(byte[], int, int) - Method in interface jxta.security.publickey.RSAPublicKey
 
setPrimeExponentP(byte[], int, int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
setPrimeExponentQ(byte[], int, int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
setPrimeP(byte[], int, int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
setPrimeQ(byte[], int, int) - Method in interface jxta.security.publickey.RSAPrivateKey
 
setPrivateExponent(byte[], int, int) - Method in interface jxta.security.publickey.RSAPrivateKey
Given two primes, p and q, and [e,(p-1)(q-1)] = 1, n = pq Private Key: d = 1/e mod n c = m**d mod n, d is exponent, n modulus We also have methods to set parameters for the Chinese remainder theorem algorithm d mod p-1, d mod q-1, 1/q mod p
setPrivateKey() - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
setPrivateKey(Object) - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
setPublicExponent(byte[]) - Method in class jxta.security.publickey.RSAPublickeyData
 
setPublicExponent(byte[], int, int) - Method in interface jxta.security.publickey.RSAPublicKey
Given two primes, p and q, and [e,(p-1)(q-1)] = 1, n = pq Public key: e, n c = m**e mod n, e is exponent, n modulus
setPublicKey() - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
setPublicKey(byte[]) - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
setPublicKey(Object) - Method in interface jxta.security.publickey.PublicKeyAlgorithm
 
setSeed(byte[], short, short) - Method in interface jxta.security.random.RandomData
Sets a seed for the random number generation.
sign(byte[], int, int) - Method in interface jxta.security.signature.Signature
signs the digest after updating the last buffer of data (may be the only buffer)
Signature - interface jxta.security.signature.Signature.
 

T

throwIt(short) - Static method in class jxta.security.exceptions.CryptoException
Throws a CryptoException with the specified reason code.
toString() - Method in class jxta.security.exceptions.CryptoException
Returns a human readable string describing the CryptoException.

U

UNINITIALIZED_KEY - Static variable in class jxta.security.exceptions.CryptoException
Indicates that is key object has not been properly initialized
update(byte[], int, int) - Method in interface jxta.security.hash.Hash
Called if all data cannot be put into a single byte array.
update(byte[], int, int) - Method in interface jxta.security.mac.MAC
updates data to be encrypted.
update(byte[], int, int) - Method in interface jxta.security.signature.Signature
updates data to be signed.
update(byte[], int, int, byte[], int) - Method in interface jxta.security.cipher.Cipher
 
URLBase64 - class jxta.security.util.URLBase64.
 
URLBase64() - Constructor for class jxta.security.util.URLBase64
 
Util - class jxta.security.util.Util.
 
Util() - Constructor for class jxta.security.util.Util
 

V

verify(byte[], int, int, byte[], int, int) - Method in interface jxta.security.mac.MAC
Verifies a MAC for last/only inBuff against the signature in sigBuff.
verify(byte[], int, int, byte[], int, int) - Method in interface jxta.security.signature.Signature
Verifies a signature after updating last/only inBuff against the signature in sigBuff.

A C D E G H I J K M N P R S T U V
JXTA