JavaTM 2 Platform
Standard Ed. 5.0

クラス
java.security.NoSuchAlgorithmException の使用

NoSuchAlgorithmException を使用しているパッケージ
java.security セキュリティフレームワークのクラスとインタフェースを提供します。 
java.security.cert 証明書、証明書の取り消しリスト (CRL)、証明書パスを解析および管理するためのクラスとインタフェースを提供します。 
javax.crypto 暗号化操作のクラスとインタフェースを提供します。 
javax.net.ssl セキュアソケットパッケージのクラスを提供します。 
javax.security.cert 公開鍵証明書用のクラスを提供します。 
 

java.security での NoSuchAlgorithmException の使用
 

NoSuchAlgorithmException をスローする java.security のメソッド
 KeyStore.Entry KeyStoreSpi.engineGetEntry(String alias, KeyStore.ProtectionParameter protParam)
          指定された保護パラメータを使用して、指定された別名に対する KeyStore.Entry を取得します。
abstract  Key KeyStoreSpi.engineGetKey(String alias, char[] password)
          指定されたパスワードを使用して、指定された別名に関連付けられた鍵を復元し、その鍵を返します。
abstract  void KeyStoreSpi.engineLoad(InputStream stream, char[] password)
          指定された入力ストリームからキーストアをロードします。
 void KeyStoreSpi.engineLoad(KeyStore.LoadStoreParameter param)
          指定された KeyStore.LoadStoreParameter を使用してキーストアをロードします。
 void KeyStoreSpi.engineStore(KeyStore.LoadStoreParameter param)
          指定された KeyStore.LoadStoreParmeter を使用してキーストアを格納します。
abstract  void KeyStoreSpi.engineStore(OutputStream stream, char[] password)
          指定された出力ストリームにこのキーストアを格納し、指定されたパスワードでその整合性を保護します。
 KeyStore.Entry KeyStore.getEntry(String alias, KeyStore.ProtectionParameter protParam)
          指定された保護パラメータを使用して、指定された別名に対するキーストア Entry を取得します。
static MessageDigest MessageDigest.getInstance(String algorithm)
          指定されたダイジェストアルゴリズムを実装する MessageDigest オブジェクトを作成します。
static Signature Signature.getInstance(String algorithm)
          指定されたダイジェストアルゴリズムを実装する Signature オブジェクトを作成します。
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm)
          指定されたアルゴリズムに対するパラメータオブジェクトを作成します。
static SecureRandom SecureRandom.getInstance(String algorithm)
          指定された乱数ジェネレータ (RNG) アルゴリズムを実装した SecureRandom オブジェクトを作成します。
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm)
          指定されたダイジェストアルゴリズムを実装する KeyPairGenerator オブジェクトを作成します。
static KeyFactory KeyFactory.getInstance(String algorithm)
          指定されたアルゴリズムを実装する KeyFactory オブジェクトを作成します。
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm)
          指定されたダイジェストアルゴリズムを実装する AlgorithmParameterGenerator オブジェクトを作成します。
static MessageDigest MessageDigest.getInstance(String algorithm, Provider provider)
          指定されたアルゴリズムがプロバイダから使用可能である場合に、指定されたプロバイダから供給されるそのアルゴリズムを実装する MessageDigest オブジェクトを作成します。
static Signature Signature.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから提供される、指定したアルゴリズムを実装する Signature オブジェクトを作成します。
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, Provider provider)
          指定されたプロバイダによって提供される、指定されたアルゴリズムのパラメータオブジェクトを作成します。
static SecureRandom SecureRandom.getInstance(String algorithm, Provider provider)
          指定された RNG アルゴリズムによる SecureRandom オブジェクトを作成します。
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから指定されたアルゴリズムが使用可能な場合に、そのプロバイダが提供したアルゴリズムを実装する KeyPairGenerator オブジェクトを作成します。
static KeyFactory KeyFactory.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから、指定されたアルゴリズムの KeyFactory オブジェクトを生成します。
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから提供される、要求したアルゴリズムの AlgorithmParameterGenerator オブジェクトを作成します。
static MessageDigest MessageDigest.getInstance(String algorithm, String provider)
          指定されたアルゴリズムがプロバイダから使用可能である場合に、指定されたプロバイダから供給されるそのアルゴリズムを実装する MessageDigest オブジェクトを作成します。
