# Uses of Interface
java.security.AsymmetricKey

Packages that use AsymmetricKey
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.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.

- ## Uses of AsymmetricKey in java.security

  Subinterfaces of AsymmetricKey in java.security
  Modifier and Type
  Interface
  Description
  `interface`
  `PrivateKey`
  A private key.
  `interface`
  `PublicKey`
  A public key.

- ## Uses of AsymmetricKey in java.security.interfaces

  Subinterfaces of AsymmetricKey in java.security.interfaces
  Modifier and Type
  Interface
  Description
  `interface`
  `DSAPrivateKey`
  The standard interface to a DSA private key.
  `interface`
  `DSAPublicKey`
  The interface to a DSA public key.
  `interface`
  `ECPrivateKey`
  The interface to an elliptic curve (EC) private key.
  `interface`
  `ECPublicKey`
  The interface to an elliptic curve (EC) public key.
  `interface`
  `EdECPrivateKey`
  An interface for an elliptic curve private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
  `interface`
  `EdECPublicKey`
  An interface for an elliptic curve public key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
  `interface`
  `RSAMultiPrimePrivateCrtKey`
  The 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`
  `RSAPrivateCrtKey`
  The interface to an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.
  `interface`
  `RSAPrivateKey`
  The interface to an RSA private key.
  `interface`
  `RSAPublicKey`
  The interface to an RSA public key.
  `interface`
  `XECPrivateKey`
  An interface for an elliptic curve private key as defined by RFC 7748.
  `interface`
  `XECPublicKey`
  An interface for an elliptic curve public key as defined by RFC 7748.

- ## Uses of AsymmetricKey in javax.crypto.interfaces

  Subinterfaces of AsymmetricKey in javax.crypto.interfaces
  Modifier and Type
  Interface
  Description
  `interface`
  `DHPrivateKey`
  The interface to a Diffie-Hellman private key.
  `interface`
  `DHPublicKey`
  The interface to a Diffie-Hellman public key.

- ## Uses of AsymmetricKey in javax.crypto.spec

  Methods in javax.crypto.spec that return AsymmetricKey
  Modifier and Type
  Method
  Description
  `AsymmetricKey`
  HPKEParameterSpec.`authKey()`
  Returns the key for authentication, `null` if none.
  Methods in javax.crypto.spec with parameters of type AsymmetricKey
  Modifier and Type
  Method
  Description
  `HPKEParameterSpec`
  HPKEParameterSpec.`withAuthKey(AsymmetricKey kS)`
  Creates a new `HPKEParameterSpec` object with the specified authentication key value.