软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
javax.crypto |
提供加密操作的类和接口。
|
Modifier and Type | Method and Description |
---|---|
protected abstract AlgorithmParameters |
AlgorithmParameterGeneratorSpi.engineGenerateParameters()
生成参数。
|
protected AlgorithmParameters |
SignatureSpi.engineGetParameters()
重写此方法以提供者返回用这种签名引擎参数,或null如果签名引擎不使用任何参数。
|
AlgorithmParameters |
AlgorithmParameterGenerator.generateParameters()
生成参数。
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm)
返回指定算法的参数对象。
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm, Provider provider)
返回指定算法的参数对象。
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm, String provider)
返回指定算法的参数对象。
|
AlgorithmParameters |
Signature.getParameters()
返回与此签名对象使用的参数。
|
Modifier and Type | Method and Description |
---|---|
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives, String algorithm, AlgorithmParameters parameters)
确定一个算法是否被授予指定的加密原语的权限。
|
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives, String algorithm, Key key, AlgorithmParameters parameters)
确定一个算法和相应的密钥是否被授予指定的加密基元的权限。
|
Modifier and Type | Method and Description |
---|---|
protected abstract AlgorithmParameters |
CipherSpi.engineGetParameters()
返回此密码所使用的参数。
|
AlgorithmParameters |
EncryptedPrivateKeyInfo.getAlgParameters()
返回加密算法所使用的算法参数。
|
AlgorithmParameters |
Cipher.getParameters()
返回此密码所使用的参数。
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
CipherSpi.engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
一个关键的初始化这个密码,一组算法参数,和一个随机源。
|
protected abstract void |
ExemptionMechanismSpi.engineInit(Key key, AlgorithmParameters params)
用钥匙和一套算法参数初始化这个免责机制。
|
void |
Cipher.init(int opmode, Key key, AlgorithmParameters params)
用钥匙和一套算法参数初始化这个密码。
|
void |
Cipher.init(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
一个关键的初始化这个密码,一组算法参数,和一个随机源。
|
void |
ExemptionMechanism.init(Key key, AlgorithmParameters params)
用钥匙和一套算法参数初始化这个免责机制。
|
Constructor and Description |
---|
EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)
构建了一个从加密算法和加密数据的参数
EncryptedPrivateKeyInfo 。
|
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.