软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
java.security.spec |
提供关键规格和算法参数规格的类和接口。
|
javax.crypto |
提供加密操作的类和接口。
|
javax.crypto.spec |
提供关键规格和算法参数规格的类和接口。
|
javax.xml.crypto |
XML加密的公共类。
|
javax.xml.crypto.dsig |
用于生成和验证XML数字签名的类。
|
javax.xml.crypto.dsig.spec |
XML数字签名的参数类。
|
Modifier and Type | Method and Description |
---|---|
protected abstract <T extends AlgorithmParameterSpec> |
AlgorithmParametersSpi.engineGetParameterSpec(类<T> paramSpec)
返回此参数对象的(透明的)规范。
|
<T extends AlgorithmParameterSpec> |
AlgorithmParameters.getParameterSpec(类<T> paramSpec)
返回此参数对象的(透明的)规范。
|
Modifier and Type | Method and Description |
---|---|
AlgorithmParameterSpec |
KeyStore.PasswordProtection.getProtectionParameters()
获取为保护算法提供的参数。
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AlgorithmParametersSpi.engineInit(AlgorithmParameterSpec paramSpec)
此参数指定在对象初始化使用
paramSpec 参数。
|
protected abstract void |
AlgorithmParameterGeneratorSpi.engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random)
一套算法的具体参数值初始化参数发电机发电。
|
protected void |
SignatureSpi.engineSetParameter(AlgorithmParameterSpec params)
重写此方法提供的初始化与指定的参数设置此签名引擎。
|
void |
AlgorithmParameterGenerator.init(AlgorithmParameterSpec genParamSpec)
一套算法的具体参数值初始化参数发电机发电。
|
void |
AlgorithmParameters.init(AlgorithmParameterSpec paramSpec)
初始化参数对象使用指定的参数
paramSpec 。
|
void |
AlgorithmParameterGenerator.init(AlgorithmParameterSpec genParamSpec, SecureRandom random)
一套算法的具体参数值初始化参数发电机发电。
|
void |
KeyPairGenerator.initialize(AlgorithmParameterSpec params)
初始化密钥发生器使用指定的参数设置和
SecureRandom 执行优先级最高的供应商作为随机源。
|
void |
KeyPairGenerator.initialize(AlgorithmParameterSpec params, SecureRandom random)
与给定的参数集和随机源初始化密钥发生器。
|
void |
KeyPairGeneratorSpi.initialize(AlgorithmParameterSpec params, SecureRandom random)
初始化密钥发生器使用指定的参数设置和用户提供的随机源。
|
void |
Signature.setParameter(AlgorithmParameterSpec params)
用指定的参数初始化这个签名引擎。
|
Constructor and Description |
---|
PasswordProtection(char[] password, String protectionAlgorithm, AlgorithmParameterSpec protectionParameters)
创建一个密码参数指定保护算法及相关参数的使用加密密钥库录入时。
|
Modifier and Type | Class and Description |
---|---|
class |
DSAGenParameterSpec
这不可变类指定用于生成DSA参数中指定的
FIPS 186-3 Digital Signature Standard (DSS)参数设置。
|
class |
DSAParameterSpec
这类指定使用DSA算法的参数设置。
|
class |
ECGenParameterSpec
这个不可改变的类指定用于产生椭圆曲线(欧共体)域参数的参数集。
|
class |
ECParameterSpec
这不可变类指定使用椭圆曲线密码域参数集(ECC)。
|
class |
MGF1ParameterSpec
这类指定使用在OAEP填充和RSA-PSS签名掩码生成函数株抗体参数的设置、在
PKCS #1 v2.1标准定义。
|
class |
PSSParameterSpec
这类指定RSA-PSS签名方案参数规格,在
PKCS#1 v2.1标准定义。
|
class |
RSAKeyGenParameterSpec
这类指定用于生成RSA密钥对的参数设置。
|
Modifier and Type | Method and Description |
---|---|
AlgorithmParameterSpec |
PSSParameterSpec.getMGFParameters()
返回掩码生成函数的参数。
|
Constructor and Description |
---|
PSSParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, int saltLen, int trailerField)
创建一个新的
PSSParameterSpec 所界定的PKCS 1标准#使用指定的消息摘要,掩码生成功能,掩模生成功能,参数长度和盐,拖车场值。
|
Modifier and Type | Method and Description |
---|---|
static AlgorithmParameterSpec |
Cipher.getMaxAllowedParameterSpec(String transformation)
返回一个algorithmparameterspec对象包含的最大密码参数值根据司法政策文件。
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
KeyGeneratorSpi.engineInit(AlgorithmParameterSpec params, SecureRandom random)
用指定的参数设置和用户提供的随机源初始化密钥生成器。
|
protected abstract void |
CipherSpi.engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
一个关键的初始化这个密码,一组算法参数,和一个随机源。
|
protected abstract void |
MacSpi.engineInit(Key key, AlgorithmParameterSpec params)
与给定的初始化MAC(秘密)的密钥和算法参数。
|
protected abstract void |
ExemptionMechanismSpi.engineInit(Key key, AlgorithmParameterSpec params)
用钥匙和一套算法参数初始化这个免责机制。
|
protected abstract void |
KeyAgreementSpi.engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random)
初始化密钥协商与给定的键,设置算法参数,并随机源。
|
void |
KeyGenerator.init(AlgorithmParameterSpec params)
用指定的参数初始化这个密钥生成器。
|
void |
KeyGenerator.init(AlgorithmParameterSpec params, SecureRandom random)
用指定的参数设置和用户提供的随机源初始化这个密钥生成器。
|
void |
Cipher.init(int opmode, Key key, AlgorithmParameterSpec params)
用钥匙和一套算法参数初始化这个密码。
|
void |
Cipher.init(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
一个关键的初始化这个密码,一组算法参数,和一个随机源。
|
void |
ExemptionMechanism.init(Key key, AlgorithmParameterSpec params)
用钥匙和一套算法参数初始化这个免责机制。
|
void |
KeyAgreement.init(Key key, AlgorithmParameterSpec params)
初始化密钥协商的密钥和算法参数的设置。
|
void |
Mac.init(Key key, AlgorithmParameterSpec params)
这
Mac 初始化对象与给定的密钥和算法参数。
|
void |
KeyAgreement.init(Key key, AlgorithmParameterSpec params, SecureRandom random)
初始化密钥协商与给定的键,设置算法参数,并随机源。
|
Modifier and Type | Class and Description |
---|---|
class |
DHGenParameterSpec
这类指定用于生成Diffie Hellman参数设置(系统)使用Diffie-Hellman密钥交换协议参数。
|
class |
DHParameterSpec
这类指定使用Diffie-Hellman算法参数的设置,如蛋白# 3规定:Diffie-Hellman密钥交换协议标准。
|
class |
GCMParameterSpec
指定由一个
Cipher 使用伽罗瓦/计数器模式(GCM)所需的参数设定模式。
|
class |
IvParameterSpec
这类指定一个初始化向量(IV)。
|
class |
OAEPParameterSpec
这类指定使用OAEP填充参数的设置,如在
PKCS #1标准定义。
|
class |
PBEParameterSpec
这类指定使用基于密码的加密参数设置(PBE),在
PKCS #5标准定义。
|
class |
RC2ParameterSpec
这类指定用
RC2算法参数。
|
class |
RC5ParameterSpec
这类指定用
RC5算法参数。
|
Modifier and Type | Method and Description |
---|---|
AlgorithmParameterSpec |
OAEPParameterSpec.getMGFParameters()
返回掩码生成函数的参数。
|
AlgorithmParameterSpec |
PBEParameterSpec.getParameterSpec()
返回密码算法参数规范。
|
Constructor and Description |
---|
OAEPParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc)
构造一个参数设置为OAEP填充所界定的PKCS 1标准#使用指定的消息摘要算法
mdName ,掩码生成函数算法
mgfName ,为掩模生成功能
mgfSpec 参数和源的编码输入P
pSrc 。
|
PBEParameterSpec(byte[] salt, int iterationCount, AlgorithmParameterSpec paramSpec)
构建了一个基于口令的加密参数设置中定义的# PKCS 5标准。
|
Modifier and Type | Method and Description |
---|---|
AlgorithmParameterSpec |
AlgorithmMethod.getParameterSpec()
返回该
AlgorithmMethod 算法参数。
|
Modifier and Type | Method and Description |
---|---|
AlgorithmParameterSpec |
DigestMethod.getParameterSpec()
返回特定算法的输入参数与此相关的
DigestMethod 。
|
AlgorithmParameterSpec |
SignatureMethod.getParameterSpec()
返回特定算法的输入参数的
SignatureMethod 。
|
AlgorithmParameterSpec |
CanonicalizationMethod.getParameterSpec()
返回特定算法的输入参数与此相关的
CanonicalizationMethod 。
|
AlgorithmParameterSpec |
Transform.getParameterSpec()
返回特定算法的输入参数与此相关的
Transform 。
|
Modifier and Type | Interface and Description |
---|---|
interface |
C14NMethodParameterSpec
一
CanonicalizationMethod 算法规范算法参数。
|
interface |
DigestMethodParameterSpec
一
DigestMethod 算法规范算法参数。
|
interface |
SignatureMethodParameterSpec
一个XML
SignatureMethod 算法规范算法参数。
|
interface |
TransformParameterSpec
一
Transform 算法规范算法参数。
|
Modifier and Type | Class and Description |
---|---|
class |
ExcC14NParameterSpec
因为W3C推荐的参数:
Exclusive XML Canonicalization (C14N) algorithm。
|
class |
HMACParameterSpec
|
class |
XPathFilter2ParameterSpec
因为W3C推荐的
XPath Filter 2.0 Transform Algorithm参数。
|
class |
XPathFilterParameterSpec
|
class |
XSLTTransformParameterSpec
|
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.