Package | Description |
---|---|
javax.crypto |
Provides the classes and interfaces for cryptographic
operations.
|
Modifier and Type | Class | Description |
---|---|---|
class |
NullCipher |
The NullCipher class is a class that provides an
"identity cipher" -- one that does not transform the plain text.
|
Modifier and Type | Method | Description |
---|---|---|
static Cipher |
Cipher.getInstance(String transformation) |
Returns a
Cipher object that implements the specified
transformation. |
static Cipher |
Cipher.getInstance(String transformation,
String provider) |
Returns a
Cipher object that implements the specified
transformation. |
static Cipher |
Cipher.getInstance(String transformation,
Provider provider) |
Returns a
Cipher object that implements the specified
transformation. |
Modifier and Type | Method | Description |
---|---|---|
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Cipher cipher) |
Extract the enclosed PKCS8EncodedKeySpec object from the
encrypted data and return it.
|
Object |
SealedObject.getObject(Cipher c) |
Retrieves the original (encapsulated) object.
|
Constructor | Description |
---|---|
CipherInputStream(InputStream is,
Cipher c) |
Constructs a CipherInputStream from an InputStream and a
Cipher.
|
CipherOutputStream(OutputStream os,
Cipher c) |
Constructs a CipherOutputStream from an OutputStream and a
Cipher.
|
SealedObject(Serializable object,
Cipher c) |
Constructs a SealedObject from any Serializable object.
|
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps