Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.

Package javax.crypto

Provides the classes and interfaces for cryptographic operations.

See: Description

  • Interface Summary 
    Interface Description
    SecretKey
    A secret (symmetric) key.

      

  • Class Summary 
    Class Description
    Cipher
    This class provides the functionality of a cryptographic cipher for encryption and decryption.
    CipherInputStream
    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.
    CipherOutputStream
    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.
    CipherSpi
    This class defines the Service Provider Interface (SPI) for the Cipher class.
    EncryptedPrivateKeyInfo
    This class implements the EncryptedPrivateKeyInfo type as defined in PKCS #8.
    ExemptionMechanism
    This class provides the functionality of an exemption mechanism, examples of which are key recovery, key weakening, and key escrow.
    ExemptionMechanismSpi
    This class defines the Service Provider Interface (SPI) for the ExemptionMechanism class.
    KeyAgreement
    This class provides the functionality of a key agreement (or key exchange) protocol.
    KeyAgreementSpi
    This class defines the Service Provider Interface (SPI) for the KeyAgreement class.
    KeyGenerator
    This class provides the functionality of a secret (symmetric) key generator.
    KeyGeneratorSpi
    This class defines the Service Provider Interface (SPI) for the KeyGenerator class.
    Mac
    This class provides the functionality of a "Message Authentication Code" (MAC) algorithm.
    MacSpi
    This class defines the Service Provider Interface (SPI) for the Mac class.
    NullCipher
    The NullCipher class is a class that provides an "identity cipher" -- one that does not tranform the plaintext.
    SealedObject
    This class enables a programmer to create an object and protect its confidentiality with a cryptographic algorithm.
    SecretKeyFactory
    This class represents a factory for secret keys.
    SecretKeyFactorySpi
    This class defines the Service Provider Interface (SPI) for the SecretKeyFactory class.

      

  • Exception Summary 
    Exception Description
    AEADBadTagException
    This exception is thrown when a Cipher operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.
    BadPaddingException
    This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
    ExemptionMechanismException
    This is the generic ExemptionMechanism exception.
    IllegalBlockSizeException
    This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.
    NoSuchPaddingException
    This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
    ShortBufferException
    This exception is thrown when an output buffer provided by the user is too short to hold the operation result.

      

Package javax.crypto Description

Provides the classes and interfaces for cryptographic operations. The cryptographic operations defined in this package include encryption, key generation and key agreement, and Message Authentication Code (MAC) generation.

Support for encryption includes symmetric, asymmetric, block, and stream ciphers. This package also supports secure streams and sealed objects.

Many of the classes provided in this package are provider-based. The class itself defines a programming interface to which applications may write. The implementations themselves may then be written by independent third-party vendors and plugged in seamlessly as needed. Therefore application developers may take advantage of any number of provider-based implementations without having to add or rewrite code.

Package Specification

For further documentation, please see:
Since:
1.4

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/crypto/package-summary.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut