インタフェース
java.security.spec.AlgorithmParameterSpecの使用
-
AlgorithmParameterSpecを使用しているパッケージ パッケージ 説明 java.security セキュリティ・フレームワークのクラスとインタフェースを提供します。java.security.spec 鍵仕様およびアルゴリズム・パラメータ仕様のクラスおよびインタフェースを提供します。javax.crypto 暗号化操作のクラスとインタフェースを提供します。javax.crypto.spec 鍵仕様およびアルゴリズム・パラメータ仕様のクラスおよびインタフェースを提供します。javax.xml.crypto XML暗号化用の共通クラスです。javax.xml.crypto.dsig XMLデジタル署名の生成および検証用のクラスです。javax.xml.crypto.dsig.spec XMLデジタル署名用のパラメータ・クラス。 -
-
java.securityでのAlgorithmParameterSpecの使用
AlgorithmParameterSpec型の型パラメータを持つjava.securityのメソッド 修飾子と型 メソッド 説明 protected abstract <T extends AlgorithmParameterSpec>
TAlgorithmParametersSpi. engineGetParameterSpec(Class<T> paramSpec)このパラメータ・オブジェクトの(透明な)仕様を返します。<T extends AlgorithmParameterSpec>
TAlgorithmParameters. getParameterSpec(Class<T> paramSpec)パラメータ・オブジェクトの透明な仕様を返します。AlgorithmParameterSpecを返すjava.securityのメソッド 修飾子と型 メソッド 説明 AlgorithmParameterSpecKeyStore.PasswordProtection. getProtectionParameters()保護アルゴリズムに対して指定されたパラメータを取得します。AlgorithmParameterSpec型のパラメータを持つjava.securityのメソッド 修飾子と型 メソッド 説明 protected abstract voidAlgorithmParameterGeneratorSpi. engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random)アルゴリズム固有型のパラメータ生成値のセットで、パラメータ・ジェネレータを初期化します。protected abstract voidAlgorithmParametersSpi. engineInit(AlgorithmParameterSpec paramSpec)paramSpecに指定されたパラメータで、このパラメータ・オブジェクトを初期化します。protected voidSignatureSpi. engineSetParameter(AlgorithmParameterSpec params)このメソッドはプロバイダによってオーバーライドされ、署名エンジンを指定したパラメータ・セットで初期化します。voidAlgorithmParameterGenerator. init(AlgorithmParameterSpec genParamSpec)アルゴリズム固有型のパラメータ生成値のセットで、パラメータ・ジェネレータを初期化します。voidAlgorithmParameterGenerator. init(AlgorithmParameterSpec genParamSpec, SecureRandom random)アルゴリズム固有型のパラメータ生成値のセットで、パラメータ・ジェネレータを初期化します。voidAlgorithmParameters. init(AlgorithmParameterSpec paramSpec)paramSpecに指定されたパラメータで、このパラメータ・オブジェクトを初期化します。voidKeyPairGenerator. initialize(AlgorithmParameterSpec params)指定されたパラメータのセットと、乱数発生の元として、もっとも高い優先順位でインストールされているプロバイダのSecureRandomの実装を使用して、鍵ペア・ジェネレータを初期化します。voidKeyPairGenerator. initialize(AlgorithmParameterSpec params, SecureRandom random)指定されたパラメータ・セットと乱数発生の元を使って鍵ペア・ジェネレータを初期化します。voidKeyPairGeneratorSpi. initialize(AlgorithmParameterSpec params, SecureRandom random)指定されたパラメータ・セットとユーザーが提供する乱数発生の元を使って、鍵ペア・ジェネレータを初期化します。voidSignature. setParameter(AlgorithmParameterSpec params)署名エンジンを、指定されたパラメータ・セットを使って初期化します。AlgorithmParameterSpec型のパラメータを持つjava.securityのコンストラクタ コンストラクタ 説明 PasswordProtection(char[] password, String protectionAlgorithm, AlgorithmParameterSpec protectionParameters)パスワード・パラメータを作成し、キーストア・エントリを暗号化するときに使用する保護アルゴリズムと関連パラメータを指定します。 -
java.security.specでのAlgorithmParameterSpecの使用
AlgorithmParameterSpecを実装しているjava.security.specのクラス 修飾子と型 クラス 説明 classDSAGenParameterSpecこの不変クラスは、FIPS 186-3 Digital Signature Standard (DSS)で指定されているように、DSAパラメータの生成に使用される一連のパラメータを指定します。classDSAParameterSpecDSAアルゴリズムで使用されるパラメータのセットを指定します。classECGenParameterSpecこの不変なクラスは、楕円曲線(Elliptic Curve: EC)ドメイン・パラメータの生成時に使用される一連のドメイン・パラメータを指定します。classECParameterSpecこの不変なクラスは、楕円曲線暗号化(Elliptic Curve Cryptography: ECC)で使用される一連のドメイン・パラメータを指定します。classMGF1ParameterSpecこのクラスは、PKCS#1 v2.1標準で定義されたOAEPパディングおよびRSA-PSS署名スキームにおけるマスク生成関数MGF1で使用される一連のパラメータを指定します。classPSSParameterSpecこのクラスは、PKCS#1 v2.1標準で定義されたRSA-PSS署名スキームのパラメータ仕様を指定します。classRSAKeyGenParameterSpecRSA鍵ペアを生成するために使用されるパラメータのセットを指定します。AlgorithmParameterSpecを返すjava.security.specのメソッド 修飾子と型 メソッド 説明 AlgorithmParameterSpecPSSParameterSpec. getMGFParameters()マスク生成関数のパラメータを返します。AlgorithmParameterSpec型のパラメータを持つjava.security.specのコンストラクタ コンストラクタ 説明 PSSParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, int saltLen, int trailerField)指定されたメッセージ・ダイジェスト、マスク生成関数、マスク生成関数用パラメータ、ソルト長、トレーラ・フィールドの各値を使用して、PKCS#1標準で定義されたPSSParameterSpecを新規作成します。 -
javax.cryptoでのAlgorithmParameterSpecの使用
AlgorithmParameterSpecを返すjavax.cryptoのメソッド 修飾子と型 メソッド 説明 static AlgorithmParameterSpecCipher. getMaxAllowedParameterSpec(String transformation)管轄ポリシー・ファイルに従って、最大の暗号パラメータ値を含むAlgorithmParameterSpecオブジェクトを返します。AlgorithmParameterSpec型のパラメータを持つjavax.cryptoのメソッド 修飾子と型 メソッド 説明 protected abstract voidCipherSpi. engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)鍵、アルゴリズム・パラメータのセット、および乱数発生の元を使用してこの暗号を初期化します。protected abstract voidExemptionMechanismSpi. engineInit(Key key, AlgorithmParameterSpec params)鍵とアルゴリズム・パラメータのセットを使用してこの除外メカニズムを初期化します。protected abstract voidKeyAgreementSpi. engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random)指定された鍵、アルゴリズム・パラメータのセット、および乱数発生の元を使用してこの鍵合意を初期化します。protected abstract voidKeyGeneratorSpi. engineInit(AlgorithmParameterSpec params, SecureRandom random)指定されたパラメータ・セットとユーザーが提供する乱数発生の元を使って、鍵ジェネレータを初期化します。protected abstract voidMacSpi. engineInit(Key key, AlgorithmParameterSpec params)指定された(秘密)鍵とアルゴリズム・パラメータを使用してMACを初期化します。voidCipher. init(int opmode, Key key, AlgorithmParameterSpec params)鍵とアルゴリズム・パラメータのセットを使用してこの暗号を初期化します。voidCipher. init(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)鍵、アルゴリズム・パラメータのセット、および乱数発生の元を使用してこの暗号を初期化します。voidExemptionMechanism. init(Key key, AlgorithmParameterSpec params)鍵とアルゴリズム・パラメータのセットを使用してこの除外メカニズムを初期化します。voidKeyAgreement. init(Key key, AlgorithmParameterSpec params)指定された鍵とアルゴリズム・パラメータのセットを使用してこの鍵合意を初期化します。voidKeyAgreement. init(Key key, AlgorithmParameterSpec params, SecureRandom random)指定された鍵、アルゴリズム・パラメータのセット、および乱数発生の元を使用してこの鍵合意を初期化します。voidKeyGenerator. init(AlgorithmParameterSpec params)この鍵ジェネレータを、指定されたパラメータ・セットを使って初期化します。voidKeyGenerator. init(AlgorithmParameterSpec params, SecureRandom random)指定されたパラメータ・セットとユーザーが提供する乱数発生の元を使って、この鍵ジェネレータを初期化します。voidMac. init(Key key, AlgorithmParameterSpec params)指定された鍵とアルゴリズム・パラメータを使用してこのMacオブジェクトを初期化します。 -
javax.crypto.specでのAlgorithmParameterSpecの使用
AlgorithmParameterSpecを実装しているjavax.crypto.specのクラス 修飾子と型 クラス 説明 classDHGenParameterSpecこのクラスは、Diffie-Hellman鍵合意で使用するDiffie-Hellman (システム)パラメータを生成するために使用するパラメータのセットを指定します。classDHParameterSpecこのクラスは、「PKCS#3: Diffie-Hellman Key-Agreement Standard」で指定されている、Diffie-Hellmanアルゴリズムで使用されるパラメータのセットを指定します。classGCMParameterSpecGCM (Galois/Counter Mode)モードを使用して、Cipherで必要なパラメータ・セットを指定します。classIvParameterSpecこのクラスは、初期化ベクトル (IV)を指定します。classOAEPParameterSpecこのクラスは、PKCS#1標準で定義されている、OAEPパディングで使用されるパラメータのセットを指定します。classPBEParameterSpecこのクラスは、PKCS#5標準で定義されている、パスワードベースの暗号化(PBE)で使用されるパラメータのセットを指定します。classRC2ParameterSpecこのクラスは、RC2アルゴリズムで使用されるパラメータを指定します。classRC5ParameterSpecこのクラスは、RC5アルゴリズムで使用されるパラメータを指定します。AlgorithmParameterSpecを返すjavax.crypto.specのメソッド 修飾子と型 メソッド 説明 AlgorithmParameterSpecOAEPParameterSpec. getMGFParameters()マスク生成関数のパラメータを返します。AlgorithmParameterSpecPBEParameterSpec. getParameterSpec()暗号アルゴリズム・パラメータの仕様を返します。AlgorithmParameterSpec型のパラメータを持つjavax.crypto.specのコンストラクタ コンストラクタ 説明 OAEPParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc)指定されたメッセージ・ダイジェスト・アルゴリズムmdName、マスク生成関数アルゴリズムmgfName、マスク生成関数のパラメータmgfSpec、およびエンコーディング入力PのソースpSrcを使用して、PKCS#1標準で定義されたOAEPパディングのパラメータ・セットを構築します。PBEParameterSpec(byte[] salt, int iterationCount, AlgorithmParameterSpec paramSpec)PKCS#5標準で定義されている、パスワードベースの暗号化のパラメータ・セットを構築します。 -
javax.xml.cryptoでのAlgorithmParameterSpecの使用
AlgorithmParameterSpecを返すjavax.xml.cryptoのメソッド 修飾子と型 メソッド 説明 AlgorithmParameterSpecAlgorithmMethod. getParameterSpec()このAlgorithmMethodのアルゴリズム・パラメータを返します。 -
javax.xml.crypto.dsigでのAlgorithmParameterSpecの使用
AlgorithmParameterSpecを返すjavax.xml.crypto.dsigのメソッド 修飾子と型 メソッド 説明 AlgorithmParameterSpecCanonicalizationMethod. getParameterSpec()このCanonicalizationMethodに関連付けられた、アルゴリズム固有の入力パラメータを返します。AlgorithmParameterSpecDigestMethod. getParameterSpec()このDigestMethodに関連付けられた、アルゴリズム固有の入力パラメータを返します。AlgorithmParameterSpecSignatureMethod. getParameterSpec()このSignatureMethodのアルゴリズム固有の入力パラメータを返します。AlgorithmParameterSpecTransform. getParameterSpec()このTransformに関連付けられた、アルゴリズム固有の入力パラメータを返します。 -
javax.xml.crypto.dsig.specでのAlgorithmParameterSpecの使用
javax.xml.crypto.dsig.specでのAlgorithmParameterSpecのサブインタフェース 修飾子と型 インタフェース 説明 interfaceC14NMethodParameterSpecCanonicalizationMethodアルゴリズム用のアルゴリズム・パラメータの仕様です。interfaceDigestMethodParameterSpecDigestMethodアルゴリズム用のアルゴリズム・パラメータの仕様です。interfaceSignatureMethodParameterSpecXMLSignatureMethodアルゴリズム用のアルゴリズム・パラメータの仕様です。interfaceTransformParameterSpecTransformアルゴリズム用のアルゴリズム・パラメータの仕様です。AlgorithmParameterSpecを実装しているjavax.xml.crypto.dsig.specのクラス 修飾子と型 クラス 説明 classExcC14NParameterSpecW3C勧告のパラメータ: Exclusive XML Canonicalization (C14N)アルゴリズム。classHMACParameterSpecXML署名HMACアルゴリズム用のパラメータ。classXPathFilter2ParameterSpecW3C勧告XPath Filter 2.0変換アルゴリズム用のパラメータ。classXPathFilterParameterSpecXPath Filtering変換アルゴリズム用のパラメータ。classXSLTTransformParameterSpecXSLT変換アルゴリズム用のパラメータ。
-