javax > javax.crypto > javax.crypto.keygenerator >

Class: javax.crypto.KeyGenerator
    java.lang.Object
       javax.crypto.KeyGenerator


public class KeyGenerator extends Object


FIELDS:

CONSTRUCTORS:
protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, String algorithm)


METHODS:
public final SecretKey generateKey()

public final String getAlgorithm()

public static final KeyGenerator getInstance(String algorithm)
Throws: NullPointerException
Throws: NoSuchAlgorithmException

public static final KeyGenerator getInstance(String algorithm, String provider)
Throws: NullPointerException
Throws: NoSuchAlgorithmException
Throws: NoSuchProviderException
Throws: IllegalArgumentException

public static final KeyGenerator getInstance(String algorithm, Provider provider)
Throws: NullPointerException
Throws: NoSuchAlgorithmException
Throws: IllegalArgumentException

public final Provider getProvider()

public final void init(int keysize)
Throws: InvalidParameterException

public final void init(int keysize, SecureRandom random)
Throws: InvalidParameterException

public final void init(SecureRandom random)

public final void init(AlgorithmParameterSpec params)
Throws: InvalidAlgorithmParameterException

public final void init(AlgorithmParameterSpec params, SecureRandom random)
Throws: InvalidAlgorithmParameterException


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net