类层次结构
- java.lang.Object 
       
- javax.crypto.Cipher 
         
- javax.crypto.NullCipher
 
 - javax.crypto.CipherSpi
 - javax.crypto.EncryptedPrivateKeyInfo
 - javax.crypto.ExemptionMechanism
 - javax.crypto.ExemptionMechanismSpi
 - java.io.InputStream (implements java.io.Closeable) 
         
- java.io.FilterInputStream 
           
- javax.crypto.CipherInputStream
 
 
 - java.io.FilterInputStream 
           
 - javax.crypto.KeyAgreement
 - javax.crypto.KeyAgreementSpi
 - javax.crypto.KeyGenerator
 - javax.crypto.KeyGeneratorSpi
 - javax.crypto.Mac (implements java.lang.Cloneable)
 - javax.crypto.MacSpi
 - java.io.OutputStream (implements java.io.Closeable, java.io.Flushable) 
         
- java.io.FilterOutputStream 
           
- javax.crypto.CipherOutputStream
 
 
 - java.io.FilterOutputStream 
           
 - javax.crypto.SealedObject (implements java.io.Serializable)
 - javax.crypto.SecretKeyFactory
 - javax.crypto.SecretKeyFactorySpi
 - java.lang.Throwable (implements java.io.Serializable) 
         
- java.lang.异常 
           
- java.security.GeneralSecurityException 
             
- javax.crypto.BadPaddingException 
               
- javax.crypto.AEADBadTagException
 
 - javax.crypto.ExemptionMechanismException
 - javax.crypto.IllegalBlockSizeException
 - javax.crypto.NoSuchPaddingException
 - javax.crypto.ShortBufferException
 
 - javax.crypto.BadPaddingException 
               
 
 - java.security.GeneralSecurityException 
             
 
 - java.lang.异常 
           
 
 - javax.crypto.Cipher 
         
 
Interface Hierarchy
- javax.security.auth.Destroyable
 - java.io.Serializable 
       
- java.security.Key 
         
- javax.crypto.SecretKey (also extends javax.security.auth.Destroyable)
 
 
 - java.security.Key