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

A

abs() - Method in class iaik.me.security.BigInteger
Return the absolute value of this.
add(BigInteger) - Method in class iaik.me.security.BigInteger
Return this + val.
addCertificateChainEntry(String, X509Certificate[]) - Method in class iaik.me.keymgmt.KeyStore
Adds a X509 certificate chain to the Keystore.
addCertificateEntry(String, X509Certificate) - Method in class iaik.me.keymgmt.KeyStore
Adds a certificate to the Keystore.
addElement(ASN1) - Method in class iaik.me.asn1.ASN1
Add an element to a structured type.
addKeyAndCertEntry(String, KeyAndCert) - Method in class iaik.me.keymgmt.KeyStore
Adds a KeyAndCert object containing a private key and the corresponsing certifacte(chain) to the keystore.
addKeyAndCertEntry(String, PrivateKey, X509Certificate[]) - Method in class iaik.me.keymgmt.KeyStore
Adds a private key and the corresponsing certifacte chain to the keystore.
addKeyEntry(String, PrivateKey) - Method in class iaik.me.keymgmt.KeyStore
Adds a PrivateKey object to the keystore.
addProvider() - Method in class demo.cipher.TCipher
 
addRDN(String, ASN1) - Method in class iaik.me.asn1.Name
Add a new RDN to this name.
addRDN(String, String) - Method in class iaik.me.asn1.Name
Add a new RDN to this name.
addSeed(byte[]) - Method in class iaik.me.security.SecureRandom
Add new entropy to the seed.
AESTest - class demo.cipher.aes.AESTest.
This class tests the 5 AES candidate algorithms using the official test files.
AESTest(String, InputStream, int, int, int) - Constructor for class demo.cipher.aes.AESTest
 
AESTest(String, InputStream, int, int, int, int) - Constructor for class demo.cipher.aes.AESTest
 
AESTest(String, String, int, int, int) - Constructor for class demo.cipher.aes.AESTest
 
AESTest(String, String, int, int, int, int) - Constructor for class demo.cipher.aes.AESTest
 
AESTest(String, String, String) - Constructor for class demo.cipher.aes.AESTest
 
AESTest(String, String, String, int) - Constructor for class demo.cipher.aes.AESTest
 
aliases() - Method in class iaik.me.keymgmt.KeyStore
Returns an enumeration of the aliases in this KeyStore.
ARCFOUR - class demo.cipher.ARCFOUR.
This class tests the correctness of the ARCFOUR implementation.
ARCFOUR - class iaik.me.security.cipher.ARCFOUR.
This class implements the ARCFOUR cipher as specified by the IETF draft "A Stream Cipher Encryption Algorithm 'Arcfour'" (draft-kaukonen-cipher-arcfour-03.txt).
ARCFOUR() - Constructor for class demo.cipher.ARCFOUR
 
ARCFOUR() - Constructor for class iaik.me.security.cipher.ARCFOUR
Constructor for the ARCFOUR cipher.
arrangeCertificateChain(PublicKey, Vector) - Static method in class iaik.me.x509.X509Certificate
 
arrangeCertificateChain(PublicKey, X509Certificate[]) - Static method in class iaik.me.x509.X509Certificate
 
ASN1 - class iaik.me.asn1.ASN1.
This class implements decoding and encoding of BER/DER encoded ASN.1 data.
ASN1(byte[]) - Constructor for class iaik.me.asn1.ASN1
 
ASN1(byte[], int, boolean) - Constructor for class iaik.me.asn1.ASN1
 
ASN1(InputStream) - Constructor for class iaik.me.asn1.ASN1
 
ASN1(InputStream, int, boolean) - Constructor for class iaik.me.asn1.ASN1
 
ASN1(int, Object) - Constructor for class iaik.me.asn1.ASN1
 
ASN1(int, Object, boolean) - Constructor for class iaik.me.asn1.ASN1
 

B

Base64 - class iaik.me.utils.Base64.
 
BigInteger - class iaik.me.security.BigInteger.
This class implements arbitrary precision long integer arithmetic.
BigInteger(byte[]) - Constructor for class iaik.me.security.BigInteger
Create BigInteger from 2's complement representation.
BigInteger(int, byte[]) - Constructor for class iaik.me.security.BigInteger
Create BigInteger from sign and magnitude representation.
BigInteger(int, SecureRandom) - Constructor for class iaik.me.security.BigInteger
Create a random BigInteger which is exactly numBits long.
BigInteger(String) - Constructor for class iaik.me.security.BigInteger
Create a BigInteger from a decimal String representation.
BigInteger(String, int) - Constructor for class iaik.me.security.BigInteger
Create a BigInteger from a String representation in the specified radix (2 <= radix <= 36).
bitCount() - Method in class iaik.me.security.BigInteger
Return the number of one bits in the binary complement representation of this number.
bitLength() - Method in class iaik.me.security.BigInteger
Return the index of the highest bit set.
buffer - Variable in class iaik.me.security.MessageDigest
Buffer, for use by implementations.
BYTEORDER_REV - Static variable in class demo.cipher.aes.AESTest
 
BYTEORDER_STD - Static variable in class demo.cipher.aes.AESTest
 

C

CA_DSA - Static variable in interface demo.keystore.KeyStoreConstants
 
CA_RSA - Static variable in interface demo.keystore.KeyStoreConstants
 
CertificateRequest - class iaik.me.keymgmt.CertificateRequest.
A PKCS#10 certificate request.
CertificateRequest(PublicKey, Name) - Constructor for class iaik.me.keymgmt.CertificateRequest
Create a certificate request for the given subject and public key.
chainingMode - Variable in class iaik.me.security.Cipher
Cipher chaining mode, either MODE_ECB or MODE_CBC.
checkValid(ASN1) - Static method in class iaik.me.asn1.Name
Check if the given ASN.1 structure is a valid X.500 name.
checkValidity() - Method in class iaik.me.x509.X509Certificate
This method checks the validity of the certificate.
checkValidity(Date) - Method in class iaik.me.x509.X509Certificate
This method checks the validity of the Certificate.
Cipher - class iaik.me.security.Cipher.
This is the base class for all cipher operations.
Cipher(int) - Constructor for class iaik.me.security.Cipher
Constructor for use by cipher implementations.
clear() - Static method in class demo.keystore.IaikKeyStore
 
clearASN1() - Method in class iaik.me.asn1.Name
Clear the internally stored ASN.1 structure.
clearEncoded() - Method in class iaik.me.asn1.Name
Clear the encoding for this name.
clearEncoding(boolean) - Method in class iaik.me.asn1.ASN1
Clear the cached encoding.
clone() - Method in class iaik.me.security.MessageDigest
Returns a clone of this object.
clone() - Method in class iaik.me.security.md.SHA
Returns a clone of this SHA Object.
clone() - Method in class iaik.me.security.md.MD5
Returns a clone of this Md5 Object.
clone() - Method in class iaik.me.security.md.SHA256
Returns a clone of this SHA256 Object.
clone() - Method in class iaik.me.security.md.MD2
Returns a clone of this MD2 Object.
commandAction(Command, Displayable) - Method in class demo.midp.MidletDES
CommandListener for Midlets.
commandAction(Command, Displayable) - Method in class demo.midp.MidletARCFOUR
CommandListener for Midlets.
commandAction(Command, Displayable) - Method in class demo.midp.MidletTripleDES
CommandListener for Midlets.
commandAction(Command, Displayable) - Method in class demo.midp.MidletAES
CommandListener for Midlets.
commandAction(Command, Displayable) - Method in class demo.midp.MidletRSA
Revceives commands from input etc. and processes them.
compareTo(BigInteger) - Method in class iaik.me.security.BigInteger
Compares this BigInteger to another
compress(byte[], int) - Method in class iaik.me.security.MessageDigest
Compression function, to be implemented by subclasses.
compress(byte[], int) - Method in class iaik.me.security.md.SHA
The heart of SHA.
compress(byte[], int) - Method in class iaik.me.security.md.MD5
The heart of MD5.
compress(byte[], int) - Method in class iaik.me.security.md.SHA256
The heart of this hash algorithm--the compression function.
compress(byte[], int) - Method in class iaik.me.security.md.MD2
The heart of MD2.
concat(byte[], byte[]) - Static method in class iaik.me.utils.Util
Concatenates two bytearrays and returns a new bytearray of the size form bytearray one plus the size from bytearray two.
copyBlock(byte[], byte[]) - Static method in class iaik.me.utils.CryptoUtils
Copies one byte block to another.
copyBlock(byte[], int, byte[], int, int) - Static method in class iaik.me.utils.CryptoUtils
Copies the specified byte sequence of the given source array to the specified destination array.
copyBlock(int[], int[]) - Static method in class iaik.me.utils.CryptoUtils
Copies one int block to another.
copyBlock(int[], int, int[], int, int) - Static method in class iaik.me.utils.CryptoUtils
Copies the specified int sequence of the given source array to the specified destination array.
count - Variable in class iaik.me.security.MessageDigest
Count of the number of bytes processed so far, for use by implementations.
countTokens() - Method in class iaik.me.utils.SimpleStringTokenizer
Counts the number of tokens in the string.
CreateCertificateRequest - class demo.keymgmt.CreateCertificateRequest.
 
CreateCertificateRequest() - Constructor for class demo.keymgmt.CreateCertificateRequest
 
cryptBlock(byte[], int, byte[], int) - Method in class iaik.me.security.Cipher
Encrypt one block.
cryptBlock(byte[], int, byte[], int) - Method in class iaik.me.security.cipher.RC2
 
cryptBlock(byte[], int, byte[], int) - Method in class iaik.me.security.cipher.IDEA
 
cryptBlock(byte[], int, byte[], int) - Method in class iaik.me.security.cipher.DES
 
cryptBlock(byte[], int, byte[], int) - Method in class iaik.me.security.cipher.Rijndael
 
cryptBlock(byte[], int, byte[], int) - Method in class iaik.me.security.cipher.TripleDES
 
CryptoBag - class iaik.me.security.CryptoBag.
This is the central class for keying material and parameters.
CryptoBag(ASN1) - Constructor for class iaik.me.security.CryptoBag
Creates a CryptoBag from its ASN.1 object representing an DSA or DH algorithmID with parameters included.
CryptoException - exception iaik.me.security.CryptoException.
 
CryptoException() - Constructor for class iaik.me.security.CryptoException
 
CryptoException(String) - Constructor for class iaik.me.security.CryptoException
 
CryptoUtils - class iaik.me.utils.CryptoUtils.
 
CS0 - Static variable in class iaik.me.asn1.ASN1
Tag for [0] (context specific 0).
CS1 - Static variable in class iaik.me.asn1.ASN1
Tag for [1] (context specific 1).
CS2 - Static variable in class iaik.me.asn1.ASN1
Tag for [2] (context specific 2).
CS3 - Static variable in class iaik.me.asn1.ASN1
Tag for [3] (context specific 3).

D

