# Uses of Interface
javax.security.auth.Destroyable

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

## Uses of Destroyable in java.security

Subinterfaces of Destroyable in java.security
Modifier and Type
Interface
Description
`interface`
`PrivateKey`
A private key.
Classes in java.security that implement Destroyable
Modifier and Type
Class
Description
`static class`
`KeyStore.PasswordProtection`
A password-based implementation of `ProtectionParameter`.

## Uses of Destroyable in java.security.interfaces

Subinterfaces of Destroyable in java.security.interfaces
Modifier and Type
Interface
Description
`interface`
`DSAPrivateKey`
The standard interface to a DSA private key.
`interface`
`ECPrivateKey`
The interface to an elliptic curve (EC) private key.
`interface`
`EdECPrivateKey`
An interface for an elliptic curve private 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`
`XECPrivateKey`
An interface for an elliptic curve private key as defined by RFC 7748.

## Uses of Destroyable in javax.crypto

Subinterfaces of Destroyable in javax.crypto
Modifier and Type
Interface
Description
`interface`
`SecretKey`
A secret (symmetric) key.

## Uses of Destroyable in javax.crypto.interfaces

Subinterfaces of Destroyable in javax.crypto.interfaces
Modifier and Type
Interface
Description
`interface`
`DHPrivateKey`
The interface to a Diffie-Hellman private key.
`interface`
`PBEKey`
The interface to a PBE key.

## Uses of Destroyable in javax.crypto.spec

Classes in javax.crypto.spec that implement Destroyable
Modifier and Type
Class
Description
`class`
`SecretKeySpec`
This class specifies a secret key in a provider-independent fashion.

## Uses of Destroyable in javax.security.auth.kerberos

Classes in javax.security.auth.kerberos that implement Destroyable
Modifier and Type
Class
Description
`final class`
`EncryptionKey`
This class encapsulates an EncryptionKey used in Kerberos.
`final class`
`KerberosCredMessage`
This class encapsulates a Kerberos 5 KRB_CRED message which can be used to send Kerberos credentials from one principal to another.
`class`
`KerberosKey`
This class encapsulates a long term secret key for a Kerberos principal.
`class`
`KerberosTicket`
This class encapsulates a Kerberos ticket and associated information as viewed from the client's point of view.

## Uses of Destroyable in javax.security.auth.x500

Classes in javax.security.auth.x500 that implement Destroyable
Modifier and Type
Class
Description
`final class`
`X500PrivateCredential`
This class represents an `X500PrivateCredential`.