Module java.base
Package java.security.interfaces
✗
package java.security.interfaces
Comparing jdk-20-ga and jdk-21+35
Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186.
Note that these interfaces are intended only for key implementations whose key material is accessible and available. These interfaces are not intended for key implementations whose key material resides in inaccessible, protected storage (such as in a hardware device).
For more developer information on how to use these interfaces, including information on how to design Key
classes for hardware devices, please refer to these cryptographic provider developer guides:
- 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 ArchitectureMoved 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.
Package Specification
- PKCS #1: RSA Cryptography Specifications, Version 2.2 (RFC 8017)
- Federal Information Processing Standards Publication (FIPS PUB) 186: Digital Signature Standard (DSS)
Related Documentation
For further documentation, 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 Reference Guide
- Since:
- 1.1
Types
- ✓ DSAKey
- ✓ DSAKeyPairGenerator
- ✓ DSAParams
- ✓ DSAPrivateKey
- ✓ DSAPublicKey
- ✓ ECKey
- ✓ ECPrivateKey
- ✓ ECPublicKey
- ✓ EdECKey
- ✓ EdECPrivateKey
- ✓ EdECPublicKey
- ✓ RSAKey
- ✓ RSAMultiPrimePrivateCrtKey
- ✓ RSAPrivateCrtKey
- ✓ RSAPrivateKey
- ✓ RSAPublicKey
- ✓ XECKey
- ✓ XECPrivateKey
- ✓ XECPublicKey
Summary
| Elements | Comments | Descriptions | Total | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed | ||
| java.security.interfaces | 3 | 3 | ||||||||
| Total | 3 | 3 | ||||||||