No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Package javax.crypto.spec

Provides classes and interfaces for key specifications and algorithm parameter specifications.

See: Description

  • Class Summary 
    Class Description
    DESedeKeySpec
    This class specifies a DES-EDE ("triple-DES") key.
    DESKeySpec
    This class specifies a DES key.
    DHGenParameterSpec
    This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement.
    DHParameterSpec
    This class specifies the set of parameters used with the Diffie-Hellman algorithm, as specified in PKCS #3: Diffie-Hellman Key-Agreement Standard.
    DHPrivateKeySpec
    This class specifies a Diffie-Hellman private key with its associated parameters.
    DHPublicKeySpec
    This class specifies a Diffie-Hellman public key with its associated parameters.
    GCMParameterSpec
    Specifies the set of parameters required by a Cipher using the Galois/Counter Mode (GCM) mode.
    IvParameterSpec
    This class specifies an initialization vector (IV).
    OAEPParameterSpec
    This class specifies the set of parameters used with OAEP Padding, as defined in the PKCS #1 standard.
    PBEKeySpec
    A user-chosen password that can be used with password-based encryption (PBE).
    PBEParameterSpec
    This class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.
    PSource
    This class specifies the source for encoding input P in OAEP Padding, as defined in the PKCS #1 standard.
    PSource.PSpecified
    This class is used to explicitly specify the value for encoding input P in OAEP Padding.
    RC2ParameterSpec
    This class specifies the parameters used with the RC2 algorithm.
    RC5ParameterSpec
    This class specifies the parameters used with the RC5 algorithm.
    SecretKeySpec
    This class specifies a secret key in a provider-independent fashion.

      

Package javax.crypto.spec Description

Provides classes and interfaces for key specifications and algorithm parameter specifications.

A key specification is a transparent representation of the key material that constitutes a key. A key may be specified in an algorithm-specific way, or in an algorithm-independent encoding format (such as ASN.1). This package contains key specifications for Diffie-Hellman public and private keys, as well as key specifications for DES, Triple DES, and PBE secret keys.

An algorithm parameter specification is a transparent representation of the sets of parameters used with an algorithm. This package contains algorithm parameter specifications for parameters used with the Diffie-Hellman, DES, Triple DES, PBE, RC2 and RC5 algorithms.

Package Specification

  • PKCS #3: Diffie-Hellman Key-Agreement Standard, Version 1.4, November 1993.
  • PKCS #5: Password-Based Encryption Standard, Version 1.5, November 1993.
  • Federal Information Processing Standards Publication (FIPS PUB) 46-2: Data Encryption Standard (DES)
For documentation that includes information about algorithm parameter and key specifications, please see:
Since:
1.4

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/crypto/spec/package-summary.html/.html/.html/

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut