| Key | KeyAgreement. doPhase(Key key, boolean lastPhase) | 
               使用从此密钥协议中涉及的其他方之一收到的给定密钥执行此密钥协议的下一阶段。 
              | 
 
            
            | protected abstract Key | KeyAgreementSpi. engineDoPhase(Key key, boolean lastPhase) | 
               使用从此密钥协议中涉及的其他方之一收到的给定密钥执行此密钥协议的下一阶段。 
              | 
 
            
            | protected abstract SecretKey | KeyAgreementSpi. engineGenerateSecret(String algorithm) | 
               创建共享密钥并将其作为所请求算法类型的密钥对象返回。 
              | 
 
            
            | protected int | CipherSpi. engineGetKeySize(Key key) | 
               以位为单位返回给定键对象的键大小。 
              | 
 
            
            | protected abstract void | CipherSpi. engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) | 
               使用密钥,一组算法参数和随机源初始化此密码。 
              | 
 
            
            | protected abstract void | CipherSpi. engineInit(int opmode, Key key, SecureRandom random) | 
               使用密钥和随机源初始化此密码。 
              | 
 
            
            | protected abstract void | CipherSpi. engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) | 
               使用密钥,一组算法参数和随机源初始化此密码。 
              | 
 
            
            | protected abstract void | ExemptionMechanismSpi. engineInit(Key key) | 
               使用密钥初始化此豁免机制。 
              | 
 
            
            | protected abstract void | ExemptionMechanismSpi. engineInit(Key key, AlgorithmParameters params) | 
               使用密钥和一组算法参数初始化此免除机制。 
              | 
 
            
            | protected abstract void | ExemptionMechanismSpi. engineInit(Key key, AlgorithmParameterSpec params) | 
               使用密钥和一组算法参数初始化此免除机制。 
              | 
 
            
            | protected abstract void | KeyAgreementSpi. engineInit(Key key, SecureRandom random) | 
               使用给定的密钥和随机源初始化此密钥协议。 
              | 
 
            
            | protected abstract void | KeyAgreementSpi. engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) | 
               使用给定密钥,算法参数集和随机源初始化此密钥协议。 
              | 
 
            
            | protected abstract void | MacSpi. engineInit(Key key, AlgorithmParameterSpec params) | 
               使用给定(秘密)密钥和算法参数初始化MAC。 
              | 
 
            
            | protected abstract SecretKey | SecretKeyFactorySpi. engineTranslateKey(SecretKey key) | 
               将提供者可能未知或可能不受信任的密钥对象转换为此密钥工厂的相应密钥对象。 
              | 
 
            
            | protected Key | CipherSpi. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) | 
               打开先前包装的密钥。 
              | 
 
            
            | protected byte[] | CipherSpi. engineWrap(Key key) | 
               包裹一把钥匙。 
              | 
 
            
            | SecretKey | KeyAgreement. generateSecret(String algorithm) | 
               创建共享密钥并将其作为指定算法的 
              SecretKey对象返回。 | 
 
            
            | PKCS8EncodedKeySpec | EncryptedPrivateKeyInfo. getKeySpec(Key decryptKey) | 
               从加密数据中提取附带的PKCS8EncodedKeySpec对象并将其返回。 
              | 
 
            
            | PKCS8EncodedKeySpec | EncryptedPrivateKeyInfo. getKeySpec(Key decryptKey, String providerName) | 
               从加密数据中提取附带的PKCS8EncodedKeySpec对象并将其返回。 
              | 
 
            
            | PKCS8EncodedKeySpec | EncryptedPrivateKeyInfo. getKeySpec(Key decryptKey, Provider provider) | 
               从加密数据中提取附带的PKCS8EncodedKeySpec对象并将其返回。 
              | 
 
            
            | Object | SealedObject. getObject(Key key) | 
               检索原始(封装)对象。 
              | 
 
            
            | Object | SealedObject. getObject(Key key, String provider) | 
               检索原始(封装)对象。 
              | 
 
            
            | void | Cipher. init(int opmode, Certificate certificate) | 
               使用给定证书中的公钥初始化此密码。 
              | 
 
            
            | void | Cipher. init(int opmode, Certificate certificate, SecureRandom random) | 
               使用给定证书中的公钥和随机源初始化此密码。 
              | 
 
            
            | void | Cipher. init(int opmode, Key key) | 
               使用密钥初始化此密码。 
              | 
 
            
            | void | Cipher. init(int opmode, Key key, AlgorithmParameters params) | 
               使用密钥和一组算法参数初始化此密码。 
              | 
 
            
            | void | Cipher. init(int opmode, Key key, AlgorithmParameters params, SecureRandom random) | 
               使用密钥,一组算法参数和随机源初始化此密码。 
              | 
 
            
            | void | Cipher. init(int opmode, Key key, SecureRandom random) | 
               使用密钥和随机源初始化此密码。 
              | 
 
            
            | void | Cipher. init(int opmode, Key key, AlgorithmParameterSpec params) | 
               使用密钥和一组算法参数初始化此密码。 
              | 
 
            
            | void | Cipher. init(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) | 
               使用密钥,一组算法参数和随机源初始化此密码。 
              | 
 
            
            | void | ExemptionMechanism. init(Key key) | 
               使用密钥初始化此豁免机制。 
              | 
 
            
            | void | ExemptionMechanism. init(Key key, AlgorithmParameters params) | 
               使用密钥和一组算法参数初始化此免除机制。 
              | 
 
            
            | void | ExemptionMechanism. init(Key key, AlgorithmParameterSpec params) | 
               使用密钥和一组算法参数初始化此免除机制。 
              | 
 
            
            | void | KeyAgreement. init(Key key) | 
               使用给定密钥初始化此密钥协议,该密钥需要包含此密钥协议所需的所有算法参数。 
              | 
 
            
            | void | KeyAgreement. init(Key key, SecureRandom random) | 
               使用给定的密钥和随机源初始化此密钥协议。 
              | 
 
            
            | void | KeyAgreement. init(Key key, AlgorithmParameterSpec params) | 
               使用给定的密钥和算法参数集初始化此密钥协议。 
              | 
 
            
            | void | KeyAgreement. init(Key key, AlgorithmParameterSpec params, SecureRandom random) | 
               使用给定密钥,算法参数集和随机源初始化此密钥协议。 
              | 
 
            
            | void | Mac. init(Key key) | 
               使用给定键初始化此 
              Mac对象。 | 
 
            
            | void | Mac. init(Key key, AlgorithmParameterSpec params) | 
               使用给定的键和算法参数初始化此 
              Mac对象。 | 
 
            
            | SecretKey | SecretKeyFactory. translateKey(SecretKey key) | 
               将提供者可能未知或可能不受信任的密钥对象转换为此密钥工厂的相应密钥对象。 
              | 
 
            
            | Key | Cipher. unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) | 
               打开先前包装的密钥。 
              | 
 
            
            | byte[] | Cipher. wrap(Key key) | 
               包裹一把钥匙。 
              |