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

A

autoseed() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
This method generates seed bytes and uses them to seed an object.

B

BLINDING - Static variable in class com.rsa.jsafe.JSAFE_AsymmetricCipher
BLINDING is the flag to use when calling setBlinding() and you wish to set the object to perform its operations with blinding.
BLINDING - Static variable in class com.rsa.jsafe.JSAFE_Signature
BLINDING is the flag to use when calling setBlinding() and you wish to set the object to perform its operations with blinding.
berDecodeAlgorithm(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_MessageDigest
Determines an algorithm, when given a BER encoding in encoding, beginning at encOffset.
berDecodeDigest(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_MessageDigest
Determines the digest, when given a BER encoding in encoding, beginning at encOffset.

C

CF_CRL_SIGN - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used to verify the CA's signature on a CRL.
CF_DATA_ENCIPHERMENT - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used to encrypt data other than CF_KEY_ENCIPHERMENT.
CF_DECIPHER_ONLY - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used to decipher data, and that no other bit (except CF_KEY_AGREEMENT) is set.
CF_DIGITAL_SIGNATURE - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used to verify digital signatures other than NON_REPUDIATION, KEY_CERT_SIGN, or CRL_SIGN.
CF_ENCIPHER_ONLY - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used to encipher data, and that no other bit (except CF_KEY_AGREEMENT) is set.
CF_KEY_AGREEMENT - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used in key agreement.
CF_KEY_CERT_SIGN - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used to verify the CA's signature on a certificate.
CF_KEY_ENCIPHERMENT - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used to encrypt keys; for example, for key transport.
CF_NON_REPUDIATION - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates the key is used to verify digital signatures, as protection against falsely denying some action.
CRYPTO_J_VERSION - Static variable in class com.rsa.jsafe.CryptoJ
The current version of Crypto-J.
CRYPTO_OFFICER_ROLE - Static variable in class com.rsa.jsafe.CryptoJ
Denotes the Crypto Officer role.
CryptoJ - class com.rsa.jsafe.CryptoJ.
This is the Crypto-J "master class."
checkKeyLength(int) - Method in class com.rsa.jsafe.JSAFE_SecretKey
Checks whether the proposed length is valid.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Clears any sensitive data from an object.
clearSensitiveData() - Method in interface com.rsa.jsafe.JSAFE_Key
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_KeyPair
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_MAC
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_Parameters
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_PrivateKey
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_PublicKey
Clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_Recode
Clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_SecretKey
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_Session
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_SessionSpec
This method clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_Signature
Clears sensitive data from an object.
clearSensitiveData() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method clears sensitive data from an object.
clone() - Method in class com.rsa.jsafe.JSAFE_KeyPair
Overrides the default clone to produce a deep clone.
clone() - Method in class com.rsa.jsafe.JSAFE_Object
Duplicates the existing object.
clone() - Method in class com.rsa.jsafe.JSAFE_Parameters
Overrides the default clone to produce a deep clone.
clone() - Method in class com.rsa.jsafe.JSAFE_PrivateKey
Overrides the default clone method to produce a deep clone.
clone() - Method in class com.rsa.jsafe.JSAFE_PublicKey
Overrides the default clone to produce a deep clone.
clone() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Overrides the default clone to produce a deep clone.
clone() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Overrides the default clone to produce a deep clone.
clone() - Method in class com.rsa.jsafe.JSAFE_Session
 
closeSession() - Method in class com.rsa.jsafe.JSAFE_Session
Closes the PKCS #11 session.
com.rsa.jsafe - package com.rsa.jsafe
This package documents the Crypto-J JSAFE API.

D

dataEquals(Object) - Method in class com.rsa.jsafe.JSAFE_PrivateKey
Compares only the data of the objects, ignoring token info, if any.
dataEquals(Object) - Method in class com.rsa.jsafe.JSAFE_PublicKey
Compares only the data of the objects, ignoring token info, if any.
decodeFinal() - Method in class com.rsa.jsafe.JSAFE_Recode
Finalizes the decoding and strips the padding, if necessary.
decodeFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_Recode
Finalizes the process and decodes any leftover bytes.
decodeInit() - Method in class com.rsa.jsafe.JSAFE_Recode
Initializes this object to perform decoding.
decodeUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_Recode
Decodes the first partInLen bytes in the array partIn, beginning at inOffset.
decodeUpdate(byte[], int, int, byte[], int) - Method in class com.rsa.jsafe.JSAFE_Recode
Decodes the first partInLen bytes in the array partIn, beginning at inOffset.
decryptFinal() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Finalizes the decryption process and strips any padding.
decryptFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Finalizes the decryption process and strips any padding.
decryptFinal() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Finalizes the decryption process and strips any padding.
decryptFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Finalizes the decryption process and strips any padding.
decryptInit(JSAFE_PrivateKey) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes an object to perform private-key decryption using key.
decryptInit(JSAFE_PrivateKey, JSAFE_Session[]) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes an object to perform private-key decryption, using key.
decryptInit(JSAFE_PublicKey) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes an object to perform public-key decryption, using key.
decryptInit(JSAFE_PublicKey, JSAFE_Session[]) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes an object to perform public-key decryption, using key.
decryptInit(JSAFE_SecretKey) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Initializes this object to decrypt using key, which must be instantiated with the same algorithm.
decryptInit(JSAFE_SecretKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method initializes an object to perform decryption with key, which must have been instantiated with the same algorithm.
decryptReInit() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Re-initializes this object to decrypt using the key passed in during the previous call to decryptInit().
decryptReInit() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Re-initializes this object to decrypt using the key passed in during an earlier call to decryptInit().
decryptUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Decrypts the first partInLen bytes of the array partIn, beginning at offset.
decryptUpdate(byte[], int, int, byte[], int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Decrypts the first partInLen bytes of the array partIn, beginning at inOffset.
decryptUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Decrypts the first partInLen bytes of the array partIn, beginning at offset.
decryptUpdate(byte[], int, int, byte[], int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Decrypts the first partInLen bytes of the array partIn, beginning at inOffset.
deobfuscate() - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
De-obfuscates sensitive data to use it.
derEncode(byte[], int) - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Creates the DER encoding when given a digest beginning at offset.
derEncode(byte[], int, byte[], int) - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Creates the DER encoding when given a digest beginning at digOffset, and places the result into encoding beginning at encOffset.
digestFinal() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Finalizes the process and returns the resulting digest in a new byte array.
digestFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Finalizes the process and returns the resulting digest in a new byte array.
digestInit() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Initializes this object for a digest operation.
digestUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Digests the first partInLen bytes of the array partIn, beginning at offset.

E

ENCRYPT_KEY - Static variable in class com.rsa.jsafe.JSAFE_SecretKey
 
encodeFinal() - Method in class com.rsa.jsafe.JSAFE_Recode
Finalizes the encoding process and encodes any leftover bytes.
encodeFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_Recode
Finalizes the encoding, appending the padding if necessary.
encodeInit() - Method in class com.rsa.jsafe.JSAFE_Recode
Initializes this object to encode.
encodeUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_Recode
Encodes the input data.
encodeUpdate(byte[], int, int, byte[], int) - Method in class com.rsa.jsafe.JSAFE_Recode
Encodes the first partInLen bytes in the array partIn, beginning at inOffset.
encryptFinal() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Finalizes the encryption process by encrypting any leftover bytes and padding (if it was requested).
encryptFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Finalizes the encryption process by encrypting any leftover bytes and padding (if it was requested).
encryptFinal() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method finalizes the encryption process by encrypting any leftover bytes and padding (if padding is requested).
encryptFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method finalizes the encryption process by encrypting any leftover bytes and padding (if padding is requested).
encryptInit(JSAFE_PublicKey) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes an object to perform public-key encryption, using key.
encryptInit(JSAFE_PublicKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes an object to perform public-key encryption, using key and random.
encryptInit(JSAFE_PublicKey, SecureRandom, JSAFE_Session[]) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes this object to perform public-key encryption, using key, random and sessions.
encryptInit(JSAFE_PrivateKey) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes an object to perform private-key encryption, using key.
encryptInit(JSAFE_PrivateKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes an object to perform private-key encryption, using key.
encryptInit(JSAFE_PrivateKey, SecureRandom, JSAFE_Session[]) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Initializes this object to perform private-key encryption, using key.
encryptInit(JSAFE_SecretKey) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Initializes an object to perform encryption with key, which must be instantiated with the same algorithm.
encryptInit(JSAFE_SecretKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Initializes this object to encrypt, using key and random.
encryptReInit() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Re-initializes an object to encrypt using the key passed in during the previous call to the encryptInit() method.
encryptReInit() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Re-initializes this object to encrypt using the key passed in during an earlier call to the encryptInit() method.
encryptUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Encrypts the first partInLen bytes of the array partIn, beginning at offset.
encryptUpdate(byte[], int, int, byte[], int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Encrypts the first partInLen bytes of the array partIn, beginning at inOffset.
encryptUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Encrypts the first partInLen bytes of the array partIn, beginning at offset.
encryptUpdate(byte[], int, int, byte[], int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Encrypts the first partInLen bytes of the array partIn, beginning at inOffset.
end - Variable in class com.rsa.jsafe.JSAFE_KeyAttributes
 
extraSeed(byte[]) - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Generates seed bytes and uses them to seed an object.

F

FAILED - Static variable in class com.rsa.jsafe.CryptoJ
Indicates that the toolkit failed verification; a powerup or a conditional self test has failed.
FIPS_MODE - Static variable in class com.rsa.jsafe.CryptoJ
Indicates that the tookit is running in FIPS mode.
FIPS_TESTING_MODE - Static variable in class com.rsa.jsafe.CryptoJ
Indicates that the toolkit is running in FIPS testing mode.
fips186RandomClearQ(SecureRandom) - Static method in class com.rsa.jsafe.CryptoJ
Resets the prime Q to its default value.
fips186RandomClearXKEY(SecureRandom) - Static method in class com.rsa.jsafe.CryptoJ
Clears the the interal state of the random.
fips186RandomSetQ(SecureRandom, byte[]) - Static method in class com.rsa.jsafe.CryptoJ
Sets the prime Q to the given value.
fips186RandomSetXKEY(SecureRandom, byte[]) - Static method in class com.rsa.jsafe.CryptoJ
Sets the internal seed of the random to the given value.

G

generate() - Method in class com.rsa.jsafe.JSAFE_KeyPair
Generates the key pair.
generate() - Method in class com.rsa.jsafe.JSAFE_Parameters
Generates the system parameters to be held by this object.
generate() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Generates key data to be held by this key object.
generateFIPSInit(int[], SecureRandom) - Method in class com.rsa.jsafe.JSAFE_Parameters
Initializes this object to generate system parameters based on the given paramGenParams and using the given random.
generateIV(SecureRandom) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Generates an initialization vector using random.
generateInit(JSAFE_Parameters, int[], SecureRandom) - Method in class com.rsa.jsafe.JSAFE_KeyPair
Initializes this object to generate a key pair.
generateInit(JSAFE_Parameters, int[], SecureRandom, JSAFE_Session[]) - Method in class com.rsa.jsafe.JSAFE_KeyPair
Initializes this object to generate a key pair.
generateInit(int[], SecureRandom) - Method in class com.rsa.jsafe.JSAFE_Parameters
Initializes this object to generate system parameters based on the given paramGenParams and using the given random.
generateInit(int[], SecureRandom, JSAFE_Session[]) - Method in class com.rsa.jsafe.JSAFE_Parameters
Initializes this object to generate system parameters based on the given paramGenParams and using the given random.
generateInit(int[], SecureRandom) - Method in class com.rsa.jsafe.JSAFE_SecretKey
Initializes this object to generate a key based on the given parameters using random.
generateKeyPair(byte[], byte[], byte[], byte[], byte[], byte[]) - Method in class com.rsa.jsafe.JSAFE_KeyPair
Generates a strong key pair for testing according to the RSA Validation System.
generateMyPublicValue() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Generates the public value, using key-based key agreement methods in the form of JSAFE_PublicKey.
generateRandomBytes(int) - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Generates pseudorandom bytes, returning them in a new byte array of length numberOfBytes.
generateRandomBytes(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Generates pseudorandom bytes, placing them into the given buffer.
generateReInit() - Method in class com.rsa.jsafe.JSAFE_KeyPair
Re-initializes this object to generate a key pair, using the parameters and the random object passed in during a previous call to generateInit().
generateReInit() - Method in class com.rsa.jsafe.JSAFE_Parameters
Re-initializes this object to generate system parameters, using the generating parameters and the random object passed in during a previous call to generateInit().
generateReInit() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Re-initializes this object to generate a key with the keyGenParameters using the parameters and random objects passed in during a previous call to generateInit().
generateSalt(SecureRandom) - Method in class com.rsa.jsafe.JSAFE_MAC
Provides a common interface used as a convenience for the password-based MAC.
generateSalt(SecureRandom) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Generates an 8-byte salt for PBE using random.
generateSharedSecret() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Computes the shared secret and returns it in a new byte array.
generateSharedSecret(byte[], int) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Computes the shared secret and places it in the byte array sharedSecret beginning at offset.
generateSharedSecret(JSAFE_PublicKey) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Computes the shared secret and returns it in a new byte array.
generateSharedSecret(JSAFE_PublicKey, byte[], int) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Computes the shared secret and places it in the byte array sharedSecret, beginning at offset.
generateStrongInit(JSAFE_Parameters, int[], SecureRandom) - Method in class com.rsa.jsafe.JSAFE_KeyPair
Initializes this object to generate a key pair, using techniques to guarantee the use of only strong primes.
getAlgorithm() - Method in interface com.rsa.jsafe.JSAFE_Key
Returns the standard name for the algorithm.
getAlgorithm() - Method in class com.rsa.jsafe.JSAFE_KeyPair
Returns the standard algorithm name.
getAlgorithm() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Returns the standard digest algorithm name.
getAlgorithm() - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns the standard algorithm name.
getAlgorithm() - Method in class com.rsa.jsafe.JSAFE_PrivateKey
Returns the standard algorithm name.
getAlgorithm() - Method in class com.rsa.jsafe.JSAFE_PublicKey
Returns the standard algorithm name.
getAlgorithm() - Method in class com.rsa.jsafe.JSAFE_Recode
Returns the standard recode algorithm name.
getAlgorithm() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Returns the standard algorithm name.
getAlgorithm() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Returns the standard algorithm name.
getAlgorithmParameters() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns a new int array containing the algorithm's parameters.
getAlgorithmParameters() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns a new int array containing the algorithm's parameters.
getAlgorithmParameters() - Method in class com.rsa.jsafe.JSAFE_Recode
Returns a new int array containing the algorithm's parameters.
getAlgorithmParameters() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Returns a new int array containing the algorithm's parameters.
getAlgorithmParameters() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns a new int array containing the algorithm's parameters.
getBlankKey() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns an empty JSAFE_SecretKey object to match the algorithm and device of this object.
getBlankKey() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns an empty JSAFE_SecretKey object to match the algorithm and device of this object.
getBlankKeyPair() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns a new, empty JSAFE_KeyPair object to match the algorithm and device of this object.
getBlankKeyPair() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Returns a new, empty JSAFE_KeyPair object to match the algorithm and device of this object.
getBlinding() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the level of blinding this object will use.
getBlinding() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns the level of blinding this object will use.
getBlockSize() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the size, in bytes, of the blocks on which an object operates.
getCryptokiFunctions(JSAFE_Session) - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
Points a function list pointer to the list of Cryptoki functions.
getDERAlgorithmID() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns a new byte array containing the DER encoding of the algorithm ID of the algorithm in this object.
getDERAlgorithmID() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Returns a new byte array containing the DER encoding of the key agreement algorithm identifier of the algorithm in this object.
getDERAlgorithmID() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns a new byte array containing the DER encoding of the algorithm ID of the algorithm in this object.
getDERAlgorithmID() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Returns a new byte array containing the DER encoding of the algorithm ID of the algorithm in this object.
getDERAlgorithmID() - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns a new byte array containing the DER encoding of the algorithm ID of the algorithm in this object.
getDERAlgorithmID(String) - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns a new byte array containing the DER encoding of the algorithm ID of the algorithm in this object.
getDERAlgorithmID() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns a new byte array containing the DER encoding of the algorithm ID of the algorithm in this object.
getDERAlgorithmID(String, boolean) - Method in class com.rsa.jsafe.JSAFE_Signature
Returns the DER encoding of the algorithm ID of this object.
getDERAlgorithmID() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns a new byte array containing the DER encoding of the algorithm ID of the algorithm in this object.
getDSADomainParameterGenerationData(int[]) - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns an array of byte arrays that contains the parameterData in the format shown in the following following table plus the counter value via the method argument.
getDevice() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns a String that is the name of the device of record.
getDevice() - Method in interface com.rsa.jsafe.JSAFE_Key
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_KeyPair
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Returns the standard name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_PrivateKey
Returns the standard name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_PublicKey
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_Recode
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_Session
Returns the name of the device (such as "PKCS11") for which this session is instantiated.
getDevice() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns the name of the device of record.
getDevice() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the name of the device of record.
getDeviceBuilders() - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
Gets the device builder or builders associated with this specification.
getDeviceBuilders() - Method in class com.rsa.jsafe.JSAFE_SessionSpec
 
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_KeyPair
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_PrivateKey
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_PublicKey
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_Recode
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns a String array that describes all the devices used to execute the transformation.
getDeviceList() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns a String array that describes all the devices used to execute the transformation.
getDigestAlgorithm() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns the standard digest algorithm name.
getDigestAlgorithm() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns the standard digest algorithm name.
getDigestAlgorithm() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the standard name of the digest algorithm used for PBE.
getDigestSize() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Returns the size, in bytes, of the resulting digest.
getElement(String) - Method in class com.rsa.jsafe.JSAFE_Session
 
getEncodedDigestSize() - Method in class com.rsa.jsafe.JSAFE_MessageDigest
Returns the size, in bytes, of the DER encoding of the digest.
getEncryptionAlgorithm() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the standard name of the encryption algorithm.
getEncryptionAlgorithm() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the standard name of the encryption algorithm.
getFeedbackMode() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the standard feedback mode name.
getFeedbackParameters() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns a new int array containing the feedback mode's parameters.
getIV() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the initialization vector (IV) in a new byte array.
getInputBlockSize() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the size, in bytes, of an input block for an algorithm.
getInstance() - Static method in class com.rsa.jsafe.CryptoJ
A factory method that gets a CryptoJ instance.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Builds an object that performs an algorithm using the possible parameters defined in berAlgID, beginning at offset.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Builds an object that performs the transformation on the given device.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_KeyAgree
Builds an object that performs an algorithm using the possible parameters defined in berAlgID.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_KeyAgree
Builds an object that performs the specified transformation on the given device.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_KeyPair
Builds a JSAFE_KeyPair object that holds and generates key pairs of type transformation on the given device.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_MAC
Builds an object based on the algorithm ID.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_MAC
Builds a JSAFE_MAC object that authenticates messages according to the transformation, using the given device.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_MessageDigest
Builds an object that performs an algorithm using the possible parameters defined in berAlgID beginning at offset.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_MessageDigest
Builds an object that performs the transformation on the given device.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_Parameters
Builds an object that contains the parameters defined in berAlgID, beginning at offset.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_Parameters
Builds an object that performs the transformation on the given device.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_PrivateKey
Builds an object that contains the private key defined in berInfo, beginning at offset.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_PrivateKey
Builds an object that holds a private key for the transformation on the given device.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_PublicKey
Builds an object that contains the public key that is defined in berInfo, beginning at offset.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_PublicKey
Builds an object that holds a public key for the transformation on the given device.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_Recode
Builds an object that performs the transformation on the given device.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_SecretKey
Builds an object that holds a secret key for the transformation on the given device.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_SecureRandom
Builds an object that performs the transformation on the given device.
getInstance(JSAFE_SessionSpec) - Static method in class com.rsa.jsafe.JSAFE_Session
Builds an object that establishes a session with a hardware token via the specified vendor-supplied shared library, or reuses a previously established session.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_Signature
Builds an object based on the algorithm ID.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_Signature
Builds an object that performs an algorithm defined by transformation on the specified device.
getInstance(byte[], int, String) - Static method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Builds an object that performs an algorithm using the possible parameters defined in berAlgID, beginning at offset.
getInstance(String, String) - Static method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Builds an object that performs the transformation on the given device.
getKeyAgreeAlgorithm() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Returns the standard name of the key agreement algorithm.
getKeyData() - Method in interface com.rsa.jsafe.JSAFE_Key
Gets the key data from the object and returns it in the default format.
getKeyData(String) - Method in interface com.rsa.jsafe.JSAFE_Key
Returns a new array of byte arrays that contains the key data in the given format.
getKeyData(String) - Method in class com.rsa.jsafe.JSAFE_SecretKey
Gets the key data from the object and returns it in the specified format.
getKeyData() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Gets the key data from the object and returns it in the default format.
getKeyWrappingFormat(boolean) - Method in interface com.rsa.jsafe.JSAFE_Key
Returns the name of the format to use when getting the data for key wrapping.
getKeyWrappingFormat(boolean) - Method in class com.rsa.jsafe.JSAFE_PrivateKey
Returns the name of the format to use when getting the data for key wrapping.
getKeyWrappingFormat(boolean) - Method in class com.rsa.jsafe.JSAFE_PublicKey
Returns the name of the format to use when getting the data for key wrapping.
getKeyWrappingFormat(boolean) - Method in class com.rsa.jsafe.JSAFE_SecretKey
Returns the name of the format to use when getting the data for key wrapping.
getLibraryName() - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
Gets the name of the shared library that is the PKCS #11 library for the token.
getMACAlgorithm() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns the standard MAC algorithm name.
getMACSize() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns the size (in bytes) of the MAC output, or -1 if the MAC is not initialized.
getMaxInputLen() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the maximum allowed input length.
getMaxInputLen() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns the maximum allowed input length.
getMaximumKeyLength() - Method in interface com.rsa.jsafe.JSAFE_Key
Gets the maximum number of bits this key is allowed to have.
getMaximumKeyLength() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Gets the maximum number of bits this key is allowed to have.
getMinimumKeyLength() - Method in interface com.rsa.jsafe.JSAFE_Key
Gets the minimum number of bits this key is allowed to have.
getMinimumKeyLength() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Gets the minimum number of bits this key is allowed to have.
getMode() - Static method in class com.rsa.jsafe.CryptoJ
Returns the mode, either FIPS or NON-FIPS.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Gets the next offset after the algorithm ID.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_KeyAgree
Gets the next offset after the algorithm ID.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_MAC
Given the berAlgID, the BER encoding of the algorithm ID, beginning at offset, returns the index to the next byte in the array.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_MessageDigest
Gets the next offset after the algorithm ID.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_Parameters
Computes the offset into berAlgID for the byte immediately following the algorithm ID, which begins at offset.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_PrivateKey
Gets the next offset after the algorithm ID.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_PublicKey
Gets the next offset after the algorithm ID.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_Signature
Gets the next offset after the algorithm ID.
getNextBEROffset(byte[], int) - Static method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Gets the next offset after the algorithm ID.
getOAEPDigestAlgorithm() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the standard name of the OAEP digest algorithm used by the OAEP padding scheme.
getOAEPMaskGeneratingFunction() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the name of the mask generating function used by the OAEP padding scheme.
getOAEPMaskUnderlyingAlgorithm() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the name of the mask generating function's underlying algorithm used by the OAEP padding scheme.
getOAEPParameterSource() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the name of the parameter source used by the OAEP padding scheme.
getOAEPParameters() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the OAEP parameters of an object.
getOutputBlockSize() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the size, in bytes, of an output block from an algorithm.
getOutputBufferSize(int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the maximum size, in bytes, that an output buffer should be to hold the asymmetric cipher processing results if encrypting data of inputLen bytes.
getOutputBufferSize(int) - Method in class com.rsa.jsafe.JSAFE_Recode
Returns the maximum size (in bytes) that an output buffer should be to hold the results of an encode or a decode (Update and Final).
getOutputBufferSize(int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the maximum size (in bytes) that an output buffer should be to hold the results of a symmetric cipher processing (Update and Final) given the length of the input inputLen.
getOutputSize() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Returns the output size (in bytes) that results from a key-agreement operation.
getPBEParameters() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns a new int array containing the PBE parameters, which are generally the iteration count and key size.
getPaddingParameters() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns a new int array containing the padding scheme's parameters.
getPaddingParameters() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns a new int array containing the padding scheme's parameters.
getPaddingScheme() - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Returns the standard padding algorithm name.
getPaddingScheme() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns the standard padding scheme name.
getPaddingScheme() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the standard padding scheme name.
getParameterData(String) - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns an array of byte arrays that contain the Parameterdata in the given format shown in the following table.
getParameterData() - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns an array of byte arrays that contains the parameterData in the default format shown in the following table.
getPassPhrase() - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
Gets the passphrase as a byte array.
getPassword() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Returns a new char array that contains the password.
getPasswordStandard() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the standard name of the PBE standard.
getPrivateKey() - Method in class com.rsa.jsafe.JSAFE_KeyPair
Returns a copy of the private key portion of a key pair as a JSAFE_PrivateKey object.
getPrivateValue() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Retrieves the private value in a new byte array.
getPrivateValue(byte[], int) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Retrieves the private value.
getPrivateValueAsKey() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Returns a new JSAFE_PrivateKey object that contains the private value computed in generateMyPublicValue().
getPublicKey() - Method in class com.rsa.jsafe.JSAFE_KeyPair
Returns a copy of the public key portion of a key pair as a JSAFE_PublicKey object.
getRole() - Static method in class com.rsa.jsafe.CryptoJ
Returns the user role.
getSalt() - Method in class com.rsa.jsafe.JSAFE_MAC
Returns the salt that was either set or generated using a PRNG.
getSalt() - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Returns the salt in a new byte array.
getSecretKeyData(String) - Method in class com.rsa.jsafe.JSAFE_SecretKey
Gets the key data from the object and returns it in the specified format.
getSecretKeyData() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Gets the key data from the object and returns it in the default format.
getSeeder() - Static method in class com.rsa.jsafe.CryptoJ
Returns the global seed generator.
getSessionHandle(JSAFE_Session) - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
Converts the native element session handle to a Java byte array for storage.
getSessionSpec() - Method in class com.rsa.jsafe.JSAFE_Session
Gets a reference to the JSAFE_SessionSpec used by this JSAFE_Session object.
getSharedParameters() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Returns a new JSAFE_Parameters object that contains the shared-key agreement parameters.
getSignatureAlgorithm() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns the standard signature algorithm name.
getSignatureSize() - Method in class com.rsa.jsafe.JSAFE_Signature
Returns the length of a resulting signature.
getState() - Static method in class com.rsa.jsafe.CryptoJ
Queries the toolkit execution state on a FIPS-validated toolkit.
getSupportedGetFormats() - Method in interface com.rsa.jsafe.JSAFE_Key
Gets the formats in which this key can return the data.
getSupportedGetFormats() - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns a String array that lists the supported formats for getParameterData().
getSupportedGetFormats() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Gets the formats in which this key can return the data.
getSupportedSetFormats() - Method in interface com.rsa.jsafe.JSAFE_Key
Gets the formats with which this key may be set.
getSupportedSetFormats() - Method in class com.rsa.jsafe.JSAFE_Parameters
Returns a String array that lists the supported formats for setParameterData().
getSupportedSetFormats() - Method in class com.rsa.jsafe.JSAFE_SecretKey
Gets the formats with which this key may be set.
getTokenLabel() - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
Gets the token label passed in at construction.
getTokenLabel(JSAFE_Session) - Method in class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
Gets the name of the token's label.

I

isFIPS140Compliant() - Static method in class com.rsa.jsafe.CryptoJ
Indicates whether this toolkit is FIPS 140-2 compliant.

J

JSAFE_AsymmetricCipher - class com.rsa.jsafe.JSAFE_AsymmetricCipher.
The JSAFE_AsymmetricCipher class defines the factory method and API for all asymmetric cipher objects.
JSAFE_AsymmetricCipher() - Constructor for class com.rsa.jsafe.JSAFE_AsymmetricCipher
 
JSAFE_Exception - exception com.rsa.jsafe.JSAFE_Exception.
JSAFE_Exception is the base class for all JSAFE-related exceptions that are thrown by JSAFE code.
JSAFE_Exception() - Constructor for class com.rsa.jsafe.JSAFE_Exception
 
JSAFE_Exception(String) - Constructor for class com.rsa.jsafe.JSAFE_Exception
 
JSAFE_IVException - exception com.rsa.jsafe.JSAFE_IVException.
This exception is thrown when an error related to the initialization vector (or feedback modes in general) occurs.
JSAFE_IVException() - Constructor for class com.rsa.jsafe.JSAFE_IVException
 
JSAFE_IVException(String) - Constructor for class com.rsa.jsafe.JSAFE_IVException
 
JSAFE_InputException - exception com.rsa.jsafe.JSAFE_InputException.
This exception is thrown when the data given as input is somehow invalid.
JSAFE_InputException() - Constructor for class com.rsa.jsafe.JSAFE_InputException
 
JSAFE_InputException(String) - Constructor for class com.rsa.jsafe.JSAFE_InputException
 
JSAFE_InvalidArithmeticException - exception com.rsa.jsafe.JSAFE_InvalidArithmeticException.
This exception concerns only algorithms that use a number package (currently RSA, DH, and DSA).
JSAFE_InvalidArithmeticException() - Constructor for class com.rsa.jsafe.JSAFE_InvalidArithmeticException
 
JSAFE_InvalidArithmeticException(String) - Constructor for class com.rsa.jsafe.JSAFE_InvalidArithmeticException
 
JSAFE_InvalidKeyException - exception com.rsa.jsafe.JSAFE_InvalidKeyException.
This exception is thrown when a key or key data is invalid.
JSAFE_InvalidKeyException() - Constructor for class com.rsa.jsafe.JSAFE_InvalidKeyException
 
JSAFE_InvalidKeyException(String) - Constructor for class com.rsa.jsafe.JSAFE_InvalidKeyException
 
JSAFE_InvalidParameterException - exception com.rsa.jsafe.JSAFE_InvalidParameterException.
This exception is thrown when a parameter, or argument, to a JSAFE method is somehow invalid.
JSAFE_InvalidParameterException() - Constructor for class com.rsa.jsafe.JSAFE_InvalidParameterException
 
JSAFE_InvalidParameterException(String) - Constructor for class com.rsa.jsafe.JSAFE_InvalidParameterException
 
JSAFE_InvalidUseException - exception com.rsa.jsafe.JSAFE_InvalidUseException.
This exception is thrown when a JSAFE object is used incorrectly.
JSAFE_InvalidUseException() - Constructor for class com.rsa.jsafe.JSAFE_InvalidUseException
 
JSAFE_InvalidUseException(String) - Constructor for class com.rsa.jsafe.JSAFE_InvalidUseException
 
JSAFE_Key - interface com.rsa.jsafe.JSAFE_Key.
The JSAFE_Key class is the generic key interface.
JSAFE_KeyAgree - class com.rsa.jsafe.JSAFE_KeyAgree.
The JSAFE_KeyAgree class defines the factory method and API for the key agreement algorithms.
JSAFE_KeyAgree() - Constructor for class com.rsa.jsafe.JSAFE_KeyAgree
 
JSAFE_KeyAttributes - class com.rsa.jsafe.JSAFE_KeyAttributes.
A JSAFE_KeyAttributes object encapsulates hardware token-related key attributes.
JSAFE_KeyAttributes(int, int, long, long) - Constructor for class com.rsa.jsafe.JSAFE_KeyAttributes
Builds a JSAFEKeyAttributes object according to the specified token and key usage flags, and start and end times.
JSAFE_KeyPair - class com.rsa.jsafe.JSAFE_KeyPair.
JSAFE_KeyPair defines low-level key management and generation routines for a particular algorithm and can instantiate the classes that hold and generate public/private key pairs.
JSAFE_KeyPair() - Constructor for class com.rsa.jsafe.JSAFE_KeyPair
 
JSAFE_MAC - class com.rsa.jsafe.JSAFE_MAC.
The JSAFE_MAC class provides a framework for MACs.
JSAFE_MAC() - Constructor for class com.rsa.jsafe.JSAFE_MAC
 
JSAFE_MessageDigest - class com.rsa.jsafe.JSAFE_MessageDigest.
This class instantiates the classes that create and verify signatures, and it defines the functionality.
JSAFE_MessageDigest() - Constructor for class com.rsa.jsafe.JSAFE_MessageDigest
 
JSAFE_Obfuscator - class com.rsa.jsafe.JSAFE_Obfuscator.
Masks sensitive data while it is not in use to minimize the amount of time the data appears in memory in the clear.
JSAFE_Obfuscator() - Constructor for class com.rsa.jsafe.JSAFE_Obfuscator
 
JSAFE_Object - class com.rsa.jsafe.JSAFE_Object.
This class is used as the base for all JSAFE objects, and includes the basic cloning and serialization properties.
JSAFE_Object() - Constructor for class com.rsa.jsafe.JSAFE_Object
 
JSAFE_PKCS11SessionSpec - class com.rsa.jsafe.JSAFE_PKCS11SessionSpec.
This class specifies how to instantiate a JSAFE_Session object that establishes a session with a PKCS #11-compliant device.
JSAFE_PKCS11SessionSpec(String, String, char[], int, int) - Constructor for class com.rsa.jsafe.JSAFE_PKCS11SessionSpec
Specifies how to instantiate a JSAFE_Session object that establishes a session with a token via the specified PKCS #11 library.
JSAFE_PaddingException - exception com.rsa.jsafe.JSAFE_PaddingException.
This exception is thrown when an error occurs related to padding or unpadding of data.
JSAFE_PaddingException() - Constructor for class com.rsa.jsafe.JSAFE_PaddingException
 
JSAFE_PaddingException(String) - Constructor for class com.rsa.jsafe.JSAFE_PaddingException
 
JSAFE_Parameters - class com.rsa.jsafe.JSAFE_Parameters.
The class defines a way to hold or generate system parameters for those algorithms that require them.
JSAFE_Parameters() - Constructor for class com.rsa.jsafe.JSAFE_Parameters
 
JSAFE_PrivateKey - class com.rsa.jsafe.JSAFE_PrivateKey.
This class holds private keys for all asymmetric operations and implements the JSAFE_Key class interface.
JSAFE_PrivateKey() - Constructor for class com.rsa.jsafe.JSAFE_PrivateKey
 
JSAFE_PublicKey - class com.rsa.jsafe.JSAFE_PublicKey.
This class holds public keys for all asymmetric operations and implements the JSAFE_Key interface.
JSAFE_PublicKey() - Constructor for class com.rsa.jsafe.JSAFE_PublicKey
 
JSAFE_Recode - class com.rsa.jsafe.JSAFE_Recode.
The JSAFE_Recode class changes the encoding of data from binary to ASCII and vice versa.
JSAFE_Recode() - Constructor for class com.rsa.jsafe.JSAFE_Recode
 
JSAFE_SecretKey - class com.rsa.jsafe.JSAFE_SecretKey.
JSAFE_SecretKey holds and generates secret (symmetric) keys and implements the JSAFE_Key interface.
JSAFE_SecureRandom - class com.rsa.jsafe.JSAFE_SecureRandom.
This class defines secure pseudorandom number generation, as well as random number generation in hardware.
JSAFE_Session - class com.rsa.jsafe.JSAFE_Session.
This class establishes a session with a token present in a hardware device.
JSAFE_SessionSpec - class com.rsa.jsafe.JSAFE_SessionSpec.
This abstract class is the base class for classes specifying how to build an instance of JSAFE_Session.
JSAFE_Signature - class com.rsa.jsafe.JSAFE_Signature.
The JSAFE_Signature class defines the factory method and API for all signature algorithm objects.
JSAFE_Signature() - Constructor for class com.rsa.jsafe.JSAFE_Signature
 
JSAFE_SymmetricCipher - class com.rsa.jsafe.JSAFE_SymmetricCipher.
This class defines the factory methods and API for all symmetric cipher objects.
JSAFE_SymmetricCipher() - Constructor for class com.rsa.jsafe.JSAFE_SymmetricCipher
 
JSAFE_UnimplementedException - exception com.rsa.jsafe.JSAFE_UnimplementedException.
This exception is thrown when the requested cryptographic transformation or operation is not implemented.
JSAFE_UnimplementedException() - Constructor for class com.rsa.jsafe.JSAFE_UnimplementedException
 
JSAFE_UnimplementedException(String) - Constructor for class com.rsa.jsafe.JSAFE_UnimplementedException
 

K

keyAgreeInit(SecureRandom) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Initializes an object to compute the key-agreement values using the parameters that were already loaded into an object.
keyAgreeInit(JSAFE_Parameters, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Initializes an object to compute key-agreement values using sharedParameters.
keyAgreeInit(JSAFE_Parameters, JSAFE_PublicKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Initializes an object to compute key-agreement values using sharedParameters and correspondentKey.
keyAgreeInit(JSAFE_PublicKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Initializes an object to compute key-agreement values using correspondentKey.
keyAgreeInit(JSAFE_Parameters, JSAFE_PrivateKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Initializes an object to compute key-agreement values using sharedParameters and myKey.
keyAgreeInit(JSAFE_PrivateKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Initializes this object for key agreement using the private key specified by myKey.
keyAgreePhase1() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Performs Phase 1 of key agreement, generating a public value.
keyAgreePhase1(byte[], int) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Performs Phase 1 of key agreement, generating a public value.
keyAgreePhase2(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Performs Phase 2 of key agreement, generating the shared secret, using the private value generated during keyAgreePhase1() and the len bytes of correspondentPublicValue, beginning at offset.
keyAgreePhase2(byte[], int, int, byte[], int) - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Performs Phase 2 of key agreement, computing the shared secret and placing it in the byte array sharedSecret, beginning at outOffset.
keyAgreeReInit() - Method in class com.rsa.jsafe.JSAFE_KeyAgree
Re-initializes the object to perform key agreement.
keyUsage - Variable in class com.rsa.jsafe.JSAFE_KeyAttributes
 

M

MAC_KEY - Static variable in class com.rsa.jsafe.JSAFE_SecretKey
 
macFinal() - Method in class com.rsa.jsafe.JSAFE_MAC
Finalizes the calculation of the MAC and returns the result in a new byte array.
macFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_MAC
Finalizes the message authentication process.
macInit(JSAFE_SecretKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_MAC
Initializes the MAC object to perform message authentication using the supplied secretKey and random objects.
macReInit() - Method in class com.rsa.jsafe.JSAFE_MAC
Re-initializes this object to calculate the MAC, using the key passed in during an earlier call to macInit().
macUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_MAC
Updates the message authentication process with the first partInLen bytes in the partIn array, beginning at offset.
main(String[]) - Static method in class com.rsa.jsafe.CryptoJ
This main method prints the version number on a non-FIPS toolkit and runs run any or all of the known answer tests used in power-up self-testing on a FIPS validated toolkit.

N

NON_FIPS_MODE - Static variable in class com.rsa.jsafe.CryptoJ
Indicates that the toolkit is running in non-FIPS mode.
NOT_INITIALIZED - Static variable in class com.rsa.jsafe.CryptoJ
Indicates that the tookit has not been verified
NO_BLINDING - Static variable in class com.rsa.jsafe.JSAFE_AsymmetricCipher
NO_BLINDING is the flag to use when calling setBlinding() and you wish to set the object to perform its operations without blinding.
NO_BLINDING - Static variable in class com.rsa.jsafe.JSAFE_Signature
NO_BLINDING is the flag to use when calling setBlinding() and you wish to set the object to perform its operations without blinding.
nextBytes(byte[]) - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Fills the input buffer with pseudorandom bytes.
nextDouble() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Generates a pseudorandom double (8-byte floating-point number) value.
nextFloat() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Generates a pseudorandom float (4-byte floating-point number) value.
nextInt() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Generates a pseudorandom int (4-byte integer) value.
nextLong() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Generates a pseudorandom long (8-byte integer) value.
nextShort() - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Generates a pseudorandom short (2-byte integer) value.

O

OPERATIONAL - Static variable in class com.rsa.jsafe.CryptoJ
Indicates that the toolkit passed verification.
overwrite(byte[]) - Method in class com.rsa.jsafe.JSAFE_Object
Overwrites a byte array.
overwrite(int[]) - Method in class com.rsa.jsafe.JSAFE_Object
Overwrites an int array.

P

PERSISTENT_BLINDING - Static variable in class com.rsa.jsafe.JSAFE_AsymmetricCipher
PERSITENT_BLINDING is the flag to use when calling setBlinding() and you wish to set the object to perform its operations with blinding using persistent blinding values.
PERSISTENT_BLINDING - Static variable in class com.rsa.jsafe.JSAFE_Signature
PERSITENT_BLINDING is the flag to use when calling setBlinding() and you wish to set the object to perform its operations with blinding using persistent blinding values.

R

runSelfTests() - Static method in class com.rsa.jsafe.CryptoJ
Runs the FIPS 140 required power-up self-tests on demand.

S

savedQBytes - Static variable in class com.rsa.jsafe.CryptoJ
saved Q bytes for testing a fips 186 random and acts as a flag
savedXKEYBytes - Static variable in class com.rsa.jsafe.CryptoJ
saved XKEY bytes for testing a fips 186 random and acts as a flag
seed(byte[]) - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Seeds the pseudorandom number generator.
selfTestPassed() - Static method in class com.rsa.jsafe.CryptoJ
Retrieves the results of last execution of the power-up self-tests.
setAlgorithmParameters(int[]) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Sets this object to possess the algorithm parameters given.
setBlinding(int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Set the desired level of blinding.
setBlinding(int) - Method in class com.rsa.jsafe.JSAFE_Signature
Set the desired level of blinding.
setIV(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Sets the IV to the first ivLen bytes of iv, beginning at offset.
setKeyData(String, byte[][]) - Method in interface com.rsa.jsafe.JSAFE_Key
Sets the key with the data contained in the keyData array of byte arrays in the specified format.
setKeyData(byte[][]) - Method in interface com.rsa.jsafe.JSAFE_Key
Sets the key to possess the data contained in the keyData array of byte arrays.
setKeyData(String, byte[][]) - Method in class com.rsa.jsafe.JSAFE_SecretKey
This method is here to fit with the JSAFE_Key interface but simply calls the other setKeyData() method.
setKeyData(byte[][]) - Method in class com.rsa.jsafe.JSAFE_SecretKey
This method sets the key to possess the data contained in the keyData array of byte arrays.
setKeys(JSAFE_PublicKey, JSAFE_PrivateKey) - Method in class com.rsa.jsafe.JSAFE_KeyPair
Copies the public and private keys into this object.
setMode(int) - Static method in class com.rsa.jsafe.CryptoJ
Sets the FIPS mode to newMode.
setOAEPParameters(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Sets an object to contain the OAEP parameters given in the params argument.
setPBEParameters(int[]) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Sets this object to possess the PBE parameters given.
setParameterData(String, byte[][]) - Method in class com.rsa.jsafe.JSAFE_Parameters
Sets an object with the parameterData in the format shown below for Diffie-Hellman and DSA algorithms.
setParameterData(byte[][]) - Method in class com.rsa.jsafe.JSAFE_Parameters
Sets an object with the parameterData in the default format shown in the following table.
setPassword(char[], int, int) - Method in class com.rsa.jsafe.JSAFE_SecretKey
Sets this object to contain the given password.
setPower(boolean) - Static method in class com.rsa.jsafe.JSAFE_Obfuscator
Turn the obfuscator on or off.
setPrivateKeyAttributes(JSAFE_KeyAttributes) - Method in class com.rsa.jsafe.JSAFE_KeyPair
Sets the in-token attributes of the private key.
setPublicKeyAttributes(JSAFE_KeyAttributes) - Method in class com.rsa.jsafe.JSAFE_KeyPair
Sets the in-token attributes of the public key.
setRole(int) - Static method in class com.rsa.jsafe.CryptoJ
Sets the user mode to newRole.
setSalt(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_MAC
Sets the salt value for PBE algorithms.
setSalt(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Sets the salt value for PBE algorithms.
setSecretKeyData(String, byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_SecretKey
Sets the key to possess the keyDataLen bytes of keyData, beginning at offset.
setSecretKeyData(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_SecretKey
Sets the key to possess the keyDataLen bytes of keyData, beginning at offset.
setSeed(long) - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Seeds the pseudorandom number generator with the seedLong (8-byte integer) value.
setSeed(byte[]) - Method in class com.rsa.jsafe.JSAFE_SecureRandom
Seeds the pseudorandom number generator.
signFinal() - Method in class com.rsa.jsafe.JSAFE_Signature
Finalizes the signature process, appending the padding and creating the signature.
signFinal(byte[], int) - Method in class com.rsa.jsafe.JSAFE_Signature
Finalizes the signature process, appending the padding and creating the signature.
signInit(JSAFE_PrivateKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_Signature
Initializes this object to sign using the specified private key.
signInit(JSAFE_PrivateKey, JSAFE_Parameters, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_Signature
Initializes this object to sign using the specified private key and the systemParameters (if the system parameters are not part of the key).
signInit(JSAFE_PrivateKey, JSAFE_Parameters, SecureRandom, JSAFE_Session[]) - Method in class com.rsa.jsafe.JSAFE_Signature
Initializes this object to sign using the specified private key, systemParameters (if the system parameters are not part of the key) and sessions.
signReInit() - Method in class com.rsa.jsafe.JSAFE_Signature
Re-initializes this object to sign using the private key passed in during an earlier call to signInit().
signUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_Signature
Adds more data to sign.
start - Variable in class com.rsa.jsafe.JSAFE_KeyAttributes
 

T

TF_PRIVATE - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates, if set, that Crypto-J requests the generator to prevent the key data from leaving the device.
TF_RESIDE_ON_TOKEN - Static variable in class com.rsa.jsafe.JSAFE_KeyAttributes
Indicates, if set, the key should not leave the token; if not set, Crypto-J requests the generator to build the key, return all information, and not keep a copy.
tokenFlag - Variable in class com.rsa.jsafe.JSAFE_KeyAttributes
 

U

UNDER_SELF_TEST - Static variable in class com.rsa.jsafe.CryptoJ
Indicates that the toolkit is under self test
USER_ROLE - Static variable in class com.rsa.jsafe.CryptoJ
Denotes the normal user role.
unwrapPrivateKey(byte[], int, int, boolean) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method decrypts wrappedKey (of length keyLen, beginning at offset) and returns the result as a new JSAFE_PrivateKey.
unwrapPrivateKey(byte[], int, int, boolean, String) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method decrypts wrappedKey (of length keyLen, beginning at offset) and returns the result as a new JSAFE_PrivateKey object, the device of the resulting key described by unwrappedKeyDevice.
unwrapPublicKey(byte[], int, int, boolean) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method decrypts wrappedKey (of length keyLen, beginning at offset) and returns the result as a new JSAFE_PublicKey.
unwrapPublicKey(byte[], int, int, boolean, String) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method decrypts wrappedKey (of length keyLen, beginning at offset) and returns the result as a new JSAFE_PublicKey object where the device of the resulting key is described by unwrappedKeyDevice.
unwrapSecretKey(byte[], int, int, boolean, String) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Decrypts wrappedKey (of length keyLen, beginning at offset) and returns the result as a new JSAFE_SecretKey object.
unwrapSecretKey(byte[], int, int, boolean, String, String) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Decrypts wrappedKey (of length keyLen, beginning at offset) and returns the result as a new JSAFE_SecretKey object, the device of the resulting key described by unwrappedKeyDevice.
unwrapSecretKey(byte[], int, int, boolean, String) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method decrypts wrappedKey (of length keyLen, beginning at offset) and returns the result as a new JSAFE_SecretKey.
unwrapSecretKey(byte[], int, int, boolean, String, String) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method decrypts wrappedKey (of length keyLen, beginning at offset) and returns the result as a new JSAFE_SecretKey object where the device of the resulting key is described by unwrappedKeyDevice.

V

verifyFinal(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_MAC
Determines whether or not the MAC verifies an object by comparing it with a reference MAC.
verifyFinal(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_Signature
Finalizes the verification process, comparing the signature to the value determined in the verification process.
verifyInit(JSAFE_SecretKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_MAC
Initializes this object to verify using the specified secret key and random objects.
verifyInit(JSAFE_PublicKey, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_Signature
Initializes this object to verify using the specified public key.
verifyInit(JSAFE_PublicKey, JSAFE_Parameters, SecureRandom) - Method in class com.rsa.jsafe.JSAFE_Signature
Initializes this object to verify using key and the systemParameters (if the system parameters are not part of the key).
verifyInit(JSAFE_PublicKey, JSAFE_Parameters, SecureRandom, JSAFE_Session[]) - Method in class com.rsa.jsafe.JSAFE_Signature
Initializes this object to verify using the specified public key and the systemParameters (if the system parameters are not part of the key).
verifyReInit() - Method in class com.rsa.jsafe.JSAFE_MAC
Re-initializes this object to verify a MAC using the key passed in during a previous call to verifyInit().
verifyReInit() - Method in class com.rsa.jsafe.JSAFE_Signature
Re-initializes this object to verify signatures using the public key passed in during a previous call to verifyInit().
verifyUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_MAC
Updates the message verification by processing the first partInLen byte in the array partIn, beginning at offset.
verifyUpdate(byte[], int, int) - Method in class com.rsa.jsafe.JSAFE_Signature
Digests the first partInLen bytes of the array partIn, beginning at offset.

W

wrapPrivateKey(JSAFE_PrivateKey, boolean) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Encrypt the private key's data.
wrapPrivateKey(JSAFE_PrivateKey, boolean, String) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Encrypt the private key's data.
wrapPublicKey(JSAFE_PublicKey, boolean) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
This method encrypts keyToWrap.
wrapSecretKey(JSAFE_SecretKey, boolean) - Method in class com.rsa.jsafe.JSAFE_AsymmetricCipher
Encrypts the secret key, keyToWrap.
wrapSecretKey(JSAFE_SecretKey, boolean) - Method in class com.rsa.jsafe.JSAFE_SymmetricCipher
Encrypts keyToWrap.

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

RSA BSAFE Crypto-J 3.5.2