static Signature Signature.getInstance(String algorithm, String provider)
          指定されたプロバイダから指定されたアルゴリズムが使用可能な場合に、プロバイダから提供されたそのアルゴリズムを実装する Signature オブジェクトを作成します。
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, String provider)
          指定されたプロバイダによって提供される、指定されたアルゴリズムのパラメータオブジェクトを作成します。
static SecureRandom SecureRandom.getInstance(String algorithm, String provider)
          指定された RNG アルゴリズムに対する SecureRandom オブジェクトを作成します。
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, String provider)
          指定されたプロバイダから指定されたアルゴリズムが使用可能な場合に、そのプロバイダが提供したアルゴリズムを実装する KeyPairGenerator オブジェクトを作成します。
static KeyFactory KeyFactory.getInstance(String algorithm, String provider)
          指定されたプロバイダから、指定されたアルゴリズムの KeyFactory オブジェクトを作成します。
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, String provider)
          指定されたプロバイダから提供される、要求したアルゴリズムの AlgorithmParameterGenerator オブジェクトを作成します。
 Key KeyStore.getKey(String alias, char[] password)
          指定されたパスワードを使用して、指定された別名に関連付けられた鍵を復元し、その鍵を返します。
 void KeyStore.load(InputStream stream, char[] password)
          指定された入力ストリームからこのキーストアをロードします。
 void KeyStore.load(KeyStore.LoadStoreParameter param)
          指定された LoadStoreParameter を使用してこのキーストアをロードします。
 Object Provider.Service.newInstance(Object constructorParameter)
          このサービスが記述する実装の新しいインスタンスを返します。
 void KeyStore.store(KeyStore.LoadStoreParameter param)
          指定された LoadStoreParameter を使用してこのキーストアを格納します。
 void KeyStore.store(OutputStream stream, char[] password)
          指定された出力ストリームにこのキーストアを格納し、指定されたパスワードでその整合性を保護します。
 

java.security.cert での NoSuchAlgorithmException の使用
 

NoSuchAlgorithmException をスローする java.security.cert のメソッド
static CertPathValidator CertPathValidator.getInstance(String algorithm)
          指定したアルゴリズムを実装する CertPathValidator オブジェクトを返します。
static CertPathBuilder CertPathBuilder.getInstance(String algorithm)
          指定したアルゴリズムを実装する CertPathBuilder オブジェクトを返します。
static CertStore CertStore.getInstance(String type, CertStoreParameters params)
          指定した CertStore 型を実装し、指定したパラメータで初期化される CertStore を返します。
static CertStore CertStore.getInstance(String type, CertStoreParameters params, Provider provider)
          指定したプロバイダが提供し、指定したパラメータで初期化される、指定した CertStore を実装する CertStore オブジェクトを返します。
static CertStore CertStore.getInstance(String type, CertStoreParameters params, String provider)
          指定したプロバイダが提供し、指定したパラメータで初期化される、指定した CertStore を実装する CertStore オブジェクトを返します。
static CertPathValidator CertPathValidator.getInstance(String algorithm, Provider provider)
          指定したプロバイダが提供する、指定したアルゴリズムを実装する CertPathValidator オブジェクトを返します。
static CertPathBuilder CertPathBuilder.getInstance(String algorithm, Provider provider)
          指定したプロバイダが提供する、指定したアルゴリズムを実装する CertPathBuilder オブジェクトを返します。
static CertPathValidator CertPathValidator.getInstance(String algorithm, String provider)
          指定したプロバイダが提供する、指定したアルゴリズムを実装する CertPathValidator オブジェクトを返します。
static CertPathBuilder CertPathBuilder.getInstance(String algorithm, String provider)
          指定したプロバイダが提供する、指定したアルゴリズムを実装する CertPathBuilder オブジェクトを返します。
abstract  void Certificate.verify(PublicKey key)
          指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
