| Package | Description | 
|---|---|
| java.security | Provides the classes and interfaces for the security framework. | 
| java.security.interfaces | 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. | 
| javax.crypto | Provides the classes and interfaces for cryptographic operations. | 
| javax.crypto.interfaces | Provides interfaces for Diffie-Hellman keys as defined in
RSA Laboratories' PKCS #3. | 
| javax.crypto.spec | Provides classes and interfaces for key specifications and algorithm
parameter specifications. | 
| javax.security.auth.kerberos | This package contains utility classes related to the Kerberos network
 authentication protocol. | 
| javax.security.auth.x500 | This package contains the classes that should be used to store
 X500 Principal and X500 Private Credentials in a
 Subject. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | PrivateKeyA private key. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | KeyStore.PasswordProtectionA password-based implementation of  ProtectionParameter. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DSAPrivateKeyThe standard interface to a DSA private key. | 
| interface  | ECPrivateKeyThe interface to an elliptic curve (EC) private key. | 
| interface  | RSAMultiPrimePrivateCrtKeyThe interface to an RSA multi-prime private key, as defined in the
 PKCS#1 v2.2 standard,
 using the Chinese Remainder Theorem (CRT) information values. | 
| interface  | RSAPrivateCrtKeyThe interface to an RSA private key, as defined in the
 PKCS#1 v2.2 standard,
 using the Chinese Remainder Theorem (CRT) information values. | 
| interface  | RSAPrivateKeyThe interface to an RSA private key. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | SecretKeyA secret (symmetric) key. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DHPrivateKeyThe interface to a Diffie-Hellman private key. | 
| interface  | PBEKeyThe interface to a PBE key. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SecretKeySpecThis class specifies a secret key in a provider-independent fashion. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | KerberosKeyThis class encapsulates a long term secret key for a Kerberos
 principal. | 
| class  | KerberosTicketThis class encapsulates a Kerberos ticket and associated
 information as viewed from the client's point of view. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | X500PrivateCredential This class represents an  X500PrivateCredential. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.