decode(String) - Static method in class iaik.me.utils.Base64
Decodes a Base64 string into a bytearray.
decodeByteArray(String) - Static method in class iaik.me.utils.Util
Decodes a given Base64 coded string and returns the values in a byte array.
decodeIntArray(String) - Static method in class iaik.me.utils.Util
Decodes a given Base64 coded string and returns the values in an integerarray.
DECRYPT_MODE - Static variable in class iaik.me.security.Cipher
Constant specifying decryption mode.
decrypt(char[]) - Method in class iaik.me.keymgmt.PKCS12
Decrypt the PKCS#12 file and return the contained private key and certificates.
decrypt(char[]) - Method in class iaik.me.keymgmt.EncryptedPrivateKey
Decrypt the key using the given password and return it.
decrypt(Cipher, byte[], Vector) - Method in class demo.cipher.MultipartEncryption
Performs the actual decryption operation.
deleteEntry(String) - Method in class iaik.me.keymgmt.KeyStore
Deletes an entry from the keystore.
delimiter - Static variable in class demo.utils.SimpleStringTokenizerDemo
 
demo - package demo
 
demo.cipher - package demo.cipher
 
demo.cipher.aes - package demo.cipher.aes
 
demo.keymgmt - package demo.keymgmt
 
demo.keystore - package demo.keystore
 
demo.md - package demo.md
 
demo.midp - package demo.midp
 
demo.midp.pem - package demo.midp.pem
 
demo.utils - package demo.utils
 
DES - class demo.cipher.DES.
This class tests the correctness of the DES and Triple-DES implementation.
DES - class iaik.me.security.cipher.DES.
 
DES() - Constructor for class demo.cipher.DES
 
DES() - Constructor for class iaik.me.security.cipher.DES
Constructor for the DES cipher.
destroyApp(boolean) - Method in class demo.midp.MidletDES
Destroy must cleanup everything.
destroyApp(boolean) - Method in class demo.midp.MidletARCFOUR
Destroy must cleanup everything.
destroyApp(boolean) - Method in class demo.midp.MidletTripleDES
Destroy must cleanup everything.
destroyApp(boolean) - Method in class demo.midp.MidletAES
Destroy must cleanup everything.
destroyApp(boolean) - Method in class demo.midp.MidletRSA
Destroy must cleanup everything.
destroyApp(boolean) - Method in class demo.midp.pem.PEMDemo
 
DH - Static variable in class demo.keystore.IaikKeyStore
 
DH_1024 - Static variable in interface demo.keystore.KeyStoreConstants
 
DH_2048 - Static variable in interface demo.keystore.KeyStoreConstants
 
DH_512 - Static variable in interface demo.keystore.KeyStoreConstants
 
digest() - Method in class iaik.me.security.MessageDigest
Computes the digest.
digest(byte[]) - Method in class iaik.me.security.MessageDigest
Computes the digest.
digest(byte[], int) - Method in class iaik.me.security.MessageDigest
Performs the final padding operations and computes the digest.
digest(byte[], int) - Method in class iaik.me.security.md.SHA
SPI: Returns the result of this hash computation and resets this SHA message digest object for being supplied with new data to be hashed.
digest(byte[], int) - Method in class iaik.me.security.md.MD5
SPI: Returns the result of this hash computation and resets this MD5 message digest object for being supplied with new data to be hashed.
digest(byte[], int) - Method in class iaik.me.security.md.SHA256
Get digest value of the hash, but do not reset the hash automatically.
digest(byte[], int) - Method in class iaik.me.security.md.MD2
SPI: Returns the result of this hash computation and resets this MD2 message digest object for being supplied with new data to be hashed.
digestLength - Variable in class iaik.me.security.MessageDigest
 
divide(BigInteger) - Method in class iaik.me.security.BigInteger
Calculate this divided by m.
divideAndRemainder(BigInteger) - Method in class iaik.me.security.BigInteger
Divide this by val and return the result and the remainder.
doFinal() - Method in class iaik.me.security.Mac
 
doFinal(byte[]) - Method in class iaik.me.security.Cipher
Encrypt the given data performing padding and return the result in a new byte array.
doFinal(byte[]) - Method in class iaik.me.security.Mac
 
doFinal(byte[]) - Method in class iaik.me.security.rsa.RSA
Performs a modulo exponentiation.
doFinal(byte[], int) - Method in class iaik.me.security.Mac
 
doFinal(byte[], int, int, byte[], int) - Method in class iaik.me.security.Cipher
Encrypt the given data performing final padding operations.
doFinal(byte[], int, int, byte[], int) - Method in class iaik.me.security.rsa.RSA
 
DSA - Static variable in class demo.keystore.IaikKeyStore
 
DSA_1024 - Static variable in interface demo.keystore.KeyStoreConstants
 
DSA_2048 - Static variable in interface demo.keystore.KeyStoreConstants
 
DSA_512 - Static variable in interface demo.keystore.KeyStoreConstants
 
DSAKeyPairGenerator - class iaik.me.security.dsa.DSAKeyPairGenerator.
 
DSAKeyPairGenerator() - Constructor for class iaik.me.security.dsa.DSAKeyPairGenerator
 
DSASignature - class iaik.me.security.dsa.DSASignature.
 
DSASignature() - Constructor for class iaik.me.security.dsa.DSASignature
 

E

encode(byte[]) - Static method in class iaik.me.utils.Base64
Encodes a bytearray into a Base64 string.
encode(byte[], int, int) - Static method in class iaik.me.utils.Base64
Encodes a bytearray into a Base64 string.
ENCRYPT_MODE - Static variable in class iaik.me.security.Cipher
Constant specifying encryption mode.
encrypt(char[]) - Method in class iaik.me.keymgmt.PKCS12
 
encrypt(char[], String, int) - Method in class iaik.me.keymgmt.PKCS12
 
encrypt(Cipher, byte[], Vector) - Method in class demo.cipher.MultipartEncryption
Performs the actual encryption operation.
encrypt(PrivateKey, char[], String, int) - Static method in class iaik.me.keymgmt.EncryptedPrivateKey
Encrypt the given PrivateKey using password and parameters and return its ASN.1 structure.
EncryptedPrivateKey - class iaik.me.keymgmt.EncryptedPrivateKey.
A PKCS#8 EncryptedPrivateKeyInfo.
EncryptedPrivateKey(ASN1) - Constructor for class iaik.me.keymgmt.EncryptedPrivateKey
Parse an encrypted private key from its ASN1 structure.
EncryptedPrivateKey(InputStream) - Constructor for class iaik.me.keymgmt.EncryptedPrivateKey
Parse an encrypted private key from an InputStream.
equals(Object) - Method in class iaik.me.asn1.ASN1
Compare this and another ASN1 object.
equals(Object) - Method in class iaik.me.asn1.Name
Test to names for equality.
equals(Object) - Method in class iaik.me.keymgmt.KeyAndCert
Test two objects for equality.
equals(Object) - Method in class iaik.me.security.BigInteger
Test two objects for equality.
equals(Object) - Method in class iaik.me.security.CryptoBag
 
equals(Object) - Method in class iaik.me.x509.X509Certificate
Compares two certificate objects.
equals(Object, Object) - Static method in class iaik.me.utils.Util
Indicates whether some other object is "equal to" this one.
equalsBlock(byte[], byte[]) - Static method in class iaik.me.utils.CryptoUtils
Checks two byte blocks for equality.
equalsBlock(byte[], int, byte[], int, int) - Static method in class iaik.me.utils.CryptoUtils
Check the specified sub-sequences of the given byte arrays for equality.
extensions() - Method in class iaik.me.x509.X509Certificate
Returns an enumeration of the certificate's extensions.
Enumeration e = x509.extensions(); while (e.hasMoreElements()) { System.out.println((X509Extension)e.nextElement()); }
extractIV(int, Object, SecureRandom) - Method in class iaik.me.security.Cipher
 

F

fileOperations() - Method in class demo.utils.SysUtilTest
Tests the io functions.
format(long, int, int) - Static method in class demo.TestSpeed
Converts the input double number to an appropriate output string format.

G

gcd(BigInteger) - Method in class iaik.me.security.BigInteger
Return the greatest common divisor of this and m.
generateKeyPair() - Method in class iaik.me.security.KeyPairGenerator
This method generates a new keypair with the previously initialized parameters and returns it as a CryptoBag object.
generateKeyPair() - Method in class iaik.me.security.dsa.DSAKeyPairGenerator
Starts the generation of the DSA keypair.
generateKeyPair() - Method in class iaik.me.security.rsa.RSAKeyPairGenerator
 
generateTestData(int) - Method in class demo.cipher.MultipartEncryption
Generates some random data.
getAlgorithm() - Method in class iaik.me.security.MessageDigest
Returns the name of the used digest algorithm.
getAlgorithm() - Method in class iaik.me.security.Signature
Returns the used signature algorithm of the instance.
getASCIIReader(InputStream) - Static method in class iaik.me.utils.Util
Fertches a reader that returns data from the stream assuming that ASCII encoding is used.
getASCIIWriter(OutputStream) - Static method in class iaik.me.utils.Util
Fetches a writer that writes data to the stream in ASCII encoding.
getASN1() - Method in class iaik.me.asn1.Name
Get the ASN.1 structure for this name.
getASN1() - Method in class iaik.me.security.PBE
 
getASN1() - Method in class iaik.me.security.CryptoBag
Returns this CryptoBag as ASN.1 object representing an DSA or DH algorithmID with parameters included.
getASN1() - Method in class iaik.me.security.PublicKey
Fetches the ASN1 representation of the PublicKey.
getASN1() - Method in class iaik.me.security.PrivateKey
 
getBigInteger(int) - Method in class iaik.me.security.CryptoBag
Gets a BigInteger component out of the CryptoBag.
getBlockSize() - Method in class iaik.me.security.Cipher
Return the block size in byte for this cipher, e.g. 8 for IDEA.
getBoolean(int) - Method in class iaik.me.x509.X509Extension
Returns an extension value as Boolean.
getByteArray(int) - Method in class iaik.me.security.CryptoBag
Gets a byte array component out of the CryptoBag.
getByteArray(int) - Method in class iaik.me.x509.X509Extension
This method returns a specific extension value as Object.
getCaCertificate(int) - Static method in class demo.keystore.IaikKeyStore
Returns a demo CA certificate.
getCaPrivateKey(int) - Static method in class demo.keystore.IaikKeyStore
Returns the private key of a CA certificate.
getCertificateChain() - Method in class iaik.me.keymgmt.KeyAndCert
Get the certificate chain.
getCertificateChain(int, int) - Static method in class demo.keystore.IaikKeyStore
Returns a demo user certificate.
getCertificateChain(String) - Method in class iaik.me.keymgmt.KeyStore
Returns the certificate chain specified by the given alias or null if the chain is not in the keystore.
If the alias points to a iaik.me.keymgmt.KeyAndCert object, the certificatechain of this object is returned.
This method is also used to retrieve single certificates from the keystore.
getCertificateList() - Method in class iaik.me.keymgmt.PKCS7CertList
 
getCipher(ASN1, char[]) - Static method in class iaik.me.security.PBE
 
