クラス
java.security.NoSuchAlgorithmExceptionの使用
| パッケージ | 説明 |
|---|---|
| com.sun.jarsigner |
このパッケージは、
jarsignerツールで使用される署名メカニズムを定義するために使用されるインタフェースとクラスで構成されています。 |
| java.security |
セキュリティ・フレームワークのクラスとインタフェースを提供します。
|
| java.security.cert |
証明書、証明書失効リスト(CRL)、証明書パスを解析および管理するためのクラスとインタフェースを提供します。
|
| javax.crypto |
暗号化操作のクラスとインタフェースを提供します。
|
| javax.net.ssl |
セキュア・ソケット・パッケージのクラスを提供します。
|
| javax.security.auth.login |
このパッケージは、プラグイン可能な認証フレームワークを提供します。
|
| javax.security.cert |
公開キー証明書用のクラスを提供します。
|
| javax.smartcardio |
Java™スマート・カード入出力API
|
| javax.xml.crypto.dsig |
XMLデジタル署名の生成および検証用のクラスです。
|
| jdk.security.jarsigner |
このパッケージは、jarファイルに署名するためのAPIを定義します。
|
-
com.sun.jarsignerでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするcom.sun.jarsignerのメソッド 修飾子と型 メソッド 説明 abstract byte[]ContentSigner. generateSignedData(ContentSignerParameters parameters, boolean omitContent, boolean applyTimestamp)非推奨。PKCS#7署名付きデータ・メッセージを生成します。 -
java.securityでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjava.securityのメソッド 修飾子と型 メソッド 説明 KeyStore.EntryKeyStoreSpi. engineGetEntry(String alias, KeyStore.ProtectionParameter protParam)指定された保護パラメータを使用して、指定された別名に対するKeyStore.Entryを取得します。abstract KeyKeyStoreSpi. engineGetKey(String alias, char[] password)指定されたパスワードを使って、指定された別名に関連したキーを復元し、そのキーを返します。abstract voidKeyStoreSpi. engineLoad(InputStream stream, char[] password)指定された入力ストリームからキーストアをロードします。voidKeyStoreSpi. engineLoad(KeyStore.LoadStoreParameter param)指定されたKeyStore.LoadStoreParameterを使用してキーストアをロードします。abstract voidKeyStoreSpi. engineStore(OutputStream stream, char[] password)指定された出力ストリームにこのキーストアを格納し、指定されたパスワードでその整合性を保護します。voidKeyStoreSpi. engineStore(KeyStore.LoadStoreParameter param)指定されたKeyStore.LoadStoreParmeterを使用してこのキーストアを格納します。KeyStore.EntryKeyStore. getEntry(String alias, KeyStore.ProtectionParameter protParam)指定された保護パラメータを使用して、指定された別名に対するキーストアEntryを取得します。static AlgorithmParameterGeneratorAlgorithmParameterGenerator. getInstance(String algorithm)指定されたアルゴリズムで使用されるパラメータのセットを生成する、AlgorithmParameterGeneratorオブジェクトを返します。static AlgorithmParameterGeneratorAlgorithmParameterGenerator. getInstance(String algorithm, String provider)指定されたアルゴリズムで使用されるパラメータのセットを生成する、AlgorithmParameterGeneratorオブジェクトを返します。static AlgorithmParameterGeneratorAlgorithmParameterGenerator. getInstance(String algorithm, Provider provider)指定されたアルゴリズムで使用されるパラメータのセットを生成する、AlgorithmParameterGeneratorオブジェクトを返します。static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm)指定されたアルゴリズムのパラメータ・オブジェクトを返します。static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm, String provider)指定されたアルゴリズムのパラメータ・オブジェクトを返します。static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm, Provider provider)指定されたアルゴリズムのパラメータ・オブジェクトを返します。static KeyFactoryKeyFactory. getInstance(String algorithm)指定のアルゴリズムの公開キーまたは非公開キーを変換するKeyFactoryオブジェクトを返します。static KeyFactoryKeyFactory. getInstance(String algorithm, String provider)指定のアルゴリズムの公開キーまたは非公開キーを変換するKeyFactoryオブジェクトを返します。static KeyFactoryKeyFactory. getInstance(String algorithm, Provider provider)指定のアルゴリズムの公開キーまたは非公開キーを変換するKeyFactoryオブジェクトを返します。static KeyPairGeneratorKeyPairGenerator. getInstance(String algorithm)指定のアルゴリズムの公開キーと非公開キーのペアを生成するKeyPairGeneratorオブジェクトを返します。static KeyPairGeneratorKeyPairGenerator. getInstance(String algorithm, String provider)指定のアルゴリズムの公開キーと非公開キーのペアを生成するKeyPairGeneratorオブジェクトを返します。static KeyPairGeneratorKeyPairGenerator. getInstance(String algorithm, Provider provider)指定のアルゴリズムの公開キーと非公開キーのペアを生成するKeyPairGeneratorオブジェクトを返します。static KeyStoreKeyStore. getInstance(File file, char[] password)適切なキーストア型のロードされたキーストア・オブジェクトを返します。static KeyStoreKeyStore. getInstance(File file, KeyStore.LoadStoreParameter param)適切なキーストア型のロードされたキーストア・オブジェクトを返します。static MessageDigestMessageDigest. getInstance(String algorithm)指定されたダイジェスト・アルゴリズムを実装するMessageDigestオブジェクトを返します。static MessageDigestMessageDigest. getInstance(String algorithm, String provider)指定されたダイジェスト・アルゴリズムを実装するMessageDigestオブジェクトを返します。static MessageDigestMessageDigest. getInstance(String algorithm, Provider provider)指定されたダイジェスト・アルゴリズムを実装するMessageDigestオブジェクトを返します。static PolicyPolicy. getInstance(String type, Policy.Parameters params)指定された型のPolicyオブジェクトを返します。static PolicyPolicy. getInstance(String type, Policy.Parameters params, String provider)指定された型のPolicyオブジェクトを返します。static PolicyPolicy. getInstance(String type, Policy.Parameters params, Provider provider)指定された型のPolicyオブジェクトを返します。static SecureRandomSecureRandom. getInstance(String algorithm)指定された乱数ジェネレータ(RNG)アルゴリズムを実装するSecureRandomオブジェクトを返します。static SecureRandomSecureRandom. getInstance(String algorithm, String provider)指定された乱数ジェネレータ(RNG)アルゴリズムを実装するSecureRandomオブジェクトを返します。static SecureRandomSecureRandom. getInstance(String algorithm, Provider provider)指定された乱数ジェネレータ(RNG)アルゴリズムを実装するSecureRandomオブジェクトを返します。static SecureRandomSecureRandom. getInstance(String algorithm, SecureRandomParameters params)指定された乱数ジェネレータ(RNG)アルゴリズムを実装し、指定されたSecureRandomParametersリクエストをサポートするSecureRandomオブジェクトを返します。static SecureRandomSecureRandom. getInstance(String algorithm, SecureRandomParameters params, String provider)指定された乱数ジェネレータ(RNG)アルゴリズムを実装し、指定されたSecureRandomParametersリクエストをサポートするSecureRandomオブジェクトを返します。static SecureRandomSecureRandom. getInstance(String algorithm, SecureRandomParameters params, Provider provider)指定された乱数ジェネレータ(RNG)アルゴリズムを実装し、指定されたSecureRandomParametersリクエストをサポートするSecureRandomオブジェクトを返します。static SignatureSignature. getInstance(String algorithm)指定された署名アルゴリズムを実装するSignatureオブジェクトを返します。static SignatureSignature. getInstance(String algorithm, String provider)指定された署名アルゴリズムを実装するSignatureオブジェクトを返します。static SignatureSignature. getInstance(String algorithm, Provider provider)指定された署名アルゴリズムを実装するSignatureオブジェクトを返します。static SecureRandomSecureRandom. getInstanceStrong()securerandom.strongAlgorithmsSecurityプロパティで指定されたアルゴリズムまたはプロバイダを使用して選択されたSecureRandomオブジェクトを返します。KeyKeyStore. getKey(String alias, char[] password)指定されたパスワードを使って、指定された別名に関連したキーを復元し、そのキーを返します。voidKeyStore. load(InputStream stream, char[] password)指定された入力ストリームからこのキーストアをロードします。voidKeyStore. load(KeyStore.LoadStoreParameter param)指定されたLoadStoreParameterを使用してこのキーストアをロードします。ObjectProvider.Service. newInstance(Object constructorParameter)このサービスが記述する実装の新しいインスタンスを返します。voidKeyStore. store(OutputStream stream, char[] password)指定された出力ストリームにこのキーストアを格納し、指定されたパスワードでその整合性を保護します。voidKeyStore. store(KeyStore.LoadStoreParameter param)指定されたLoadStoreParameterを使用してこのキーストアを格納します。 -
java.security.certでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjava.security.certのメソッド 修飾子と型 メソッド 説明 static CertPathBuilderCertPathBuilder. getInstance(String algorithm)指定されたアルゴリズムを実装するCertPathBuilderオブジェクトを返します。static CertPathBuilderCertPathBuilder. getInstance(String algorithm, String provider)指定されたアルゴリズムを実装するCertPathBuilderオブジェクトを返します。static CertPathBuilderCertPathBuilder. getInstance(String algorithm, Provider provider)指定されたアルゴリズムを実装するCertPathBuilderオブジェクトを返します。static CertPathValidatorCertPathValidator. getInstance(String algorithm)指定されたアルゴリズムを実装するCertPathValidatorオブジェクトを返します。static CertPathValidatorCertPathValidator. getInstance(String algorithm, String provider)指定されたアルゴリズムを実装するCertPathValidatorオブジェクトを返します。static CertPathValidatorCertPathValidator. getInstance(String algorithm, Provider provider)指定されたアルゴリズムを実装するCertPathValidatorオブジェクトを返します。static CertStoreCertStore. getInstance(String type, CertStoreParameters params)指定したCertStore型を実装し、指定したパラメータで初期化されるCertStoreを返します。static CertStoreCertStore. getInstance(String type, CertStoreParameters params, String provider)指定されたCertStoreタイプを実装するCertStoreオブジェクトを返します。static CertStoreCertStore. getInstance(String type, CertStoreParameters params, Provider provider)指定されたCertStoreタイプを実装するCertStoreオブジェクトを返します。abstract voidCertificate. verify(PublicKey key)指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。abstract voidCertificate. verify(PublicKey key, String sigProvider)指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。voidCertificate. verify(PublicKey key, Provider sigProvider)指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。voidX509Certificate. verify(PublicKey key, Provider sigProvider)指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。abstract voidX509CRL. verify(PublicKey key)指定された公開キーに対応する非公開キーを使って、このCRLが署名されたことを検証します。abstract voidX509CRL. verify(PublicKey key, String sigProvider)指定された公開キーに対応する非公開キーを使って、このCRLが署名されたことを検証します。voidX509CRL. verify(PublicKey key, Provider sigProvider)指定された公開キーに対応する非公開キーを使って、このCRLが署名されたことを検証します。 -
javax.cryptoでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjavax.cryptoのメソッド 修飾子と型 メソッド 説明 protected abstract SecretKeyKeyAgreementSpi. engineGenerateSecret(String algorithm)共有の秘密情報を作成して、それを要求されたアルゴリズム型の秘密キーオブジェクトとして返します。protected abstract voidCipherSpi. engineSetMode(String mode)この暗号のモードを設定します。protected KeyCipherSpi. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)前にラップされたキーをラップ解除します。SecretKeyKeyAgreement. generateSecret(String algorithm)共有の秘密情報を作成して、それを指定されたアルゴリズムのSecretKeyオブジェクトとして返します。static CipherCipher. getInstance(String transformation)指定された変換を実装するCipherオブジェクトを返します。static CipherCipher. getInstance(String transformation, String provider)指定された変換を実装するCipherオブジェクトを返します。static CipherCipher. getInstance(String transformation, Provider provider)指定された変換を実装するCipherオブジェクトを返します。static ExemptionMechanismExemptionMechanism. getInstance(String algorithm)指定した除外メカニズム・アルゴリズムを実装するExemptionMechanismオブジェクトを返します。static ExemptionMechanismExemptionMechanism. getInstance(String algorithm, String provider)指定した除外メカニズム・アルゴリズムを実装するExemptionMechanismオブジェクトを返します。static ExemptionMechanismExemptionMechanism. getInstance(String algorithm, Provider provider)指定した除外メカニズム・アルゴリズムを実装するExemptionMechanismオブジェクトを返します。static KeyAgreementKeyAgreement. getInstance(String algorithm)指定したキー合意アルゴリズムを実装するKeyAgreementオブジェクトを返します。static KeyAgreementKeyAgreement. getInstance(String algorithm, String provider)指定したキー合意アルゴリズムを実装するKeyAgreementオブジェクトを返します。static KeyAgreementKeyAgreement. getInstance(String algorithm, Provider provider)指定したキー合意アルゴリズムを実装するKeyAgreementオブジェクトを返します。static KeyGeneratorKeyGenerator. getInstance(String algorithm)指定されたアルゴリズムの秘密キーを生成するKeyGeneratorオブジェクトを返します。static KeyGeneratorKeyGenerator. getInstance(String algorithm, String provider)指定されたアルゴリズムの秘密キーを生成するKeyGeneratorオブジェクトを返します。static KeyGeneratorKeyGenerator. getInstance(String algorithm, Provider provider)指定されたアルゴリズムの秘密キーを生成するKeyGeneratorオブジェクトを返します。static MacMac. getInstance(String algorithm)指定されたMACアルゴリズムを実装するMacオブジェクトを返します。static MacMac. getInstance(String algorithm, String provider)指定されたMACアルゴリズムを実装するMacオブジェクトを返します。static MacMac. getInstance(String algorithm, Provider provider)指定されたMACアルゴリズムを実装するMacオブジェクトを返します。static SecretKeyFactorySecretKeyFactory. getInstance(String algorithm)指定されたアルゴリズムの秘密キーを変換するSecretKeyFactoryオブジェクトを返します。static SecretKeyFactorySecretKeyFactory. getInstance(String algorithm, String provider)指定されたアルゴリズムの秘密キーを変換するSecretKeyFactoryオブジェクトを返します。static SecretKeyFactorySecretKeyFactory. getInstance(String algorithm, Provider provider)指定されたアルゴリズムの秘密キーを変換するSecretKeyFactoryオブジェクトを返します。PKCS8EncodedKeySpecEncryptedPrivateKeyInfo. getKeySpec(Key decryptKey)暗号化されたデータから内包されているPKCS8EncodedKeySpecオブジェクトを抽出して返します。PKCS8EncodedKeySpecEncryptedPrivateKeyInfo. getKeySpec(Key decryptKey, String providerName)暗号化されたデータから内包されているPKCS8EncodedKeySpecオブジェクトを抽出して返します。PKCS8EncodedKeySpecEncryptedPrivateKeyInfo. getKeySpec(Key decryptKey, Provider provider)暗号化されたデータから内包されているPKCS8EncodedKeySpecオブジェクトを抽出して返します。static intCipher. getMaxAllowedKeyLength(String transformation)インストールされているJCE管轄ポリシー・ファイルに従って、指定された変換のキーの最大長を返します。static AlgorithmParameterSpecCipher. getMaxAllowedParameterSpec(String transformation)管轄ポリシー・ファイルに従って、最大の暗号パラメータ値を含むAlgorithmParameterSpecオブジェクトを返します。ObjectSealedObject. getObject(Key key)元の(カプセル化された)オブジェクトを取り出します。ObjectSealedObject. getObject(Key key, String provider)元の(カプセル化された)オブジェクトを取り出します。KeyCipher. unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)前にラップされたキーをラップ解除します。NoSuchAlgorithmExceptionをスローするjavax.cryptoのコンストラクタ コンストラクタ 説明 EncryptedPrivateKeyInfo(String algName, byte[] encryptedData)暗号化アルゴリズム名と暗号化されたデータからEncryptedPrivateKeyInfoを構築します。EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)暗号化アルゴリズム・パラメータと暗号化されたデータからEncryptedPrivateKeyInfoを構築します。 -
javax.net.sslでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjavax.net.sslのメソッド 修飾子と型 メソッド 説明 protected abstract voidKeyManagerFactorySpi. engineInit(KeyStore ks, char[] password)キー・データのソースを使用して、このファクトリを初期化します。static SSLContextSSLContext. getDefault()デフォルトのSSLコンテキストを返します。static KeyManagerFactoryKeyManagerFactory. getInstance(String algorithm)キー・マネージャのファクトリとして機能するKeyManagerFactoryオブジェクトを返します。static KeyManagerFactoryKeyManagerFactory. getInstance(String algorithm, String provider)キー・マネージャのファクトリとして機能するKeyManagerFactoryオブジェクトを返します。static KeyManagerFactoryKeyManagerFactory. getInstance(String algorithm, Provider provider)キー・マネージャのファクトリとして機能するKeyManagerFactoryオブジェクトを返します。static SSLContextSSLContext. getInstance(String protocol)指定されたセキュア・ソケット・プロトコルを実装するSSLContextオブジェクトを返します。static SSLContextSSLContext. getInstance(String protocol, String provider)指定されたセキュア・ソケット・プロトコルを実装するSSLContextオブジェクトを返します。static SSLContextSSLContext. getInstance(String protocol, Provider provider)指定されたセキュア・ソケット・プロトコルを実装するSSLContextオブジェクトを返します。static TrustManagerFactoryTrustManagerFactory. getInstance(String algorithm)キー・マネージャのファクトリとして機能するTrustManagerFactoryオブジェクトを返します。static TrustManagerFactoryTrustManagerFactory. getInstance(String algorithm, String provider)キー・マネージャのファクトリとして機能するTrustManagerFactoryオブジェクトを返します。static TrustManagerFactoryTrustManagerFactory. getInstance(String algorithm, Provider provider)キー・マネージャのファクトリとして機能するTrustManagerFactoryオブジェクトを返します。voidKeyManagerFactory. init(KeyStore ks, char[] password)キー・データのソースを使用して、このファクトリを初期化します。 -
javax.security.auth.loginでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjavax.security.auth.loginのメソッド 修飾子と型 メソッド 説明 static ConfigurationConfiguration. getInstance(String type, Configuration.Parameters params)指定された型のConfigurationオブジェクトを返します。static ConfigurationConfiguration. getInstance(String type, Configuration.Parameters params, String provider)指定された型のConfigurationオブジェクトを返します。static ConfigurationConfiguration. getInstance(String type, Configuration.Parameters params, Provider provider)指定された型のConfigurationオブジェクトを返します。 -
javax.security.certでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjavax.security.certのメソッド 修飾子と型 メソッド 説明 abstract voidCertificate. verify(PublicKey key)削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。abstract voidCertificate. verify(PublicKey key, String sigProvider)削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。 -
javax.smartcardioでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjavax.smartcardioのメソッド 修飾子と型 メソッド 説明 static TerminalFactoryTerminalFactory. getInstance(String type, Object params)指定されたパラメータで初期化される、指定された型のTerminalFactoryを返します。static TerminalFactoryTerminalFactory. getInstance(String type, Object params, String provider)指定されたパラメータで初期化される、指定された型のTerminalFactoryを返します。static TerminalFactoryTerminalFactory. getInstance(String type, Object params, Provider provider)指定されたパラメータで初期化される、指定された型のTerminalFactoryを返します。 -
javax.xml.crypto.dsigでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjavax.xml.crypto.dsigのメソッド 修飾子と型 メソッド 説明 static TransformServiceTransformService. getInstance(String algorithm, String mechanismType)指定されたアルゴリズムURI (例:Transform.XPATH2)およびメカニズム型(例: DOM)をサポートするTransformServiceを返します。static TransformServiceTransformService. getInstance(String algorithm, String mechanismType, String provider)指定したプロバイダが提供する、指定されたアルゴリズムURI (例:Transform.XPATH2)およびメカニズム型(例: DOM)をサポートするTransformServiceを返します。static TransformServiceTransformService. getInstance(String algorithm, String mechanismType, Provider provider)指定したプロバイダが提供する、指定されたアルゴリズムURI (例:Transform.XPATH2)およびメカニズム型(例: DOM)をサポートするTransformServiceを返します。abstract CanonicalizationMethodXMLSignatureFactory. newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params)指定したアルゴリズムURIおよびパラメータ用にCanonicalizationMethodを作成します。abstract CanonicalizationMethodXMLSignatureFactory. newCanonicalizationMethod(String algorithm, XMLStructure params)指定したアルゴリズムURIおよびパラメータ用にCanonicalizationMethodを作成します。abstract DigestMethodXMLSignatureFactory. newDigestMethod(String algorithm, DigestMethodParameterSpec params)指定したアルゴリズムURIおよびパラメータ用にDigestMethodを作成します。abstract SignatureMethodXMLSignatureFactory. newSignatureMethod(String algorithm, SignatureMethodParameterSpec params)指定したアルゴリズムURIおよびパラメータ用にSignatureMethodを作成します。abstract TransformXMLSignatureFactory. newTransform(String algorithm, TransformParameterSpec params)指定したアルゴリズムURIおよびパラメータ用にTransformを作成します。abstract TransformXMLSignatureFactory. newTransform(String algorithm, XMLStructure params)指定したアルゴリズムURIおよびパラメータ用にTransformを作成します。 -
jdk.security.jarsignerでのNoSuchAlgorithmExceptionの使用
NoSuchAlgorithmExceptionをスローするjdk.security.jarsignerのメソッド 修飾子と型 メソッド 説明 JarSigner.BuilderJarSigner.Builder. digestAlgorithm(String algorithm)ダイジェスト・アルゴリズムを設定します。JarSigner.BuilderJarSigner.Builder. digestAlgorithm(String algorithm, Provider provider)指定されたプロバイダからダイジェスト・アルゴリズムを設定します。JarSigner.BuilderJarSigner.Builder. signatureAlgorithm(String algorithm)シグネチャ・アルゴリズムを設定します。JarSigner.BuilderJarSigner.Builder. signatureAlgorithm(String algorithm, Provider provider)指定されたプロバイダからシグネチャ・アルゴリズムを設定します。