public class DHGenParameterSpec extends Object implements AlgorithmParameterSpec
中央机关在计算参数后,必须将这些信息发送给寻求秘密密钥协商的各方。
DHParameterSpec
Constructor and Description |
---|
DHGenParameterSpec(int primeSize, int exponentSize)
构造用于生成Diffie-Hellman(系统)参数的参数集。
|
public DHGenParameterSpec(int primeSize, int exponentSize)
AlgorithmParameterGenerator
对象以生成Diffie-Hellman参数。
primeSize
- 素数模数的大小(以位为单位)。
exponentSize
- 随机指数的大小(以位为单位)。
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.