软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
javax.crypto |
提供加密操作的类和接口。
|
Modifier and Type | Method and Description |
---|---|
protected abstract PrivateKey |
KeyFactorySpi.engineGeneratePrivate(KeySpec keySpec)
从所提供的关键规范(关键材料)生成一个私有密钥对象。
|
protected abstract PublicKey |
KeyFactorySpi.engineGeneratePublic(KeySpec keySpec)
从所提供的关键规范(关键材料)生成公共密钥对象。
|
protected abstract <T extends KeySpec> |
KeyFactorySpi.engineGetKeySpec(Key key, 类<T> keySpec)
返回给定键对象的规范(关键材料)。
|
PrivateKey |
KeyFactory.generatePrivate(KeySpec keySpec)
从所提供的关键规范(关键材料)生成一个私有密钥对象。
|
PublicKey |
KeyFactory.generatePublic(KeySpec keySpec)
从所提供的关键规范(关键材料)生成公共密钥对象。
|
<T extends KeySpec> |
KeyFactory.getKeySpec(Key key, 类<T> keySpec)
返回给定键对象的规范(关键材料)。
|
Modifier and Type | Method and Description |
---|---|
protected abstract SecretKey |
SecretKeyFactorySpi.engineGenerateSecret(KeySpec keySpec)
从提供的关键指标产生
SecretKey 对象(关键材料)。
|
protected abstract KeySpec |
SecretKeyFactorySpi.engineGetKeySpec(SecretKey key, 类<?> keySpec)
返回指定的关键对象的规范(关键材料)的要求的格式。
|
SecretKey |
SecretKeyFactory.generateSecret(KeySpec keySpec)
从提供的关键指标产生
SecretKey 对象(关键材料)。
|
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Cipher cipher)
从加密的数据提取封闭pkcs8encodedkeyspec对象并返回它。
|
KeySpec |
SecretKeyFactory.getKeySpec(SecretKey key, 类<?> keySpec)
返回指定的关键对象的规范(关键材料)的要求的格式。
|
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.