# 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 | 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.
  XECKey | An interface for an elliptic curve public/private key as defined by RFC 7748.

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