getCipher(int, char[], byte[], int, SecureRandom) - Method in class iaik.me.security.PBE
Returns the corresponding PBE cipher.
getCryptoBag(int) - Method in class iaik.me.security.CryptoBag
Gets a CryptoBag component out of the CryptoBag.
getDefault() - Static method in class iaik.me.security.SecureRandom
Get a new random number generator of the system default type.
getDigestLength() - Method in class iaik.me.security.MessageDigest
Returns the length of the digestalgorithm output in bytes.
getElementAt(int) - Method in class iaik.me.asn1.ASN1
Get an element of a structured type.
getEncoded() - Method in class iaik.me.asn1.ASN1
Get the encoding of this object.
getEncoded() - Method in class iaik.me.asn1.Name
Get the DER encoding of this name.
getEncoded() - Method in class iaik.me.security.CryptoBag
Returns this CryptoBag as DER encoded byte array.
getEncoded() - Method in class iaik.me.x509.X509Certificate
getNotBefore()
getEncodedDigestInfo() - Method in class iaik.me.security.MessageDigest
Returns the pregenerated ASN1 encoding of the DigestInfo structure for the corresponding digest algorithm, see .
getEncodedDigestInfo() - Method in class iaik.me.security.md.SHA
 
getEncodedDigestInfo() - Method in class iaik.me.security.md.MD5
 
getEncodedDigestInfo() - Method in class iaik.me.security.md.SHA256
 
getEncodedDigestInfo() - Method in class iaik.me.security.md.MD2
 
getEncodedDigestInfo() - Method in class iaik.me.security.md.SHA224
 
getEntry(String) - Method in class iaik.me.keymgmt.KeyStore
Returns an entry from the keystore of arbitrary type which is define by its alias (for those who have forgotten of what kind the entry is).
The type of the entry can be determined this way:
Object thing = keystore.getEntry("myalias");
if( thing instanceof X509Certificate[] ) {
// certificate (chain)
} else if( thing instanceof KeyAndCert ) {
// KeyAndCert object
} else if ( thing instanceof PrivateKey ) {
// Private key object
}
getEnumeration(int) - Method in class iaik.me.x509.X509Extension
This method returns an enumeration of all values a parameter can have.
getExtension(String) - Method in class iaik.me.x509.X509Certificate
This method returns a specific certificate Extension.
getInstance(String) - Static method in class iaik.me.security.MessageDigest
Returns an instance of the MessageDigest with the given name.
getInstance(String) - Static method in class iaik.me.security.PBE
 
getInstance(String) - Static method in class iaik.me.security.KeyPairGenerator
This method instatiates a new KeyPairGenerator.
getInstance(String) - Static method in class iaik.me.security.Signature
Creates a Signature instance with the specified algorithm.
getInstance(String) - Static method in class iaik.me.security.Cipher
Returns a cipher implementation.
getInstance(String) - Static method in class iaik.me.security.Mac
 
getInstance(String, int, int, int, byte[]) - Static method in class iaik.me.security.PBE
Returns a PBE cipher. if algorithm is null, the Triples DES cipher will be used.
getInteger(int) - Method in class iaik.me.x509.X509Extension
Returns an extension value as Integer.
getIssuerDN() - Method in class iaik.me.x509.X509Certificate
Returns the certificate's issuer name.
getIterationCount() - Method in class iaik.me.security.PBE
 
getIV() - Method in class iaik.me.security.Cipher
Returns the IV as a cryptobag object or null if no IV is available.
getKeyAndCert(String) - Method in class iaik.me.keymgmt.KeyStore
Return the KeyAndCert with the given alias or null if the object can not be found within the keystore.
getKeyLength() - Method in class iaik.me.security.CryptoBag
 
getKeyLength() - Method in class iaik.me.security.Cipher
Return the valid key lengths for this cipher.
getKeyLength() - Method in class iaik.me.security.cipher.RC2
 
getKeyLength() - Method in class iaik.me.security.cipher.IDEA
 
getKeyLength() - Method in class iaik.me.security.cipher.DES
 
getKeyLength() - Method in class iaik.me.security.cipher.Rijndael
 
getKeyLength() - Method in class iaik.me.security.cipher.ARCFOUR
Returns information about the ARCFOUR key lenghts.
[0] is the minumum keykength (8 bit for ARCFOUR)
[1] is the recommended default length (128 bit).
getKeyLength() - Method in class iaik.me.security.cipher.TripleDES
 
getKeyLength() - Method in class iaik.me.security.rsa.RSA
 
getLineReader(Reader) - Static method in class iaik.me.utils.SysUtil
In case of the J2SE it turns the Reader into a BufferedReader.
getLineWriter(Writer) - Static method in class iaik.me.utils.SysUtil
In case of the J2SE it turns the Writer into a PrintWriter.
getLowestSetBit() - Method in class iaik.me.security.BigInteger
Get the index of the lowest bit set.
getMac(ASN1, char[]) - Static method in class iaik.me.security.PBE
 
getMac(char[], byte[], int, SecureRandom) - Method in class iaik.me.security.PBE
 
getMacLength() - Method in class iaik.me.security.Mac
Returns the length of the calculated MAC value in bytes.
getName(String) - Static method in class iaik.me.asn1.ASN1
Get the algorithm name associated with the given object id.
getNotAfter() - Method in class iaik.me.x509.X509Certificate
Returns the certificate's ending of validity.
getNotBefore() - Method in class iaik.me.x509.X509Certificate
Returns the certificate's beginning of validity.
getObjectID() - Method in class iaik.me.x509.X509Extension
Returns the Object ID of the current Extension.
getObjectId(String) - Static method in class iaik.me.asn1.ASN1
Return the ObjectId associated with the given algorithm name.
getPrivateKey() - Method in class iaik.me.keymgmt.KeyAndCert
Get the private key.
getPrivateKey(int, int) - Static method in class demo.keystore.IaikKeyStore
Returns the private key of a CA certificate.
getPrivateKey(String) - Method in class iaik.me.keymgmt.KeyStore
Returns the private key that is specified by the given alias or null if the key is not in the keystore.
If the alias points to a KeyAndCert object, the private key of that object is returned.
getPublicKey() - Method in class iaik.me.security.PrivateKey
 
getPublicKey() - Method in class iaik.me.x509.X509Certificate
Returns the public key of the X509 certificate.
getRDN(String) - Method in class iaik.me.asn1.Name
Get the value for oid.
getRDNs(String) - Method in class iaik.me.asn1.Name
Get all values for oid.
getSalt() - Method in class iaik.me.security.PBE
Returns the salt the was used for the last key derivation operation.
getSeedGenerator() - Static method in class iaik.me.security.SecureRandom
Get the system default seed generator.
getSerialNumber() - Method in class iaik.me.x509.X509Certificate
Returns the serialnumber of the X509 certificate.
getSigAlgOID() - Method in class iaik.me.x509.X509Certificate
Returns the signature algorithm ID.
getSize() - Method in class iaik.me.asn1.ASN1
Get the number of elements in this structured type.
getString(int) - Method in class iaik.me.x509.X509Extension
Returns an extension value as String.
getSubjectDN() - Method in class iaik.me.x509.X509Certificate
Returns the certificate's subject.
getSystemProperties() - Method in class demo.utils.Properties
 
getSysUtil() - Static method in class iaik.me.utils.SysUtil
Returns the currently used SysUtil class.
getTagClass() - Method in class iaik.me.asn1.ASN1
Get the tag class for this object.
getType() - Method in class iaik.me.asn1.ASN1
Get the tag of this ASN.1 object.
getType() - Method in class iaik.me.security.CryptoBag
 
getTypeOnly() - Method in class iaik.me.asn1.ASN1
Get the type of this ASN.1 object without the tag class.
getUnusedBits() - Method in class iaik.me.asn1.ASN1
Returns the number of unused bits if the ANS.1 type is a BIT STRING.
getValue(int) - Method in class iaik.me.x509.X509Extension
This method returns a specific extension value as Object.
getVersion() - Method in class iaik.me.x509.X509Certificate
Returns the version number of the X509 Certificate.
gvAlgorithm() - Method in class iaik.me.asn1.ASN1
Get the algorithm value of this AlgorithmID object.
gvASN1() - Method in class iaik.me.asn1.ASN1
Get the value as an ASN1 object.
gvBigInteger() - Method in class iaik.me.asn1.ASN1
Get the value as BigInteger.
gvBoolean() - Method in class iaik.me.asn1.ASN1
Get the value as a boolean.
gvByteArray() - Method in class iaik.me.asn1.ASN1
Get the value as a byte array.
gvDate() - Method in class iaik.me.asn1.ASN1
Get the value as a Date.
gvInt() - Method in class iaik.me.asn1.ASN1
Get the value as an int.
gvObject() - Method in class iaik.me.asn1.ASN1
Get the value as Object.
gvObjectId() - Method in class iaik.me.asn1.ASN1
Get the value as a object id.
gvString() - Method in class iaik.me.asn1.ASN1
Get the value as a String.
gvVector() - Method in class iaik.me.asn1.ASN1
Get the value as a Vector.

H

hashCode() - Method in class iaik.me.asn1.ASN1
Get a hashCode for this ASN1 object.
hashCode() - Method in class iaik.me.asn1.Name
 
hashCode() - Method in class iaik.me.security.BigInteger
Return a hash code for this object.
hashCode() - Method in class iaik.me.security.CryptoBag
 
hashCode() - Method in class iaik.me.x509.X509Certificate
Returns a specific hash value from the X509Certificate object.
hashCode(byte[]) - Static method in class iaik.me.utils.Util
Generates a hashcode from a given bytearray.
hashCode(Object) - Static method in class iaik.me.utils.Util
Generates a hashcode for a given object.
hasMoreTokens() - Method in class iaik.me.utils.SimpleStringTokenizer
Returns true if a string has more tokens.
HMac - class demo.md.HMac.
This class tests HMac implementation using MD5 as hash algorithm as specified in RFC 2104.
HMac() - Constructor for class demo.md.HMac
 
hmac(String, byte[], byte[], byte[]) - Method in class demo.md.HMac
Computes the HMAC on the given data using the given key, and compares the result with the given pre-computed correct value.

I

iaik.me.asn1 - package iaik.me.asn1
 
iaik.me.keymgmt - package iaik.me.keymgmt
 
iaik.me.security - package iaik.me.security
 
iaik.me.security.cipher - package iaik.me.security.cipher
 
iaik.me.security.dsa - package iaik.me.security.dsa
 
iaik.me.security.md - package iaik.me.security.md
 
iaik.me.security.rsa - package iaik.me.security.rsa
 
iaik.me.utils - package iaik.me.utils
 
iaik.me.x509 - package iaik.me.x509
 
IaikKeyStore - class demo.keystore.IaikKeyStore.
 
IaikKeyStore() - Constructor for class demo.keystore.IaikKeyStore
 
IDEA - class demo.cipher.IDEA.
This class tests the correctness of the IDEA implementation.
IDEA - class iaik.me.security.cipher.IDEA.
 
IDEA() - Constructor for class demo.cipher.IDEA
 
IDEA() - Constructor for class iaik.me.security.cipher.IDEA
 
increment(byte[]) - Static method in class iaik.me.utils.Util
Increments each value of a byte array (b[0]++, b[1]++ ...).
init(CryptoBag, CryptoBag) - Method in class iaik.me.security.Mac
 
init(int, CryptoBag) - Method in class iaik.me.security.Cipher
Initialize this cipher.
init(int, CryptoBag, Object, SecureRandom) - Method in class iaik.me.security.Cipher
Initialize this cipher.
init(int, CryptoBag, Object, SecureRandom) - Method in class iaik.me.security.cipher.RC2
 