abstract  void X509CRL.verify(PublicKey key)
          指定された公開鍵に対応する非公開鍵を使って、この CRL が署名されたことを検証します。
abstract  void Certificate.verify(PublicKey key, String sigProvider)
          指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
abstract  void X509CRL.verify(PublicKey key, String sigProvider)
          この CRL が、指定された公開鍵に対応する非公開鍵を使って署名されたことを検証します。
 

javax.crypto での NoSuchAlgorithmException の使用
 

NoSuchAlgorithmException をスローする javax.crypto のメソッド
protected abstract  SecretKey KeyAgreementSpi.engineGenerateSecret(String algorithm)
          共有の秘密情報を作成して、それを要求されたアルゴリズム型の秘密鍵オブジェクトとして返します。
protected abstract  void CipherSpi.engineSetMode(String mode)
          この暗号のモードを設定します。
protected  Key CipherSpi.engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
          前にラップされた鍵をラップ解除します。
 SecretKey KeyAgreement.generateSecret(String algorithm)
          共有の秘密情報を作成して、それを指定されたアルゴリズムの SecretKey オブジェクトとして返します。
static SecretKeyFactory SecretKeyFactory.getInstance(String algorithm)
          指定された秘密鍵アルゴリズムの SecretKeyFactory オブジェクトを生成します。
static Mac Mac.getInstance(String algorithm)
          指定された MAC アルゴリズムを実装する Mac オブジェクトを作成します。
static KeyGenerator KeyGenerator.getInstance(String algorithm)
          指定されたアルゴリズムの KeyGenerator オブジェクトを生成します。
static KeyAgreement KeyAgreement.getInstance(String algorithm)
          指定された鍵合意アルゴリズムを実装する KeyAgreement オブジェクトを作成します。
static ExemptionMechanism ExemptionMechanism.getInstance(String algorithm)
          指定された除外機構アルゴリズムを実装する ExemptionMechanism オブジェクトを作成します。
static Cipher Cipher.getInstance(String transformation)
          指定された変換を実装する Cipher オブジェクトを生成します。
static SecretKeyFactory SecretKeyFactory.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから、指定された秘密鍵アルゴリズムの SecretKeyFactory オブジェクトを生成します。
static Mac Mac.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから、指定された MAC アルゴリズムの Mac オブジェクトを生成します。
static KeyGenerator KeyGenerator.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから、指定された鍵アルゴリズムの KeyGenerator オブジェクトを生成します。
static KeyAgreement KeyAgreement.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから、指定された鍵合意アルゴリズムの KeyAgreement オブジェクトを生成します。
static ExemptionMechanism ExemptionMechanism.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから、指定された除外機構アルゴリズムの ExemptionMechanism オブジェクトを生成します。
static Cipher Cipher.getInstance(String transformation, Provider provider)
          指定されたプロバイダによって提供される、指定された変換を実装する Cipher オブジェクトを作成します。
static SecretKeyFactory SecretKeyFactory.getInstance(String algorithm, String provider)
          指定されたプロバイダから、指定された秘密鍵アルゴリズムの SecretKeyFactory オブジェクトを作成します。
static Mac Mac.getInstance(String algorithm, String provider)
          指定されたプロバイダから、指定された MAC アルゴリズムの Mac オブジェクトを作成します。
static KeyGenerator KeyGenerator.getInstance(String algorithm, String provider)
          指定されたプロバイダから、指定された鍵アルゴリズムの KeyGenerator オブジェクトを作成します。
static KeyAgreement KeyAgreement.getInstance(String algorithm, String provider)
          指定されたプロバイダから、指定された鍵合意アルゴリズムの KeyAgreement オブジェクトを作成します。
static ExemptionMechanism ExemptionMechanism.getInstance(String algorithm, String provider)
          指定されたプロバイダから、指定された除外機構の ExemptionMechanism オブジェクトを作成します。
