软件包 | 描述 |
---|---|
javax.crypto |
提供加密操作的类和接口。
|
Modifier and Type | Class and Description |
---|---|
class |
NullCipher
的nullcipher类是一个类,提供一种“身份密码”——一个不变换的文本。
|
Modifier and Type | Method and Description |
---|---|
static Cipher |
Cipher.getInstance(String transformation)
返回一个
Cipher 对象实现指定的变换。
|
static Cipher |
Cipher.getInstance(String transformation, Provider provider)
返回一个实现指定转换
Cipher 对象。
|
static Cipher |
Cipher.getInstance(String transformation, String provider)
返回一个实现指定转换
Cipher 对象。
|
Modifier and Type | Method and Description |
---|---|
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Cipher cipher)
从加密的数据提取封闭pkcs8encodedkeyspec对象并返回它。
|
Object |
SealedObject.getObject(Cipher c)
检索原始(封装的)对象。
|
Constructor and Description |
---|
CipherInputStream(InputStream is, Cipher c)
构建从InputStream和密码cipherinputstream。
|
CipherOutputStream(OutputStream os, Cipher c)
构建从OutputStream和密码cipheroutputstream。
|
SealedObject(Serializable object, Cipher c)
任何可序列化的对象构建SealedObject中可以。
|
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.