Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Standard Ed. 5.0
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.crypto.Cipher

Packages that use Cipher
javax.crypto | Provides the classes and interfaces for cryptographic operations.

Uses of Cipher in javax.crypto

Subclasses of Cipher in javax.crypto
`class` | `NullCipher` The NullCipher class is a class that provides an "identity cipher" -- one that does not tranform the plaintext.

Methods in javax.crypto that return Cipher
`static Cipher` | `Cipher.getInstance(String transformation)` Generates a `Cipher` object that implements the specified transformation.
`static Cipher` | `Cipher.getInstance(String transformation, Provider provider)` Creates a `Cipher` object that implements the specified transformation, as supplied by the specified provider.
`static Cipher` | `Cipher.getInstance(String transformation, String provider)` Creates a `Cipher` object that implements the specified transformation, as supplied by the specified provider.

Methods in javax.crypto with parameters of type Cipher
`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.

Constructors in javax.crypto with parameters of type Cipher
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Standard Ed. 5.0
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.