Module java.base
Package java.security.spec
✗
package java.security.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 DSA public and private keys, RSA public and private keys, PKCS #8 private keys in DER-encoded format, and X.509 public and private keys in DER-encoded format.
An algorithm parameter specification is a transparent representation of the sets of parameters used with an algorithm. This package contains an algorithm parameter specification for parameters used with the DSA algorithm.
Package Specification
- PKCS #1: RSA Cryptography Specifications, Version 2.2 (RFC 8017)
- PKCS #8: Private-Key Information Syntax Standard, Version 1.2, November 1993
- Federal Information Processing Standards Publication (FIPS PUB) 186: Digital Signature Standard (DSS)
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 Guide
- 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.2
Types
- ✓ AlgorithmParameterSpec
- ✓ DSAGenParameterSpec
- ✓ DSAParameterSpec
- ✓ DSAPrivateKeySpec
- ✓ DSAPublicKeySpec
- ✓ ECField
- ✓ ECFieldF2m
- ✓ ECFieldFp
- ✓ ECGenParameterSpec
- ✓ ECParameterSpec
- ✓ ECPoint
- ✓ ECPrivateKeySpec
- ✓ ECPublicKeySpec
- ✓ EdDSAParameterSpec
- ✓ EdECPoint
- ✓ EdECPrivateKeySpec
- ✓ EdECPublicKeySpec
- ✓ EllipticCurve
- ✓ EncodedKeySpec
- ✓ InvalidKeySpecException
- ✓ InvalidParameterSpecException
- ✓ KeySpec
- ✓ MGF1ParameterSpec
- ✓ NamedParameterSpec
- ✓ PKCS8EncodedKeySpec
- ✓ PSSParameterSpec
- ✓ RSAKeyGenParameterSpec
- ✓ RSAMultiPrimePrivateCrtKeySpec
- ✓ RSAOtherPrimeInfo
- ✓ RSAPrivateCrtKeySpec
- ✓ RSAPrivateKeySpec
- ✓ RSAPublicKeySpec
- ✓ X509EncodedKeySpec
- ✓ XECPrivateKeySpec
- ✓ XECPublicKeySpec
Summary
| Elements | Comments | Descriptions | Total | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed | ||
| java.security.spec | 2 | 2 | ||||||||
| Total | 2 | 2 | ||||||||