| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| pack-priv abstract static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private int | |
| private final String | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| pack-priv | KeyGeneratorCore(String name, int defaultKeySize)
Construct a new KeyGeneratorCore object with the specified name and defaultKeySize. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv SecretKey | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| defaultKeySize | back to summary |
|---|---|
| private final int defaultKeySize | |
| keySize | back to summary |
|---|---|
| private int keySize | |
| name | back to summary |
|---|---|
| private final String name | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| KeyGeneratorCore | back to summary |
|---|---|
| pack-priv KeyGeneratorCore(String name, int defaultKeySize) Construct a new KeyGeneratorCore object with the specified name and defaultKeySize. Initialize to default key size in case the application does not call any of the init() methods. | |
| implGenerateKey | back to summary |
|---|---|
| pack-priv SecretKey implGenerateKey() | |
| implInit | back to summary |
|---|---|
| pack-priv void implInit(SecureRandom random) | |
| implInit | back to summary |
|---|---|
| pack-priv void implInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException | |
| implInit | back to summary |
|---|---|
| pack-priv void implInit(int keysize, SecureRandom random) | |
| Modifier and Type | Field and Description |
|---|---|
| private final KeyGeneratorCore |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected SecretKey | engineGenerateKey()
Implements abstract javax. Generates a secret key. |
| protected void | engineInit(SecureRandom random)
Implements abstract javax. Initializes the key generator. |
| protected void | engineInit(AlgorithmParameterSpec params, SecureRandom random)
Implements abstract javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness. |
| protected void | engineInit(int keySize, SecureRandom random)
Implements abstract javax. Initializes this key generator for a certain keysize, using the given source of randomness. |
| core | back to summary |
|---|---|
| private final KeyGeneratorCore core | |
| ARCFOURKeyGenerator | back to summary |
|---|---|
| public ARCFOURKeyGenerator() | |
| engineGenerateKey | back to summary |
|---|---|
| protected SecretKey engineGenerateKey() Implements abstract javax. Doc from javax. Generates a secret key.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(SecureRandom random) Implements abstract javax. Doc from javax. Initializes the key generator.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Implements abstract javax. Doc from javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(int keySize, SecureRandom random) Implements abstract javax. Doc from javax. Initializes this key generator for a certain keysize, using the given source of randomness.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final KeyGeneratorCore |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected SecretKey | engineGenerateKey()
Implements abstract javax. Generates a secret key. |
| protected void | engineInit(SecureRandom random)
Implements abstract javax. Initializes the key generator. |
| protected void | engineInit(AlgorithmParameterSpec params, SecureRandom random)
Implements abstract javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness. |
| protected void | engineInit(int keySize, SecureRandom random)
Implements abstract javax. Initializes this key generator for a certain keysize, using the given source of randomness. |
| core | back to summary |
|---|---|
| private final KeyGeneratorCore core | |
| ChaCha20KeyGenerator | back to summary |
|---|---|
| public ChaCha20KeyGenerator() | |
| engineGenerateKey | back to summary |
|---|---|
| protected SecretKey engineGenerateKey() Implements abstract javax. Doc from javax. Generates a secret key.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(SecureRandom random) Implements abstract javax. Doc from javax. Initializes the key generator.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Implements abstract javax. Doc from javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(int keySize, SecureRandom random) Implements abstract javax. Doc from javax. Initializes this key generator for a certain keysize, using the given source of randomness.
| |
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final KeyGeneratorCore |
| Modifier and Type | Method and Description |
|---|---|
| protected SecretKey | engineGenerateKey()
Implements abstract javax. Generates a secret key. |
| protected void | engineInit(SecureRandom random)
Implements abstract javax. Initializes the key generator. |
| protected void | engineInit(AlgorithmParameterSpec params, SecureRandom random)
Implements abstract javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness. |
| protected void | engineInit(int keySize, SecureRandom random)
Implements abstract javax. Initializes this key generator for a certain keysize, using the given source of randomness. |
| core | back to summary |
|---|---|
| private final KeyGeneratorCore core | |
| HmacKG | back to summary |
|---|---|
| protected HmacKG(String algoName, int len) | |
| engineGenerateKey | back to summary |
|---|---|
| protected SecretKey engineGenerateKey() Implements abstract javax. Doc from javax. Generates a secret key.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(SecureRandom random) Implements abstract javax. Doc from javax. Initializes the key generator.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Implements abstract javax. Doc from javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(int keySize, SecureRandom random) Implements abstract javax. Doc from javax. Initializes this key generator for a certain keysize, using the given source of randomness.
| |
| Access | Constructor and Description |
|---|---|
| public |
| SHA224 | back to summary |
|---|---|
| public SHA224() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA256 | back to summary |
|---|---|
| public SHA256() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA384 | back to summary |
|---|---|
| public SHA384() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA3_224 | back to summary |
|---|---|
| public SHA3_224() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA3_256 | back to summary |
|---|---|
| public SHA3_256() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA3_384 | back to summary |
|---|---|
| public SHA3_384() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA3_512 | back to summary |
|---|---|
| public SHA3_512() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA512 | back to summary |
|---|---|
| public SHA512() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA512_224 | back to summary |
|---|---|
| public SHA512_224() | |
| Access | Constructor and Description |
|---|---|
| public |
| SHA512_256 | back to summary |
|---|---|
| public SHA512_256() | |
| Modifier and Type | Field and Description |
|---|---|
| private final KeyGeneratorCore |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected SecretKey | engineGenerateKey()
Implements abstract javax. Generates a secret key. |
| protected void | engineInit(SecureRandom random)
Implements abstract javax. Initializes the key generator. |
| protected void | engineInit(AlgorithmParameterSpec params, SecureRandom random)
Implements abstract javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness. |
| protected void | engineInit(int keySize, SecureRandom random)
Implements abstract javax. Initializes this key generator for a certain keysize, using the given source of randomness. |
| core | back to summary |
|---|---|
| private final KeyGeneratorCore core | |
| RC2KeyGenerator | back to summary |
|---|---|
| public RC2KeyGenerator() | |
| engineGenerateKey | back to summary |
|---|---|
| protected SecretKey engineGenerateKey() Implements abstract javax. Doc from javax. Generates a secret key.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(SecureRandom random) Implements abstract javax. Doc from javax. Initializes the key generator.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Implements abstract javax. Doc from javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(int keySize, SecureRandom random) Implements abstract javax. Doc from javax. Initializes this key generator for a certain keysize, using the given source of randomness.
| |