init(int, CryptoBag, Object, SecureRandom) - Method in class iaik.me.security.cipher.IDEA
 
init(int, CryptoBag, Object, SecureRandom) - Method in class iaik.me.security.cipher.DES
Initializes this DES cipher with proper key and algorithm parameters, and some random seed.
init(int, CryptoBag, Object, SecureRandom) - Method in class iaik.me.security.cipher.Rijndael
 
init(int, CryptoBag, Object, SecureRandom) - Method in class iaik.me.security.cipher.ARCFOUR
Initializes this ARCFOUR cipher with proper key and algorithm parameters, and some random seed.
init(int, CryptoBag, Object, SecureRandom) - Method in class iaik.me.security.cipher.TripleDES
Initializes this DES cipher with proper key and algorithm parameters, and some random seed.
init(int, CryptoBag, Object, SecureRandom) - Method in class iaik.me.security.rsa.RSA
Initializes this RSA cipher with the given key.
initialize(int, Object, SecureRandom) - Method in class iaik.me.security.KeyPairGenerator
This method initializes the keypairgenerator with specific parameters.
For the parameters, see the details of the RSA- and DSA keypairgenerator implementation ( RSAKeyPairGenerator and DSAKeyPairGenerator ).
initialize(int, Object, SecureRandom) - Method in class iaik.me.security.dsa.DSAKeyPairGenerator
Initializes the DSA keypairgenerator.
initialize(int, Object, SecureRandom) - Method in class iaik.me.security.rsa.RSAKeyPairGenerator
The KeypairGenerator can be provided with the following paramters:
the keylength of the requested key an optional exponent value (If this value is not defined a preset value will be used) a secure random number generator
Typical values for the public exponent are the Fermat primes F4 and F0 (0x10001 and 0x11) and, less commonly, 17.
initNative(boolean) - Static method in class iaik.me.security.BigInteger
Initialize the native code.
initSign(PrivateKey, SecureRandom) - Method in class iaik.me.security.Signature
Initializes the signature instance for signing with a private key and a random number generator.
initSign(PrivateKey, SecureRandom) - Method in class iaik.me.security.dsa.DSASignature
 
initSign(PrivateKey, SecureRandom) - Method in class iaik.me.security.rsa.RSASignature
Inits the RSASignature object for signing.
initVerify(PublicKey) - Method in class iaik.me.security.Signature
Initializes the signature instance for verifiying a signature.
initVerify(PublicKey) - Method in class iaik.me.security.dsa.DSASignature
 
initVerify(PublicKey) - Method in class iaik.me.security.rsa.RSASignature
Inits the RSASignature object for verifying a signature.
intValue() - Method in class iaik.me.security.BigInteger
Return the value of this as a int.
isAvailable(String) - Static method in class iaik.me.utils.Util
Checks whether a given class is available or not.
isConstructed() - Method in class iaik.me.asn1.ASN1
Check whether this type uses constructed encoding.
isCritical() - Method in class iaik.me.x509.X509Extension
This method returns the critical flag if the extension.
isNull(Object[]) - Static method in class iaik.me.utils.Util
Checks if the objectarray is set to null.
isObjectId(String) - Static method in class iaik.me.asn1.ASN1
Return whether or not the string represents an ObjectId.
iv - Variable in class iaik.me.security.Cipher
IV as byte array
IV_PASSWORD_BASED - Static variable in class iaik.me.security.PBE
 
IV_RANDOM - Static variable in class iaik.me.security.PBE
 

K

KDF_PKCS12 - Static variable in class iaik.me.security.PBE
 
KDF_PKCS5V1 - Static variable in class iaik.me.security.PBE
 
KDF_PKCS5V2 - Static variable in class iaik.me.security.PBE
 
KeyAndCert - class iaik.me.keymgmt.KeyAndCert.
This class stores a key and the corresponding certificate chain.
KeyAndCert(X509Certificate[], PrivateKey) - Constructor for class iaik.me.keymgmt.KeyAndCert
Create a new KeyAndCert object.
KeyPairGenerator - class iaik.me.security.KeyPairGenerator.
This class is used for generating keypairs for asymetric, cryptographic systems like RSA and DSA.
To create a keypair, just fetch an instance of a keypairgenerator and initialize it with the corresponding values: KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA");
kpg.initialize(2048, null, secrandom);
CryptoBag keyPair = kpg.generateKeyPair();
Currently, the aliases RSA and DSA ( for RSA and DSA keypairgenerators) are supported.
KeyPairGenerator() - Constructor for class iaik.me.security.KeyPairGenerator
 
KeyStore - class iaik.me.keymgmt.KeyStore.
This class encodes and decodes IAIK-JCE-ME KeyStores.
KeyStore() - Constructor for class iaik.me.keymgmt.KeyStore
Creates a new empty KeyStore.
KeyStore(InputStream, char[]) - Constructor for class iaik.me.keymgmt.KeyStore
Reads a keystore from the given InputStream.
KeyStoreConstants - interface demo.keystore.KeyStoreConstants.
 
KS_FILENAME - Static variable in interface demo.keystore.KeyStoreConstants
 
KS_PASSWORD - Static variable in interface demo.keystore.KeyStoreConstants
 
KU_CRL_SIGN - Static variable in class iaik.me.x509.X509Extension
 
KU_DATA_ENCIPHERMENT - Static variable in class iaik.me.x509.X509Extension
 
KU_DECIPHER_ONLY - Static variable in class iaik.me.x509.X509Extension
 
KU_DIGITAL_SIGNATURE - Static variable in class iaik.me.x509.X509Extension
 
KU_ENCIPHER_ONLY - Static variable in class iaik.me.x509.X509Extension
 
KU_KEY_AGREEMENT - Static variable in class iaik.me.x509.X509Extension
 
KU_KEY_CERT_SIGN - Static variable in class iaik.me.x509.X509Extension
 
KU_KEY_ENCIPHERMENT - Static variable in class iaik.me.x509.X509Extension
 
KU_NON_REPUDIATION - Static variable in class iaik.me.x509.X509Extension
 

L

loadClass(String) - Static method in class iaik.me.utils.Util
Loads a given class via the Class.forName(....) method.
loadLibrary(String) - Static method in class iaik.me.utils.SysUtil
Loads a native code library.
longValue() - Method in class iaik.me.security.BigInteger
Return the value of this as a long.

M

Mac - class iaik.me.security.Mac.
This class extends the javax.crypto.MACSpi class for providing the functionality of the HMAC(Keyed-Hashing for Message Authentication) algorithm, as specified in RFC 2104.
Mac() - Constructor for class iaik.me.security.Mac
 
Mac(MessageDigest) - Constructor for class iaik.me.security.Mac
 
main(String[]) - Static method in class demo.TestSpeed
Processes various algorithm implementations to measure the speed.
main(String[]) - Static method in class demo.TestAll
Performs all tests.
main(String[]) - Static method in class demo.RSADemo2
 
main(String[]) - Static method in class demo.TestSignature
Performs a test for the implemented signature algorithms.
main(String[]) - Static method in class demo.RSA
Starts the RSA cipher implementation test.
main(String[]) - Static method in class demo.cipher.RC2
Performs some tests for RC2.
main(String[]) - Static method in class demo.cipher.MultipartEncryption
 
main(String[]) - Static method in class demo.cipher.DES
Performs some tests for DES and Triple-DES.
main(String[]) - Static method in class demo.cipher.IDEA
Performs some tests for IDEA.
main(String[]) - Static method in class demo.cipher.ARCFOUR
Performs some tests for ARCFOUR.
main(String[]) - Static method in class demo.cipher.aes.AESTest
Test all the algorithms.
main(String[]) - Static method in class demo.cipher.aes.Rijndael
Performs some tests for Rijndael.
main(String[]) - Static method in class demo.keymgmt.PKCS12Demo
Performs some tests for DES and Triple-DES.
main(String[]) - Static method in class demo.keymgmt.CreateCertificateRequest
Performs some tests for DES and Triple-DES.
main(String[]) - Static method in class demo.md.HMac
Performs some tests for HMAC.
main(String[]) - Static method in class demo.md.MD
Performs some tests for MD.
main(String[]) - Static method in class demo.midp.MidletDES
 
main(String[]) - Static method in class demo.midp.MidletARCFOUR
 
main(String[]) - Static method in class demo.midp.MidletTripleDES
 
main(String[]) - Static method in class demo.midp.MidletRSA
 
main(String[]) - Static method in class demo.midp.pem.PEMDemo
 
main(String[]) - Static method in class demo.utils.Properties
 
main(String[]) - Static method in class demo.utils.SysUtilTest
 
main(String[]) - Static method in class demo.utils.SimpleStringTokenizerDemo
 
main0(TCipher, String[]) - Static method in class demo.cipher.TCipher
 
makeAlgorithmId(String, ASN1) - Static method in class iaik.me.asn1.ASN1
Creates a ASN.1 AlgorithmID structure.
makeDHParameters(BigInteger, BigInteger) - Static method in class iaik.me.security.CryptoBag
Creates a CryptoBag for the given DH parameters.
makeDHPrivateKey(BigInteger, CryptoBag) - Static method in class iaik.me.security.PrivateKey
 
makeDHPublicKey(BigInteger, CryptoBag) - Static method in class iaik.me.security.PublicKey
Generates a new DifffieHellman public key.
makeDSAParameters(BigInteger, BigInteger, BigInteger) - Static method in class iaik.me.security.CryptoBag
Creates a CryptoBag for the given DSA parameters.
makeDSAPrivateKey(BigInteger, CryptoBag) - Static method in class iaik.me.security.PrivateKey
 
makeDSAPublicKey(BigInteger, CryptoBag) - Static method in class iaik.me.security.PublicKey
Generates a new DSA public key.
makeIV(byte[]) - Static method in class iaik.me.security.CryptoBag
Creates a CryptoBag for the given initialization vector.
makeKeyPair(PublicKey, PrivateKey) - Static method in class iaik.me.security.CryptoBag
Creates a CryptoBag for the given key pair.
makeRSAPrivateKey(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger) - Static method in class iaik.me.security.PrivateKey
 
makeRSAPublicKey(BigInteger, BigInteger) - Static method in class iaik.me.security.PublicKey
Makes a RSA public key from modulus, exponent representation.
makeSecretKey(byte[]) - Static method in class iaik.me.security.CryptoBag
Creates a CryptoBag for the given raw secret key encoding.
makeSequence(int) - Static method in class iaik.me.asn1.ASN1
Make an ASN.1 sequence.
makeSignatureAlgId(String, ASN1) - Static method in class iaik.me.asn1.ASN1
Creates a ASN.1 AlgorithmID structure {@see makeAlgorithmId( String, ASN1 ); } for digital signatures.
makeString(String) - Static method in class iaik.me.asn1.ASN1
Make an ASN.1 string type from s suitable for use in a X.500 name.
max(BigInteger) - Method in class iaik.me.security.BigInteger
Return the larger number of this and val.
max(int, int) - Static method in class iaik.me.utils.Util
Returns the bigger one of two integers.
md - Variable in class iaik.me.security.Signature
 
MD - class demo.md.MD.
 
MD() - Constructor for class demo.md.MD
 
md(String, byte[], byte[]) - Method in class demo.md.MD
 
MD2 - class iaik.me.security.md.MD2.
 
MD2() - Constructor for class iaik.me.security.md.MD2
 
MD5 - class iaik.me.security.md.MD5.
This class implements the MD5 message digest algorithm.
MD5() - Constructor for class iaik.me.security.md.MD5
Creates a new MD5 message digest object.
MessageDigest - class iaik.me.security.MessageDigest.
This is the main class for digest computation.
MessageDigest(int) - Constructor for class iaik.me.security.MessageDigest
Constructor for implementations that do not which to use the buffering features of this class.
MessageDigest(int, int) - Constructor for class iaik.me.security.MessageDigest
Constructor for implementations.
MidletAES - class demo.midp.MidletAES.
This class demonstrates the useage of the AES algorithm with MidLets.
MidletAES() - Constructor for class demo.midp.MidletAES
 
MidletARCFOUR - class demo.midp.MidletARCFOUR.
This class demonstrates the useage of the RC4 algorithm with MidLets.
MidletARCFOUR() - Constructor for class demo.midp.MidletARCFOUR
 
MidletDES - class demo.midp.MidletDES.
This class demonstrates the usage of the DES algorithm within Midlets.
MidletDES() - Constructor for class demo.midp.MidletDES
 
MidletRSA - class demo.midp.MidletRSA.
This class demonstrates the usage of the IAIK-Crytotoolkit with MIDlets
MidletRSA() - Constructor for class demo.midp.MidletRSA
 
MidletTripleDES - class demo.midp.MidletTripleDES.
This class demonstrates the capabilities of the IAIK-JCE MicroEdition on
MidletTripleDES() - Constructor for class demo.midp.MidletTripleDES
 
min(BigInteger) - Method in class iaik.me.security.BigInteger
Return the smaller number of this and val.
min(int, int) - Static method in class iaik.me.utils.Util
Returns the lower one of two integers.
mod(BigInteger) - Method in class iaik.me.security.BigInteger
Calculate this mod m.
mode - Variable in class iaik.me.security.Cipher
Cipher mode, either ENCRYPT_MODE or DECRYPT_MODE.
MODE_BOTH - Static variable in class demo.cipher.aes.AESTest
 
MODE_CBC - Static variable in class iaik.me.security.Cipher
Constant for CBC mode.
MODE_DEC - Static variable in class demo.cipher.aes.AESTest
 
MODE_ECB - Static variable in class iaik.me.security.Cipher
Constant for ECB mode.
MODE_ENC - Static variable in class demo.cipher.aes.AESTest
 
modInverse(BigInteger) - Method in class iaik.me.security.BigInteger
Return the modular inverse of this with respect to m.
modPow(BigInteger, BigInteger) - Method in class iaik.me.security.BigInteger
Compute thisexponent modulo m.
MultipartEncryption - class demo.cipher.MultipartEncryption.
This class performs an automatic test of symmetric blockcipher algorithms implemented in the JCE MicroEdition.
MultipartEncryption() - Constructor for class demo.cipher.MultipartEncryption
Default constructor.
multiply(BigInteger) - Method in class iaik.me.security.BigInteger
Return this * val.

N

Name - class iaik.me.asn1.Name.
The X.500 Distinguished Name.
Name() - Constructor for class iaik.me.asn1.Name
Create a new, empty name.
Name(ASN1) - Constructor for class iaik.me.asn1.Name
Create a name from its ASN.1 structure.
Name(byte[]) - Constructor for class iaik.me.asn1.Name
Create a name from its encoding.
nextBytes(byte[]) - Method in class iaik.me.security.SecureRandom
Return bytes.length random bytes.
nextBytes(Random, byte[]) - Static method in class iaik.me.utils.SysUtil
Returns an array of random bytes, the CLDC spec. defines only functions for int- and long type arrays.
nextData() - Method in class iaik.me.utils.PEM
Get the next PEM part.
nextInputStream() - Method in class iaik.me.utils.PEM
Get the next PEM part as a InputStream.
nextInt() - Method in class iaik.me.security.SecureRandom
Return a 32 bit random value as an integer.
nextToken() - Method in class iaik.me.utils.SimpleStringTokenizer
Searches for the next token in the string and returns the string between two tokens.
NSTYPE_OBJECT_SIGNING - Static variable in class iaik.me.x509.X509Extension
 
NSTYPE_OBJECT_SIGNING_CA - Static variable in class iaik.me.x509.X509Extension
 
NSTYPE_SMIME - Static variable in class iaik.me.x509.X509Extension
 
NSTYPE_SMIME_CA - Static variable in class iaik.me.x509.X509Extension
 
NSTYPE_SSL_CA - Static variable in class iaik.me.x509.X509Extension
 
NSTYPE_SSL_CLIENT - Static variable in class iaik.me.x509.X509Extension
 
NSTYPE_SSL_SERVER - Static variable in class iaik.me.x509.X509Extension
 

O

OID_AES_128_CBC - Static variable in class iaik.me.asn1.ASN1
Object id 2.16.840.1.101.3.4.1.2 identifying AES/CBC/PKCS5Padding (with 128 bit key).
OID_AUTHORITY_KEY_IDENTIFIER - Static variable in class iaik.me.x509.X509Extension
 
OID_BASIC_CONSTRAINTS - Static variable in class iaik.me.x509.X509Extension
 
OID_CERTIFICATE_POLICIES - Static variable in class iaik.me.x509.X509Extension
 
OID_DES_EDE_CBC - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.3.7 identifying DES/CBC/PKCS5Padding.
OID_DH - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.1.3.1 identifying DSA.
OID_DSA - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.10040.4.1 identifying DSA.
OID_EKU_CLIENT_AUTH - Static variable in class iaik.me.x509.X509Extension
 
OID_EKU_CODE_SIGNING - Static variable in class iaik.me.x509.X509Extension
 
OID_EKU_EMAIL_PROTECTION - Static variable in class iaik.me.x509.X509Extension
 
OID_EKU_SERVER_AUTH - Static variable in class iaik.me.x509.X509Extension
 
OID_EKU_TIME_STAMPING - Static variable in class iaik.me.x509.X509Extension
 
OID_ERROR - Static variable in class iaik.me.x509.X509Extension
 
OID_EXTENDED_KEY_USAGE - Static variable in class iaik.me.x509.X509Extension
 
OID_HMAC_SHA1 - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.2.7 identifying HmacSHA1.
OID_ISSUER_ALT_NAME - Static variable in class iaik.me.x509.X509Extension
 
OID_KEY_USAGE - Static variable in class iaik.me.x509.X509Extension
 
OID_MD2 - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.2.2 identifying MD2.
OID_MD2_WITH_RSA_ENCRYPTION - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.1.1.2 identifying MD2withRSA signatures.
OID_MD5 - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.2.5 identifying MD5.
OID_MD5_WITH_RSA_ENCRYPTION - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.1.1.4 identifying MD5withRSA signatures.
OID_NAME_C - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.6 for the country attribute.
OID_NAME_CN - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.3 for the commonName attribute.
OID_NAME_EMAIL - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.1.9.1 for the emailAddress attribute.
OID_NAME_L - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.7 for the locality attribute.
OID_NAME_O - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.10 for the organization attribute.
OID_NAME_OU - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.11 for the organizationalUnit attribute.
OID_NAME_SERIAL - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.5 for the serialNumber attribute.
OID_NAME_SN - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.4 for the surName attribute.
OID_NAME_ST - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.8 for the stateOrProvince attribute.
OID_NAME_STREET - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.9 for the street attribute.
OID_NAME_T - Static variable in class iaik.me.asn1.ASN1
Object id 2.5.4.12 for the title attribute.
OID_NETSCAPE_CERT_TYPE - Static variable in class iaik.me.x509.X509Extension
 
OID_NETSCAPE_COMMENT - Static variable in class iaik.me.x509.X509Extension
 
OID_NETSCAPE_SSL_SERVER_NAME - Static variable in class iaik.me.x509.X509Extension
 
OID_PKCS12_DES_EDE_168_SHA - Static variable in class iaik.me.security.PBE
 
OID_PKCS12_RC2_40_SHA - Static variable in class iaik.me.security.PBE
 
OID_PKCS5_PBES2 - Static variable in class iaik.me.security.PBE
 
OID_PKCS5V1_DES_MD5 - Static variable in class iaik.me.security.PBE
 
OID_QCSTATEMENTS - Static variable in class iaik.me.x509.X509Extension
 
OID_RSA - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.1.1.1 identifying RSA.
OID_SHA - Static variable in class iaik.me.asn1.ASN1
Object id 1.3.14.3.2.26 identifying SHA-1.
OID_SHA1_WITH_DSA - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.10040.4.3 identifying SHA1withDSA signatures.
OID_SHA1_WITH_RSA_ENCRYPTION - Static variable in class iaik.me.asn1.ASN1
Object id 1.2.840.113549.1.1.5 identifying SHA1withRSA signatures.
OID_SHA224 - Static variable in class iaik.me.asn1.ASN1
Object id 2.16.840.1.101.3.4.2.4 identifying SHA-224.
OID_SHA256 - Static variable in class iaik.me.asn1.ASN1
Object id 2.16.840.1.101.3.4.2.1 identifying SHA-256.
OID_SUBJECT_ALT_NAME - Static variable in class iaik.me.x509.X509Extension
 
OID_SUBJECT_KEY_IDENTIFIER - Static variable in class iaik.me.x509.X509Extension
 
ONE - Static variable in class iaik.me.security.BigInteger
BigInteger constant 1.
openFileInputStream(String) - Static method in class iaik.me.utils.SysUtil
Opens an InputStream to a given file.
openFileOutputStream(String) - Static method in class iaik.me.utils.SysUtil
Opens an OutputStream to a given file.
openURLInputStream(String) - Static method in class iaik.me.utils.SysUtil
Opens an InputStream to a resource with a given URL.
openURLOutputStream(String) - Static method in class iaik.me.utils.SysUtil
Opens an OutputStream to a resource with a given URL.
OPMODE_CBC - Static variable in class demo.cipher.aes.AESTest
 
OPMODE_ECB - Static variable in class demo.cipher.aes.AESTest
 

P

padding - Static variable in class iaik.me.security.MessageDigest
Data suitable for padding of MD4 style digests. padding[0] == 0x80, all other bytes are zero.
pauseApp() - Method in class demo.midp.MidletDES
Time to pause, free any space we don't need right now.
pauseApp() - Method in class demo.midp.MidletARCFOUR
Time to pause, free any space we don't need right now.
pauseApp() - Method in class demo.midp.MidletTripleDES
Time to pause, free any space we don't need right now.
pauseApp() - Method in class demo.midp.MidletAES
Time to pause, free any space we don't need right now.
pauseApp() - Method in class demo.midp.MidletRSA
Time to pause, free any space we don't need right now.
pauseApp() - Method in class demo.midp.pem.PEMDemo
 
