javax.crypto.KeyGenerator suitable for use with other Conscrypt
algorithms.
| 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 String | |
| private int | |
| protected SecureRandom |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected byte[] | |
| protected SecretKey | engineGenerateKey()
Implements abstract javax. |
| protected void | engineInit(SecureRandom
the source of randomness for this generator secureRandom)Implements abstract javax. |
| protected void | engineInit(AlgorithmParameterSpec
the key generation parameters params, SecureRandom the source of randomness for this key generator secureRandom)Implements abstract javax. |
| protected void | engineInit(int
the keysize. This is an algorithm-specific metric,
specified in number of bits. keySize, SecureRandom the source of randomness for this key generator secureRandom)Implements abstract javax. |
| algorithm | back to summary |
|---|---|
| private final String algorithm | |
| keySizeBits | back to summary |
|---|---|
| private int keySizeBits | |
| secureRandom | back to summary |
|---|---|
| protected SecureRandom secureRandom | |
| KeyGeneratorImpl | back to summary |
|---|---|
| private KeyGeneratorImpl(String algorithm, int defaultKeySizeBits) | |
| checkKeySize | back to summary |
|---|---|
| protected void checkKeySize(int keySize) | |
| doKeyGeneration | back to summary |
|---|---|
| protected byte[] doKeyGeneration(int keyBytes) | |
| 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 secureRandom) Implements abstract javax. Doc from javax. Initializes the key generator.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec params, SecureRandom secureRandom) 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 secureRandom) 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 |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| AES | back to summary |
|---|---|
| public AES() | |
| checkKeySize | back to summary |
|---|---|
| protected void checkKeySize(int keySize) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| ARC4 | back to summary |
|---|---|
| public ARC4() | |
| checkKeySize | back to summary |
|---|---|
| protected void checkKeySize(int keySize) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| ChaCha20 | back to summary |
|---|---|
| public ChaCha20() | |
| checkKeySize | back to summary |
|---|---|
| protected void checkKeySize(int keySize) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected byte[] |
| DESEDE | back to summary |
|---|---|
| public DESEDE() | |
| checkKeySize | back to summary |
|---|---|
| protected void checkKeySize(int keySize) Overrides org.
| |
| doKeyGeneration | back to summary |
|---|---|
| protected byte[] doKeyGeneration(int keyBytes) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| HmacMD5 | back to summary |
|---|---|
| public HmacMD5() | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA1 | back to summary |
|---|---|
| public HmacSHA1() | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA224 | back to summary |
|---|---|
| public HmacSHA224() | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA256 | back to summary |
|---|---|
| public HmacSHA256() | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA384 | back to summary |
|---|---|
| public HmacSHA384() | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA512 | back to summary |
|---|---|
| public HmacSHA512() | |