软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
java.security.interfaces |
生成RSA(Rivest,夏米尔提供的接口和Adleman AsymmetricCipher算法)键在RSA实验室的技术说明和# 1定义,与DSA(数字签名算法)键在NIST的fips-186定义。
|
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
过时的。
|
protected abstract void |
SignatureSpi.engineSetParameter(String param, Object value)
过时的。
取而代之的
engineSetParameter 。
|
Object |
Signature.getParameter(String param)
过时的。
|
void |
Signer.setKeyPair(KeyPair pair)
过时的。
设置此签名者的密钥对(公钥和私钥)。
|
void |
Signature.setParameter(String param, Object value)
过时的。
使用
setParameter 。
|
Modifier and Type | Method and Description |
---|---|
void |
DSAKeyPairGenerator.initialize(DSAParams params, SecureRandom random)
初始化密钥发生器采用DSA参数(P,Q家族和G)和一个可选的提供的点源。
|
void |
DSAKeyPairGenerator.initialize(int modlen, boolean genParams, SecureRandom random)
初始化给定模数长度的密钥生成器(而不是参数),和一个可选的提供的点源。
|
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.