PBE - class iaik.me.security.PBE.
Password based encryption and MAC functionality.
PEM - class iaik.me.utils.PEM.
Utility class to handle the ASCII compatible PEM format.
PEM_ID_CERTIFICATE - Static variable in class iaik.me.utils.PEM
ID used for PEM encoded X.509 certificates.
PEM_ID_CERTIFICATE_REQUEST - Static variable in class iaik.me.utils.PEM
ID used for PEM encoded certificate requests.
PEM_ID_ENCRYPTED_KEY - Static variable in class iaik.me.utils.PEM
ID used for PEM encoded PKCS#8 encrypted private keys.
PEM(InputStream) - Constructor for class iaik.me.utils.PEM
Create a PEM object from an InputStream.
PEM(Reader) - Constructor for class iaik.me.utils.PEM
Create a PEM object from a Reader.
PEMDemo - class demo.midp.pem.PEMDemo.
 
PEMDemo() - Constructor for class demo.midp.pem.PEMDemo
 
PKCS12 - class iaik.me.keymgmt.PKCS12.
A class to read and write PKCS#12 files, aka PFX files.
PKCS12(InputStream) - Constructor for class iaik.me.keymgmt.PKCS12
Parse a PKCS#12 object from an InputStream.
PKCS12(KeyAndCert) - Constructor for class iaik.me.keymgmt.PKCS12
 
PKCS12Demo - class demo.keymgmt.PKCS12Demo.
 
PKCS12Demo() - Constructor for class demo.keymgmt.PKCS12Demo
 
PKCS7CertList - class iaik.me.keymgmt.PKCS7CertList.
 
PKCS7CertList(InputStream) - Constructor for class iaik.me.keymgmt.PKCS7CertList
 
printLine(Writer) - Static method in class iaik.me.utils.SysUtil
Writes a carriage return into the stream.
printLine(Writer, String) - Static method in class iaik.me.utils.SysUtil
Writes a string with the specified writer.
printResults(Hashtable) - Method in class demo.cipher.MultipartEncryption
Writes a list of Result objects to System.out.
PrivateKey - class iaik.me.security.PrivateKey.
 
PrivateKey(ASN1) - Constructor for class iaik.me.security.PrivateKey
 
PrivateKey(byte[]) - Constructor for class iaik.me.security.PrivateKey
 
PrivateKey(byte[], int) - Constructor for class iaik.me.security.PrivateKey
 
PrivateKey(InputStream) - Constructor for class iaik.me.security.PrivateKey
 
PrivateKey(InputStream, int) - Constructor for class iaik.me.security.PrivateKey
 
Properties - class demo.utils.Properties.
 
Properties() - Constructor for class demo.utils.Properties
 
PublicKey - class iaik.me.security.PublicKey.
 
PublicKey(ASN1) - Constructor for class iaik.me.security.PublicKey
Creates a public key from an ASN1 object.

R

random - Variable in class iaik.me.security.Signature
 
randomTest() - Method in class demo.utils.SysUtilTest
Tests the random byte generation.
RC2 - class demo.cipher.RC2.
This class tests the correctness of the RC2 implementation.
RC2 - class iaik.me.security.cipher.RC2.
 
RC2() - Constructor for class demo.cipher.RC2
 
RC2() - Constructor for class iaik.me.security.cipher.RC2
 
readCompleteStream(InputStream) - Static method in class iaik.me.utils.Util
Read the contents of the stream into a bytearray.
readLine(Reader) - Static method in class iaik.me.utils.SysUtil
Reads a line from an inputstream with a specific Reader.
readN(InputStream, byte[]) - Static method in class iaik.me.utils.Util
Reads from an inputstream until the given buffer is full.
readN(InputStream, byte[], int, int) - Static method in class iaik.me.utils.Util
Reads N bytes from an inputstream into a buffer and tries reading a view times before throwing an exception in case the stream blocks.
register(String, String) - Static method in class iaik.me.asn1.ASN1
Register an algorithm name for an ObjectId.
register(String, String) - Static method in class iaik.me.security.MessageDigest
This method is used to register new (or self implemented) signature algorithms.
For example: MessageDigest.register("SHA1", "iaik.me.security.md.SHA"); Once registered, the algorithm can be used via the MessageDigest.getInstance(String) method.
register(String, String) - Static method in class iaik.me.security.KeyPairGenerator
This method registers new keypairgenerators for usage with the KeyPairGenerator.getInstance(...) method.
The generator can be added the following way:
KeyPairGenerator.register("MyOwn", "mycompany.mypackage.MyKeyPairGenerator");
KeyPairGenerator kpg = KeyPairGenerator.getInstance("MyOwn");
register(String, String) - Static method in class iaik.me.security.Signature
This method is used to register new (or self implemented) signature algorithms.
For example: Signature.register("SHA1withDSA", "iaik.me.security.dsa.DSASignature"); Once registered, the algorithm can be used via the Signature.getInstance(String) method.
register(String, String) - Static method in class iaik.me.security.Cipher
Registers a Cipher implementation dynamically. for e.g.:
register("MyCipher", "mypackage.MyCipher");

The registered cipher can afterwards be instantiated with the getInstance("MyCipher"); method
register(String, String) - Static method in class iaik.me.security.Mac
 
reset() - Method in class iaik.me.security.MessageDigest
Resets the internal values of digest instance.
reset() - Method in class iaik.me.security.Mac
Resets this Mac object for being able to be used for further MAC computations, either by using the same secret key again, or using a new key by properly re-initializing this MAC object.
reset() - Method in class iaik.me.security.md.SHA
SPI: Resets this SHA message digest object for being supplied with new data.
reset() - Method in class iaik.me.security.md.MD5
SPI: Resets this MD5 message digest object for being supplied with new data.
reset() - Method in class iaik.me.security.md.SHA256
Resets this SHA256 message digest object for being supplied with new data.
reset() - Method in class iaik.me.security.md.MD2
SPI: Resets this MD2 message digest object for being supplied with new data.
Rijndael - class demo.cipher.aes.Rijndael.
This class tests the correctness of the Rijndael implementation.
Rijndael - class iaik.me.security.cipher.Rijndael.
 
Rijndael() - Constructor for class demo.cipher.aes.Rijndael
 
Rijndael() - Constructor for class iaik.me.security.cipher.Rijndael
 
RSA - class demo.RSA.
This class tests the RSA cipher implementation.
RSA - class iaik.me.security.rsa.RSA.
This class implements the RSA algorithm through the Cipher interface.
RSA - Static variable in class demo.keystore.IaikKeyStore
 
RSA_1024 - Static variable in interface demo.keystore.KeyStoreConstants
 
RSA_2048 - Static variable in interface demo.keystore.KeyStoreConstants
 
RSA_512 - Static variable in interface demo.keystore.KeyStoreConstants
 
RSA() - Constructor for class demo.RSA
 
RSA() - Constructor for class iaik.me.security.rsa.RSA
Default Constructor for the RSA cipher.
rsaDecrypt() - Method in class demo.midp.MidletRSA
Starts the RSA decryption with the RSA private key.
RSADemo2 - class demo.RSADemo2.
 
RSADemo2() - Constructor for class demo.RSADemo2
 
rsaEncryption() - Method in class demo.midp.MidletRSA
Performs the actual encryption.
rsaEncryptionForm() - Method in class demo.midp.MidletRSA
Starts the RSA encryption with the RSA public key.
rsaGenerateKeys() - Method in class demo.midp.MidletRSA
Generates a new RSA keypair.
RSAKeyPairGenerator - class iaik.me.security.rsa.RSAKeyPairGenerator.
 
RSAKeyPairGenerator() - Constructor for class iaik.me.security.rsa.RSAKeyPairGenerator
 
RSASignature - class iaik.me.security.rsa.RSASignature.
 
RSASignature() - Constructor for class iaik.me.security.rsa.RSASignature
 

S

SecureRandom - class iaik.me.security.SecureRandom.
A class to generate secure random bytes.
SecureRandom() - Constructor for class iaik.me.security.SecureRandom
Generate a new random number generator.
setBit(int) - Method in class iaik.me.security.BigInteger
Set the bit at the given position.
setImplicitTag(int) - Method in class iaik.me.asn1.ASN1
 
setMode(String) - Method in class iaik.me.security.Cipher
Set the cipher chaining mode.
setMode(String) - Method in class iaik.me.security.rsa.RSA
Sets the block mode of the encryption block according to PKCS#1.
setPadding(String) - Method in class iaik.me.security.Cipher
Set the cipher padding mode.
setPadding(String) - Method in class iaik.me.security.rsa.RSA
Sets the padding scheme of this cipher, which only can be "PKCS1Padding" or "NoPadding".
setSecureRandom(SecureRandom) - Method in class iaik.me.keymgmt.KeyStore
Sets a secure random number generator for the cipher operations during password based keystore encryption.
setSeed(byte[]) - Method in class iaik.me.security.SecureRandom
Set the seed to the specified value.
setSeedGenerator(SecureRandom) - Static method in class iaik.me.security.SecureRandom
Set the system default seed generator.
setSeparator(String) - Static method in class iaik.me.utils.Util
Sets the seperator character (or String) for the 'toString()' methods.
setSysUtil(String) - Static method in class iaik.me.utils.SysUtil
Manually sets a specific SysUtil class that is used for fileoperations etc.
setSysUtil(SysUtil) - Static method in class iaik.me.utils.SysUtil
Manually sets a specific SysUtil class that is used for fileoperations etc.
setUnusedBits(int) - Method in class iaik.me.asn1.ASN1
Sets the number of unused bits for encoding a ASN.1 BIT STRING object.
SHA - class iaik.me.security.md.SHA.
This class implements the SHA message digest algorithm according to FIPS PUB 180-1.
SHA() - Constructor for class iaik.me.security.md.SHA
Creates a new SHA message digest object.
SHA224 - class iaik.me.security.md.SHA224.
This class implements the 32-bit hash algorithm SHA-224 from NIST (FIPS PUB 186-2 Change Notice 1).
SHA224() - Constructor for class iaik.me.security.md.SHA224
Construct a new SHA-224 message digest.
SHA256 - class iaik.me.security.md.SHA256.
This class implements the 32-bit hash algorithm SHA-256 from NIST (FIPS PUB 186-2).
SHA256() - Constructor for class iaik.me.security.md.SHA256
Construct a new SHA-256 message digest.
shiftLeft(int) - Method in class iaik.me.security.BigInteger
Create a new BigInteger which is this*2n.
shiftRight(int) - Method in class iaik.me.security.BigInteger
Create a new BigInteger which is this*2-n.
sign() - Method in class iaik.me.security.Signature
Creates a signature with the given data and private key.
sign() - Method in class iaik.me.security.dsa.DSASignature
 
sign() - Method in class iaik.me.security.rsa.RSASignature
Creates an RSA signature.
sign(String, PrivateKey) - Method in class iaik.me.keymgmt.CertificateRequest
Sign the certificate request and return its DER encoding.
Signature - class iaik.me.security.Signature.
The Signature class provides digital signature algorithms that can be used to generate and verify digital signatures.
Signature() - Constructor for class iaik.me.security.Signature
 
signum() - Method in class iaik.me.security.BigInteger
Return the signum of this number.
SimpleStringTokenizer - class iaik.me.utils.SimpleStringTokenizer.
 
SimpleStringTokenizer(String, char) - Constructor for class iaik.me.utils.SimpleStringTokenizer
Creates a new string tokenizer with the string to parse and the delimiter.
SimpleStringTokenizerDemo - class demo.utils.SimpleStringTokenizerDemo.
 
SimpleStringTokenizerDemo() - Constructor for class demo.utils.SimpleStringTokenizerDemo
 
spiClose() - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiGetLineReader(Reader) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiGetLineReader(Reader) - Method in class iaik.me.utils.SysUtil
 
spiGetLineReader(Reader) - Method in class iaik.me.utils.SysUtilME
Returns a an availibel LineReader.
spiGetLineWriter(Writer) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiGetLineWriter(Writer) - Method in class iaik.me.utils.SysUtil
 
spiGetLineWriter(Writer) - Method in class iaik.me.utils.SysUtilME
In case of the J2SE it turns the Writer into a PrintWriter.
spiLoadLibrary(String) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiLoadLibrary(String) - Method in class iaik.me.utils.SysUtil
 
spiLoadLibrary(String) - Method in class iaik.me.utils.SysUtilME
Loads a native code library.
spiNextBytes(Random, byte[]) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiNextBytes(Random, byte[]) - Method in class iaik.me.utils.SysUtil
 
spiNextBytes(Random, byte[]) - Method in class iaik.me.utils.SysUtilME
Returns an array of random bytes, the CLDC spec. defines only functions for int- and long type arrays.
spiOpenFileInputStream(String) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiOpenFileInputStream(String) - Method in class iaik.me.utils.SysUtil
 
spiOpenFileInputStream(String) - Method in class iaik.me.utils.SysUtilME
Opens an InputStream to a given file.
spiOpenFileOutputStream(String) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiOpenFileOutputStream(String) - Method in class iaik.me.utils.SysUtil
 
spiOpenFileOutputStream(String) - Method in class iaik.me.utils.SysUtilME
Opens an OutputStream to a given file.
spiOpenURLInputStream(String) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiOpenURLInputStream(String) - Method in class iaik.me.utils.SysUtil
 
spiOpenURLInputStream(String) - Method in class iaik.me.utils.SysUtilME
Opens an InputStream to a resource with a given URL.
spiOpenURLOutputStream(String) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiOpenURLOutputStream(String) - Method in class iaik.me.utils.SysUtil
 
spiOpenURLOutputStream(String) - Method in class iaik.me.utils.SysUtilME
Opens an OutputStream to a resource with a given URL.
spiPrintLine(Writer, String) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiPrintLine(Writer, String) - Method in class iaik.me.utils.SysUtil
 
spiPrintLine(Writer, String) - Method in class iaik.me.utils.SysUtilME
Writes a carriage return into the stream.
spiReadLine(Reader) - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiReadLine(Reader) - Method in class iaik.me.utils.SysUtil
 
spiReadLine(Reader) - Method in class iaik.me.utils.SysUtilME
Reads a line with a specified Reader.
spiWaitKey() - Method in class demo.utils.SysUtilTest.MySysUtil
 
spiWaitKey() - Method in class iaik.me.utils.SysUtil
 
spiWaitKey() - Method in class iaik.me.utils.SysUtilME
Dummy Waikey function with no effect, because userinput depends on the device used.
spreadIntsToBytes(int[], int, byte[], int, int) - Static method in class iaik.me.utils.CryptoUtils
 
spreadIntsToBytesLE(int[], int, byte[], int, int) - Static method in class iaik.me.utils.CryptoUtils
Spreads ints into bytes in little endian bytes ordering.
spreadShortsToBytesBE(int[], int, byte[], int, int) - Static method in class iaik.me.utils.CryptoUtils
 
spreadShortsToBytesLE(int[], int, byte[], int, int) - Static method in class iaik.me.utils.CryptoUtils
Spreads shorts ints into bytes in little endian bytes ordering.
squashBytesToInts(byte[], int, int[], int, int) - Static method in class iaik.me.utils.CryptoUtils
 
squashBytesToIntsLE(byte[], int, int[], int, int) - Static method in class iaik.me.utils.CryptoUtils
 
squashBytesToShortsBE(byte[], int, int[], int, int) - Static method in class iaik.me.utils.CryptoUtils
 
squashBytesToShortsLE(byte[], int, int[], int, int) - Static method in class iaik.me.utils.CryptoUtils
 
start() - Method in class demo.TestAll
Start all tests.
start() - Method in class demo.RSADemo2
 
start() - Method in class demo.TestSignature
Tests the functionality of signature algorithms using MD5/RSA, SHA/RSA, DSA.
start() - Method in class demo.RSA
Performs the RSA cipher implementation test.
start() - Method in class demo.cipher.RC2
Test the RC2.
start() - Method in class demo.cipher.TCipher
 
start() - Method in class demo.cipher.MultipartEncryption
Entry method for TestAll.
start() - Method in class demo.cipher.DES
Tests the several modes (ECB, CBC, PCBC, CFB, OFB, CBC for Triple-DES) of the DES algorithm.
start() - Method in class demo.cipher.IDEA
 
start() - Method in class demo.cipher.ARCFOUR
 
start() - Method in class demo.cipher.aes.AESTest
 
start() - Method in class demo.cipher.aes.Rijndael
 
start() - Method in class demo.keymgmt.CreateCertificateRequest
 
start() - Method in class demo.md.HMac
Tests the HMAC algorithm using Md5 for hash computation.
start() - Method in class demo.md.MD
Starts the message digest test.
start() - Method in class demo.midp.MidletRSA
Starts the actual security tasks...
start() - Method in class demo.utils.SysUtilTest
 
start() - Method in class demo.utils.SimpleStringTokenizerDemo
 
start(String) - Method in class demo.keymgmt.PKCS12Demo
 
startApp() - Method in class demo.midp.MidletDES
Startmethod for MIDlet.
startApp() - Method in class demo.midp.MidletARCFOUR
Startmethod for MIDlet.
startApp() - Method in class demo.midp.MidletTripleDES
Startmethod for MIDlet.
startApp() - Method in class demo.midp.MidletAES
Startmethod for MIDlet.
startApp() - Method in class demo.midp.MidletRSA
Startmethod for MIDlet.
startApp() - Method in class demo.midp.pem.PEMDemo
 
startTest() - Method in class demo.TestSpeed
Executes some tests for several algorithms and measures the speed.
store(char[]) - Method in class iaik.me.keymgmt.KeyStore
Store the KeyStore protecting it with the given password.
store(char[], int) - Method in class iaik.me.keymgmt.KeyStore
Store the KeyStore protecting it with the given password.
subtract(BigInteger) - Method in class iaik.me.security.BigInteger
Return this - val.
SysUtil - class iaik.me.utils.SysUtil.
 
SysUtil() - Constructor for class iaik.me.utils.SysUtil
The default constructor.
SysUtilME - class iaik.me.utils.SysUtilME.
 
SysUtilTest - class demo.utils.SysUtilTest.
 
SysUtilTest.MySysUtil - class demo.utils.SysUtilTest.MySysUtil.
This class is a demonstration how to develop your own SysUtil class
SysUtilTest.MySysUtil(SysUtilTest) - Constructor for class demo.utils.SysUtilTest.MySysUtil
 
SysUtilTest() - Constructor for class demo.utils.SysUtilTest
 
SZ_1024 - Static variable in class demo.keystore.IaikKeyStore
 
SZ_2048 - Static variable in class demo.keystore.IaikKeyStore
 
SZ_512 - Static variable in class demo.keystore.IaikKeyStore
 

T

TAG_APPLICATION - Static variable in class iaik.me.asn1.ASN1
Mask for tag class application.
TAG_CONTEXT_SPECIFIC - Static variable in class iaik.me.asn1.ASN1
Mask for tag class context specific .
TAG_PRIVATE - Static variable in class iaik.me.asn1.ASN1
Mask for tag class private.
TAG_UNIVERSAL - Static variable in class iaik.me.asn1.ASN1
Mask for tag class universal.
TCipher - class demo.cipher.TCipher.
This class provides a framework for cipher self-tests.
TCipher() - Constructor for class demo.cipher.TCipher
 
TestAll - class demo.TestAll.
This class performs all available tests.
TestAll() - Constructor for class demo.TestAll
 
testBit(int) - Method in class iaik.me.security.BigInteger
Test if the bit at the given position is set.
testCipher(String, byte[], byte[], byte[], byte[]) - Method in class demo.cipher.TCipher
 
testCipher(String, int, byte[][], byte[][], byte[][], byte[][]) - Method in class demo.cipher.TCipher
 
testDecryption - Variable in class demo.cipher.TCipher
 
testECB() - Method in class demo.cipher.DES
Test the DES - ECB Mode implementation several times.
testECB() - Method in class demo.cipher.ARCFOUR
Test the ARCFOUR.
testMode(String, String, byte[], byte[], byte[], byte[]) - Method in class demo.cipher.DES
Test the DES implementation in the desired mode.
TestSignature - class demo.TestSignature.
This class tests the functionality of the signature algorithtms.
TestSignature() - Constructor for class demo.TestSignature
 
TestSpeed - class demo.TestSpeed.
This class measures the execution speed of the IAIK-JCE cryptographic implementations for typical applications.
TestSpeed() - Constructor for class demo.TestSpeed
 
TestSpeed(boolean, boolean, boolean) - Constructor for class demo.TestSpeed
 
toASCIIByteArray(String) - Static method in class iaik.me.utils.Util
Converts a string into a asciibytearray.
toASCIIString(byte[]) - Static method in class iaik.me.utils.Util
Converts a bytearray into an asciistring.
toByte(char, int) - Static method in class iaik.me.utils.Util
Converts the given char to an int.
toByteArray() - Method in class iaik.me.security.BigInteger
Return a byte array representation of this, MSB first.
toByteArray(boolean) - Method in class iaik.me.security.BigInteger
Return a byte array representation of this, MSB first.
toByteArray(String) - Static method in class iaik.me.utils.Util
Converts the given string with hex values to a bytearray.
tokenizedString - Static variable in class demo.utils.SimpleStringTokenizerDemo
 
toPEM(byte[], String) - Static method in class iaik.me.utils.PEM
Convert the data to PEM format.
toString() - Method in class iaik.me.asn1.Name
Return a string representation for this name.
toString() - Method in class iaik.me.keymgmt.KeyAndCert
Return a string representation of this object.
toString() - Method in class iaik.me.security.BigInteger
Return a base 10 string representation of this.
toString() - Method in class iaik.me.security.CryptoBag
 
toString() - Method in class iaik.me.security.Cipher
Return a String representation of the cipher.
toString() - Method in class iaik.me.x509.X509Extension
This method returns information about the extension including:
critical flag and the extension parameters and values.
toString() - Method in class iaik.me.x509.X509Certificate
This method shows information from the certificate including:
version, serial number, signature algorithm, subject, issuer, valid from - to, the publickey representation
and an enumeration of the extensions.
toString(byte[]) - Static method in class iaik.me.utils.Util
Converts a given byte array into a formated hex-string.
toString(byte[], int, int) - Static method in class iaik.me.utils.Util
Converts a given byte array into a formated hex-string.
toString(byte[], int, int, String) - Static method in class iaik.me.utils.SysUtil
Converts the specified subsequence of the given byte array into a hexadecimal string of the format: 01:23:34:56...
toString(int) - Method in class iaik.me.security.BigInteger
Return a string representation of this in the given radix.
toString(int) - Static method in class iaik.me.utils.Util
Turns an integer into a formatted Hex number.
toUTF8ByteArray(String) - Static method in class iaik.me.utils.Util
Converts an UTF8 string into a bytearray.
toUTF8String(byte[]) - Static method in class iaik.me.utils.Util
Converts a bytearray into an UTF8 string.
TripleDES - class iaik.me.security.cipher.TripleDES.
 
