# Hierarchy For Package java.security

Package Hierarchies:

- All Packages

## Class Hierarchy

- java.lang.Object
  - java.security.AccessControlContext
  - java.security.AccessController
  - java.security.AlgorithmParameterGenerator
  - java.security.AlgorithmParameterGeneratorSpi
  - java.security.AlgorithmParameters
  - java.security.AlgorithmParametersSpi
  - java.lang.ClassLoader
    - java.security.SecureClassLoader
  - java.security.CodeSigner (implements java.io.Serializable)
  - java.security.CodeSource (implements java.io.Serializable)
  - java.util.Dictionary<K,V>
    - java.util.Hashtable<K,V> (implements java.lang.Cloneable, java.util.Map<K,V>, java.io.Serializable)
      - java.util.Properties
        - java.security.Provider
          - java.security.AuthProvider
  - java.security.DomainLoadStoreParameter (implements java.security.KeyStore.LoadStoreParameter)
  - java.security.GuardedObject (implements java.io.Serializable)
  - java.security.Identity (implements java.security.Principal, java.io.Serializable)
    - java.security.IdentityScope
    - java.security.Signer
  - java.io.InputStream (implements java.io.Closeable)
    - java.io.FilterInputStream
      - java.security.DigestInputStream
  - java.security.KeyFactory
  - java.security.KeyFactorySpi
  - java.security.KeyPair (implements java.io.Serializable)
  - java.security.KeyPairGeneratorSpi
    - java.security.KeyPairGenerator
  - java.security.KeyRep (implements java.io.Serializable)
  - java.security.KeyStore
  - java.security.KeyStore.Builder
  - java.security.KeyStore.CallbackHandlerProtection (implements java.security.KeyStore.ProtectionParameter)
  - java.security.KeyStore.PasswordProtection (implements javax.security.auth.Destroyable, java.security.KeyStore.ProtectionParameter)
  - java.security.KeyStore.PrivateKeyEntry (implements java.security.KeyStore.Entry)
  - java.security.KeyStore.SecretKeyEntry (implements java.security.KeyStore.Entry)
  - java.security.KeyStore.TrustedCertificateEntry (implements java.security.KeyStore.Entry)
  - java.security.KeyStoreSpi
  - java.security.MessageDigestSpi
    - java.security.MessageDigest
  - java.io.OutputStream (implements java.io.Closeable, java.io.Flushable)
    - java.io.FilterOutputStream
      - java.security.DigestOutputStream
  - java.security.Permission (implements java.security.Guard, java.io.Serializable)
    - java.security.AllPermission
    - java.security.BasicPermission (implements java.io.Serializable)
      - java.security.SecurityPermission
    - java.security.UnresolvedPermission (implements java.io.Serializable)
  - java.security.PermissionCollection (implements java.io.Serializable)
    - java.security.Permissions (implements java.io.Serializable)
  - java.security.PKCS12Attribute (implements java.security.KeyStore.Entry.Attribute)
  - java.security.Policy
  - java.security.PolicySpi
  - java.security.ProtectionDomain
  - java.security.Provider.Service
  - java.util.Random (implements java.io.Serializable)
    - java.security.SecureRandom
  - java.security.SecureRandomSpi (implements java.io.Serializable)
  - java.security.Security
  - java.security.SignatureSpi
    - java.security.Signature
  - java.security.SignedObject (implements java.io.Serializable)
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - java.security.GeneralSecurityException
        - java.security.DigestException
        - java.security.InvalidAlgorithmParameterException
        - java.security.KeyException
          - java.security.InvalidKeyException
          - java.security.KeyManagementException
        - java.security.KeyStoreException
        - java.security.NoSuchAlgorithmException
        - java.security.NoSuchProviderException
        - java.security.SignatureException
        - java.security.UnrecoverableEntryException
          - java.security.UnrecoverableKeyException
      - java.security.PrivilegedActionException
      - java.lang.RuntimeException
        - java.lang.IllegalArgumentException
          - java.security.InvalidParameterException
        - java.security.ProviderException
        - java.lang.SecurityException
          - java.security.AccessControlException
  - java.security.Timestamp (implements java.io.Serializable)
  - java.security.URIParameter (implements javax.security.auth.login.Configuration.Parameters, java.security.Policy.Parameters)

## Interface Hierarchy

- java.security.AlgorithmConstraints
- java.security.Certificate
- javax.security.auth.Destroyable
  - java.security.PrivateKey (also extends java.security.Key)
- java.security.DomainCombiner
- java.security.Guard
- java.security.KeyStore.Entry
- java.security.KeyStore.Entry.Attribute
- java.security.KeyStore.LoadStoreParameter
- java.security.KeyStore.ProtectionParameter
- java.security.Policy.Parameters
- java.security.Principal
- java.security.PrivilegedAction<T>
- java.security.PrivilegedExceptionAction<T>
- java.io.Serializable
  - java.security.Key
    - java.security.PrivateKey (also extends javax.security.auth.Destroyable)
    - java.security.PublicKey

## Enum Hierarchy

- java.lang.Object
  - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
    - java.security.CryptoPrimitive
    - java.security.KeyRep.Type

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, 2015, Oracle and/or its affiliates. All rights reserved.