Uses of Class
javax.crypto.Cipher
Packages that use Cipher
-
Uses of Cipher in javax.crypto
Subclasses of Cipher in javax.cryptoModifier and TypeClassDescriptionclass
The NullCipher class is a class that provides an "identity cipher" -- one that does not transform the plain text.Methods in javax.crypto that return CipherModifier and TypeMethodDescriptionstatic final Cipher
Cipher.getInstance
(String transformation) Returns aCipher
object that implements the specified transformation.static final Cipher
Cipher.getInstance
(String transformation, String provider) Returns aCipher
object that implements the specified transformation.static final Cipher
Cipher.getInstance
(String transformation, Provider provider) Returns aCipher
object that implements the specified transformation.Methods in javax.crypto with parameters of type CipherModifier and TypeMethodDescriptionEncryptedPrivateKeyInfo.getKeySpec
(Cipher cipher) Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.final Object
Retrieves the original (encapsulated) object.Constructors in javax.crypto with parameters of type CipherModifierConstructorDescriptionCipherInputStream
(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.