java.security.interfaces
Stay organized with collections
Save and categorize content based on your preferences.
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:
Package Specification
- PKCS #1: RSA Encryption Standard, Version 1.5, November 1993
- Federal Information Processing Standards Publication (FIPS PUB) 186:
Digital Signature Standard (DSS)
For further documentation, please see:
Interfaces
DSAKey |
The interface to a DSA public or private key. |
DSAParams |
Interface to a DSA-specific set of key parameters, which defines a
DSA key family. |
DSAPrivateKey |
The standard interface to a DSA private key. |
DSAPublicKey |
The interface to a DSA public key. |
ECKey |
The interface to an elliptic curve (EC) key. |
ECPrivateKey |
The interface to an elliptic curve (EC) private key. |
ECPublicKey |
The interface to an elliptic curve (EC) public key. |
RSAKey |
The interface to an RSA public or private key. |
RSAMultiPrimePrivateCrtKey |
The interface to an RSA multi-prime private key, as defined in the
PKCS#1 v2.1, using the Chinese Remainder Theorem
(CRT) information values. |
RSAPrivateCrtKey |
The interface to an RSA private key, as defined in the PKCS#1 standard,
using the Chinese Remainder Theorem (CRT) information values. |
RSAPrivateKey |
The interface to an RSA private key. |
RSAPublicKey |
The interface to an RSA public key. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["Provides interfaces for generating RSA and DSA keys according to PKCS#1 and FIPS-186 standards respectively."],["These interfaces are designed for key implementations with accessible key material, not for keys stored in secure hardware."],["Includes interfaces for various key types including RSA, DSA, and EC, with support for both public and private keys."],["Developers can find further implementation details and guidelines in the provided cryptographic provider guides."],["Relevant specifications and documentation such as PKCS#1, FIPS-186, and the Java Cryptography Architecture API are referenced for further information."]]],[]]