static Cipher Cipher.getInstance(String transformation, String provider)
          指定されたプロバイダによって提供される、指定された変換を実装する Cipher オブジェクトを作成します。
 PKCS8EncodedKeySpec EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey)
          暗号化されたデータから暗号化された PKCS8EncodedKeySpec オブジェクトを抽出して返します。
 PKCS8EncodedKeySpec EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey, Provider provider)
          暗号化されたデータから暗号化された PKCS8EncodedKeySpec オブジェクトを抽出して返します。
 PKCS8EncodedKeySpec EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey, String providerName)
          暗号化されたデータから暗号化された PKCS8EncodedKeySpec オブジェクトを抽出して返します。
static int Cipher.getMaxAllowedKeyLength(String transformation)
          インストールした JCE 管轄ポリシーファイルに基づいて、指定の変換を行う最大の鍵の長さを返します。
static AlgorithmParameterSpec Cipher.getMaxAllowedParameterSpec(String transformation)
          管轄ポリシーファイルに基づいて、最大暗号化パラメータ値を含む AlgorithmParameterSpec オブジェクトを返します。
 Object SealedObject.getObject(Key key)
          元の (カプセル化された) オブジェクトを取り出します。
 Object SealedObject.getObject(Key key, String provider)
          元の (カプセル化された) オブジェクトを取り出します。
 Key Cipher.unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
          前にラップされた鍵をラップ解除します。
 

NoSuchAlgorithmException をスローする javax.crypto のコンストラクタ
EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)
          暗号化アルゴリズムパラメータと暗号化されたデータから EncryptedPrivateKeyInfo を構築します。
EncryptedPrivateKeyInfo(String algName, byte[] encryptedData)
          暗号化アルゴリズム名と暗号化されたデータから EncryptedPrivateKeyInfo を構築します。
 

javax.net.ssl での NoSuchAlgorithmException の使用
 

NoSuchAlgorithmException をスローする javax.net.ssl のメソッド
protected abstract  void KeyManagerFactorySpi.engineInit(KeyStore ks, char[] password)
          鍵データのソースを使用して、このファクトリを初期化します。
static TrustManagerFactory TrustManagerFactory.getInstance(String algorithm)
          指定された信頼管理アルゴリズムを実装する TrustManagerFactory オブジェクトを生成します。
static SSLContext SSLContext.getInstance(String protocol)
          指定されたセキュアソケットプロトコルを実装する SSLContext オブジェクトを生成します。
static KeyManagerFactory KeyManagerFactory.getInstance(String algorithm)
          指定された鍵管理アルゴリズムを実装する KeyManagerFactory オブジェクトを生成します。
static TrustManagerFactory TrustManagerFactory.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから、指定された信頼管理アルゴリズムの TrustManagerFactory オブジェクトを作成します。
static SSLContext SSLContext.getInstance(String protocol, Provider provider)
          指定されたセキュアソケットプロトコルを指定されたプロバイダから実装する SSLContext オブジェクトを生成します。
static KeyManagerFactory KeyManagerFactory.getInstance(String algorithm, Provider provider)
          指定されたプロバイダから、指定された鍵管理アルゴリズムの KeyManagerFactory オブジェクトを作成します。
static TrustManagerFactory TrustManagerFactory.getInstance(String algorithm, String provider)
          指定されたプロバイダから、指定された信頼管理アルゴリズムの TrustManagerFactory オブジェクトを作成します。
static SSLContext SSLContext.getInstance(String protocol, String provider)
          指定されたセキュアソケットプロトコルを指定されたプロバイダから実装する SSLContext オブジェクトを生成します。
static KeyManagerFactory KeyManagerFactory.getInstance(String algorithm, String provider)
          指定されたプロバイダから、指定された鍵管理アルゴリズムの KeyManagerFactory オブジェクトを作成します。
 void KeyManagerFactory.init(KeyStore ks, char[] password)
          鍵データのソースを使用して、このファクトリを初期化します。
 

javax.security.cert での NoSuchAlgorithmException の使用
 

NoSuchAlgorithmException をスローする javax.security.cert のメソッド
abstract  void Certificate.verify(PublicKey key)
          指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
abstract  void Certificate.verify(PublicKey key, String sigProvider)
          指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
 


JavaTM 2 Platform
Standard Ed. 5.0

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java 2 SDK SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。