クラス
java.security.spec.InvalidKeySpecExceptionの使用
-
InvalidKeySpecExceptionを使用しているパッケージ パッケージ 説明 java.security セキュリティ・フレームワークのクラスとインタフェースを提供します。javax.crypto 暗号化操作のクラスとインタフェースを提供します。 -
-
java.securityでのInvalidKeySpecExceptionの使用
InvalidKeySpecExceptionをスローするjava.securityのメソッド 修飾子と型 メソッド 説明 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)
指定されたキー・オブジェクトの仕様(キー・データ)を返します。 -
javax.cryptoでのInvalidKeySpecExceptionの使用
InvalidKeySpecExceptionをスローするjavax.cryptoのメソッド 修飾子と型 メソッド 説明 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)
指定されたキー・オブジェクトの仕様(キー・データ)を要求された形式で返します。
-