| Constructor and Description | 
|---|
| KeyGeneratorSpi() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract SecretKey | engineGenerateKey()
              生成一个秘密密钥。 
             | 
| protected abstract void | engineInit(AlgorithmParameterSpec params, SecureRandom random)
              使用指定的参数集和用户提供的随机源初始化密钥生成器。 
             | 
| protected abstract void | engineInit(int keysize, SecureRandom random)
              使用给定的随机源初始化该密钥生成器以进行某些密钥化。 
             | 
| protected abstract void | engineInit(SecureRandom random)
              初始化密钥生成器。 
             | 
protected abstract void engineInit(SecureRandom random)
random - 该发生器的随机性来源 
           protected abstract void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException
params - 关键生成参数 
           random - 该密钥生成器的随机源 
           InvalidAlgorithmParameterException - 如果 
            params不适合此密钥生成器 
           protected abstract void engineInit(int keysize,
                                   SecureRandom random) 
          keysize - keysize 。 
            这是一个以比特数表示的算法特定度量。 
           random - 这个密钥生成器的随机源 
           InvalidParameterException - 如果 
            InvalidParameterException错误或不支持。 
           protected abstract SecretKey engineGenerateKey()
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.