Uses of Class
java.security.spec.InvalidKeySpecException
-
Packages that use InvalidKeySpecException 软件包 描述 java.security 提供安全框架的类和接口。javax.crypto 提供加密操作的类和接口。 -
-
Uses of InvalidKeySpecException in java.security
Methods in java.security that throw InvalidKeySpecException Modifier and Type 方法 描述 protected abstract PrivateKey
KeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)
从提供的密钥规范(密钥材料)生成私钥对象。protected abstract PublicKey
KeyFactorySpi. engineGeneratePublic(KeySpec keySpec)
从提供的密钥规范(密钥材料)生成公钥对象。protected abstract <T extends KeySpec>
TKeyFactorySpi. engineGetKeySpec(Key key, Class<T> keySpec)
返回给定键对象的规范(关键材料)。PrivateKey
KeyFactory. generatePrivate(KeySpec keySpec)
从提供的密钥规范(密钥材料)生成私钥对象。PublicKey
KeyFactory. generatePublic(KeySpec keySpec)
从提供的密钥规范(密钥材料)生成公钥对象。<T extends KeySpec>
TKeyFactory. getKeySpec(Key key, Class<T> keySpec)
返回给定键对象的规范(关键材料)。 -
Uses of InvalidKeySpecException in javax.crypto
Methods in javax.crypto that throw InvalidKeySpecException Modifier and Type 方法 描述 protected abstract SecretKey
SecretKeyFactorySpi. engineGenerateSecret(KeySpec keySpec)
从提供的密钥规范(密钥材料)生成一个SecretKey
对象。protected abstract KeySpec
SecretKeyFactorySpi. engineGetKeySpec(SecretKey key, Class<?> keySpec)
以请求的格式返回给定键对象的规范(关键材料)。SecretKey
SecretKeyFactory. generateSecret(KeySpec keySpec)
根据提供的密钥规范(密钥材料)生成一个SecretKey
对象。PKCS8EncodedKeySpec
EncryptedPrivateKeyInfo. getKeySpec(Cipher cipher)
从加密数据中提取附带的PKCS8EncodedKeySpec对象并返回。KeySpec
SecretKeyFactory. getKeySpec(SecretKey key, Class<?> keySpec)
Returns a specification (key material) of the given key object in the requested format.
-