TripleDES() - Constructor for class iaik.me.security.cipher.TripleDES
Constructor for the DES cipher.
TWO - Static variable in class iaik.me.security.BigInteger
BigInteger constant 2.
TYPE_BIT_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 3], the bit string type.
TYPE_BMP_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 30], the BMP (Unicode) string type.
TYPE_BOOLEAN - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 1], the boolean type.
TYPE_CHARACTER_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 29], the character string type.
TYPE_DH_PARAMS - Static variable in class iaik.me.security.CryptoBag
Type constant for Diffie-Hellman parameters.
TYPE_DH_PRIVATE - Static variable in class iaik.me.security.CryptoBag
Type constant for an Diffie-Hellman private key.
TYPE_DH_PUBLIC - Static variable in class iaik.me.security.CryptoBag
Type constant for an Diffie-Hellman public key.
TYPE_DSA_PARAMS - Static variable in class iaik.me.security.CryptoBag
Type constant for DSA parameters.
TYPE_DSA_PRIVATE - Static variable in class iaik.me.security.CryptoBag
Type constant for an DSA private key.
TYPE_DSA_PUBLIC - Static variable in class iaik.me.security.CryptoBag
Type constant for an DSA public key.
TYPE_EMBEDDED_PDV - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 11], the embedded pdv type.
TYPE_ENUMERATED - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 10], the enumerated type.
TYPE_EXTERNAL - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 8], the external type.
TYPE_GENERAL_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 27], the general string type.
TYPE_GENERALIZED_TIME - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 24], the generalized time type.
TYPE_GRAPHIC_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 25], the graphic string type.
TYPE_IA5_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 22], the IA5 string type.
TYPE_INTEGER - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 2], the integer type.
TYPE_IV - Static variable in class iaik.me.security.CryptoBag
Type constant for an initialization vector.
TYPE_KAT - Static variable in class demo.cipher.aes.AESTest
 
TYPE_KEYPAIR - Static variable in class iaik.me.security.CryptoBag
Type constant for a key pair, i.e. a public key and a private key
TYPE_MCT - Static variable in class demo.cipher.aes.AESTest
 
TYPE_NULL - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 5], the null type.
TYPE_NUMERIC_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 18], the numeric string type.
TYPE_OBJECT_DESCRIPTOR - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 7], the object descriptor type.
TYPE_OBJECT_ID - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 6], the object id type.
TYPE_OCTET_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 4], the octet string type.
TYPE_PRINTABLE_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 19], the printable string type.
TYPE_REAL - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 9], the real type.
TYPE_RELATIVE_OID - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 13], the relative object id type.
TYPE_RSA_PRIVATE - Static variable in class iaik.me.security.CryptoBag
Type constant for an RSA private key.
TYPE_RSA_PUBLIC - Static variable in class iaik.me.security.CryptoBag
Type constant for an RSA public key.
TYPE_SECRET_KEY - Static variable in class iaik.me.security.CryptoBag
Type constant for a secret key.
TYPE_SEQUENCE - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 16], the sequence type.
TYPE_SET - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 17], the set type.
TYPE_T61_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 20], the T61 (teletex) string type.
TYPE_UNIVERSAL_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 28], the universal string type.
TYPE_UTCTIME - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 23], the UTC time type.
TYPE_UTF8_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 12], the UTF8 string type.
TYPE_VIDEOTEX_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 21], the videotex string type.
TYPE_VISIBLE_STRING - Static variable in class iaik.me.asn1.ASN1
Tag for [UNIVERSAL 26], the visible string type.

U

update(byte) - Method in class iaik.me.security.MessageDigest
Adds a byte to the digest data.
update(byte) - Method in class iaik.me.security.Mac
 
update(byte[]) - Method in class iaik.me.security.MessageDigest
Adds a byte array to the digest data.
update(byte[]) - Method in class iaik.me.security.Signature
Updates the signature instance with the data that shall be signed or the data whose signature shall be verified.
update(byte[]) - Method in class iaik.me.security.Mac
 
update(byte[], int, int) - Method in class iaik.me.security.MessageDigest
Adds a byte array to the digest data.
update(byte[], int, int) - Method in class iaik.me.security.Signature
Updates the signature instance with the data that shall be signed or the data whose signature shall be verified.
update(byte[], int, int) - Method in class iaik.me.security.Mac
 
update(byte[], int, int) - Method in class iaik.me.security.dsa.DSASignature
 
update(byte[], int, int, byte[], int) - Method in class iaik.me.security.Cipher
Encrypt the input data storing it in the output array.
update(byte[], int, int, byte[], int) - Method in class iaik.me.security.cipher.ARCFOUR
Encrypts the given data bytes using the ARCFOUR algorithm.
update(byte[], int, int, byte[], int) - Method in class iaik.me.security.rsa.RSA
 
updateInternal(byte[], int, int, byte[], int, boolean) - Method in class iaik.me.security.Cipher
This is method performs the actual en-/decipher opertion.
updateInternal(byte[], int, int, byte[], int, boolean) - Method in class iaik.me.security.cipher.ARCFOUR
 
Util - class iaik.me.utils.Util.
This class provides several, often used methods for string/byte conversion, stream operations etc.

V

V_DH_G - Static variable in class iaik.me.security.CryptoBag
 
V_DH_P - Static variable in class iaik.me.security.CryptoBag
 
V_DH_PARAMS - Static variable in class iaik.me.security.CryptoBag
 
V_DH_X - Static variable in class iaik.me.security.CryptoBag
 
V_DH_Y - Static variable in class iaik.me.security.CryptoBag
 
V_DSA_G - Static variable in class iaik.me.security.CryptoBag
 
V_DSA_P - Static variable in class iaik.me.security.CryptoBag
 
V_DSA_PARAMS - Static variable in class iaik.me.security.CryptoBag
 
V_DSA_Q - Static variable in class iaik.me.security.CryptoBag
 
V_DSA_X - Static variable in class iaik.me.security.CryptoBag
 
V_DSA_Y - Static variable in class iaik.me.security.CryptoBag
 
V_IV - Static variable in class iaik.me.security.CryptoBag
 
V_KEY - Static variable in class iaik.me.security.CryptoBag
 
V_KEY_PRIVATE - Static variable in class iaik.me.security.CryptoBag
 
V_KEY_PUBLIC - Static variable in class iaik.me.security.CryptoBag
 
V_RSA_CRT_C - Static variable in class iaik.me.security.CryptoBag
 
V_RSA_CRT_EP - Static variable in class iaik.me.security.CryptoBag
 
V_RSA_CRT_EQ - Static variable in class iaik.me.security.CryptoBag
 
V_RSA_CRT_P - Static variable in class iaik.me.security.CryptoBag
 
V_RSA_CRT_Q - Static variable in class iaik.me.security.CryptoBag
 
V_RSA_D - Static variable in class iaik.me.security.CryptoBag
 
V_RSA_E - Static variable in class iaik.me.security.CryptoBag
 
V_RSA_N - Static variable in class iaik.me.security.CryptoBag
 
valueOf(long) - Static method in class iaik.me.security.BigInteger
Create a BigInteger from the specified long value.
verify() - Method in class iaik.me.x509.X509Certificate
This method verifies a self signed certificate.
verify(byte[]) - Method in class iaik.me.security.Signature
This method verifies a given signature.
verify(byte[]) - Method in class iaik.me.security.dsa.DSASignature
 
verify(byte[]) - Method in class iaik.me.security.rsa.RSASignature
Verifies a given signature and returns true if the signature can be verified.
verify(char[]) - Method in class iaik.me.keymgmt.PKCS12
Verify the MAC of the PKCS#12 file.
verify(PublicKey) - Method in class iaik.me.x509.X509Certificate
This method used a public key to verify the certificate.

W

waitKey() - Static method in class iaik.me.utils.SysUtil
Dummy Waikey function with no effect, because userinput depends on the device used.
waitKey() - Static method in class iaik.me.utils.Util
Wait for the user to press the return key on System.in.

X

X_ALT_NAME_DNS - Static variable in class iaik.me.x509.X509Extension
 
X_ALT_NAME_EMAIL - Static variable in class iaik.me.x509.X509Extension
 
X_ALT_NAME_URI - Static variable in class iaik.me.x509.X509Extension
 
X_BC_IS_CA - Static variable in class iaik.me.x509.X509Extension
 
X_BC_LENGTH - Static variable in class iaik.me.x509.X509Extension
 
X_ENCODING - Static variable in class iaik.me.x509.X509Extension
 
X_EXT_KEY_USAGE - Static variable in class iaik.me.x509.X509Extension
 
X_KEY_ID - Static variable in class iaik.me.x509.X509Extension
 
X_KEY_USAGE - Static variable in class iaik.me.x509.X509Extension
 
X_NS_CERT_TYPE - Static variable in class iaik.me.x509.X509Extension
 
X_NS_COMMENT - Static variable in class iaik.me.x509.X509Extension
 
X_NS_SERVER_NAME - Static variable in class iaik.me.x509.X509Extension
 
X_ORIGINAL_OID - Static variable in class iaik.me.x509.X509Extension
 
X509Certificate - class iaik.me.x509.X509Certificate.
This class is used to parse X509 certificates.
X509Certificate(byte[]) - Constructor for class iaik.me.x509.X509Certificate
Creates a X509 certificate where the certificate info is stored in a byte array.
X509Certificate(InputStream) - Constructor for class iaik.me.x509.X509Certificate
Creates a X509 certificate from a given inputstream.
X509Extension - class iaik.me.x509.X509Extension.
This is the central class for X.509 certificate extensions.
X509Extension(ASN1) - Constructor for class iaik.me.x509.X509Extension
 

Z

ZERO - Static variable in class iaik.me.security.BigInteger
BigInteger constant 0.
zeroBlock(byte[]) - Static method in class iaik.me.utils.CryptoUtils
Fills the given byte array with zeros.
zeroBlock(byte[], int, int) - Static method in class iaik.me.utils.CryptoUtils
Fills the specified sub-array of the given byte array with zeros.
zeroBlock(int[]) - Static method in class iaik.me.utils.CryptoUtils
Fill an integer array with zeros.
zeroBlock(int[], int, int) - Static method in class iaik.me.utils.CryptoUtils
Fill part of an integer array with zeros.

A B C D E F G H I K L M N O P R S T U V W X Z
This Javadoc may contain text parts from IETF Internet Standard specifications, see copyright note) and RSA Data Security Public-Key Cryptography Standards (see copyright note).

IAIK-JCE ME 3.04, (c) 2002 IAIK, (c) 2003 to 2006 Stiftung SIC