Uses of Package java.security.interfaces (Java Platform SE 8 )
Date: 2026-04-22

# Uses of Package
java.security.interfaces

- Packages that use java.security.interfaces
  Package | Description
  --- | ---
  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.
  java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications.

- Classes in java.security.interfaces used by java.security.interfaces
  Class and Description
  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.
  ECKey The interface to an elliptic curve (EC) key.
  RSAKey The interface to a public or private key in PKCS#1 v2.2 standard, such as those for RSA, or RSASSA-PSS algorithms.
  RSAPrivateKey The interface to an RSA private key.

- Classes in java.security.interfaces used by java.security.spec
  Class and Description
  DSAParams Interface to a DSA-specific set of key parameters, which defines a DSA key family.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.