This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or
key agreement.
This exception is thrown when a
Cipher
operating in
an AEAD mode (such as GCM/CCM) is unable to verify the supplied
authentication tag.
A CipherInputStream is composed of an InputStream and a Cipher so
that read() methods return data that are read in from the
underlying InputStream but have been additionally processed by the
Cipher.
A CipherOutputStream is composed of an OutputStream and a Cipher so
that write() methods first process the data before writing them out
to the underlying OutputStream.
This class provides the functionality of an exemption mechanism, examples
of which are
key recovery
,
key weakening
, and
key escrow
.