Module java.base
Package javax.crypto.spec
✗
package javax.crypto.spec
Comparing jdk-20-ga and jdk-21+35
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.
- PKCS #1: RSA Cryptography Specifications, Version 2.2 (RFC 8017)
- 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)
Related Documentation
For documentation that includes information about algorithm parameter and key specifications, please see:- Moved out of a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase20&id=security_guide_jca.Moved to a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase21&id=security_guide_jca. Moved out of a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase20&id=security_guide_jca.Moved to a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase21&id=security_guide_jca.Java Cryptography Architecture (JCA) Reference GuideMoved out of a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase20&id=security_guide_jca.Moved to a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase21&id=security_guide_jca.
- Moved out of a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase20&id=security_guide_impl_provider.Moved to a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase21&id=security_guide_impl_provider. Moved out of a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase20&id=security_guide_impl_provider.Moved to a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase21&id=security_guide_impl_provider.How to Implement a Provider in the Java Cryptography Architecture
- Since:
- 1.4
Types
- ✓ ChaCha20ParameterSpec
- ✓ DESKeySpec
- ✓ DESedeKeySpec
- ✓ DHGenParameterSpec
- ✓ DHParameterSpec
- ✓ DHPrivateKeySpec
- ✓ DHPublicKeySpec
- ✓ GCMParameterSpec
- ✓ IvParameterSpec
- ✓ OAEPParameterSpec
- ✓ PBEKeySpec
- ✓ PBEParameterSpec
- ✓ PSource
- ✓ RC2ParameterSpec
- ✓ RC5ParameterSpec
- ✓ SecretKeySpec
Summary
| Elements | Comments | Descriptions | Total | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed | ||
| javax.crypto.spec | 3 | 3 | ||||||||
| Total | 3 | 3 | ||||||||