パッケージ | 説明 |
---|---|
java.security |
セキュリティーフレームワークのクラスとインタフェースを提供します。
|
java.security.cert |
証明書、証明書の取り消しリスト (CRL)、証明書パスを解析および管理するためのクラスとインタフェースを提供します。
|
javax.crypto |
暗号化操作のクラスとインタフェースを提供します。
|
javax.net.ssl |
セキュアソケットパッケージのクラスを提供します。
|
javax.security.auth.login |
このパッケージは、プラグイン可能な認証フレームワークを提供します。
|
javax.security.cert |
公開鍵証明書用のクラスを提供します。
|
javax.xml.crypto.dsig |
XML デジタル署名の生成および検証用のクラスです。
|
修飾子と型 | メソッドと説明 |
---|---|
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 KeyFactory |
KeyFactory.getInstance(String algorithm)
指定のアルゴリズムの公開鍵または非公開鍵を変換する KeyFactory オブジェクトを返します。
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm)
指定されたアルゴリズムのパラメータオブジェクトを返します。
|
static SecureRandom |
SecureRandom.getInstance(String algorithm)
指定された乱数ジェネレータ (RNG) アルゴリズムを実装した SecureRandom オブジェクトを返します。
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm)
指定のアルゴリズムの公開鍵と非公開鍵のペアを生成する KeyPairGenerator オブジェクトを返します。
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm)
指定されたアルゴリズムで使用されるパラメータのセットを生成する、AlgorithmParameterGenerator オブジェクトを返します。
|
static MessageDigest |
MessageDigest.getInstance(String algorithm)
指定されたダイジェストアルゴリズムを実装する MessageDigest オブジェクトを返します。
|
static Signature |
Signature.getInstance(String algorithm)
指定された署名アルゴリズムを実装する Signature オブジェクトを返します。
|
static Policy |
Policy.getInstance(String type, Policy.Parameters params)
指定された型の Policy オブジェクトを返します。
|
static Policy |
Policy.getInstance(String type, Policy.Parameters params, Provider provider)
指定された型の Policy オブジェクトを返します。
|
static Policy |
Policy.getInstance(String type, Policy.Parameters params, String provider)
指定された型の Policy オブジェクトを返します。
|
static KeyFactory |
KeyFactory.getInstance(String algorithm, Provider provider)
指定のアルゴリズムの公開鍵または非公開鍵を変換する KeyFactory オブジェクトを返します。
|
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 AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm, Provider provider)
指定されたアルゴリズムで使用されるパラメータのセットを生成する、AlgorithmParameterGenerator オブジェクトを返します。
|
static MessageDigest |
MessageDigest.getInstance(String algorithm, Provider provider)
指定されたダイジェストアルゴリズムを実装する MessageDigest オブジェクトを返します。
|
static Signature |
Signature.getInstance(String algorithm, Provider provider)
指定された署名アルゴリズムを実装する Signature オブジェクトを返します。
|
static KeyFactory |
KeyFactory.getInstance(String algorithm, String provider)
指定のアルゴリズムの公開鍵または非公開鍵を変換する KeyFactory オブジェクトを返します。
|
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 AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm, String provider)
指定されたアルゴリズムで使用されるパラメータのセットを生成する、AlgorithmParameterGenerator オブジェクトを返します。
|
static MessageDigest |
MessageDigest.getInstance(String algorithm, String provider)
指定されたダイジェストアルゴリズムを実装する MessageDigest オブジェクトを返します。
|
static Signature |
Signature.getInstance(String algorithm, String provider)
指定された署名アルゴリズムを実装する Signature オブジェクトを返します。
|
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)
指定された出力ストリームにこのキーストアを格納し、指定されたパスワードでその整合性を保護します。
|
修飾子と型 | メソッドと説明 |
---|---|
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm)
指定されたアルゴリズムを実装する
CertPathBuilder オブジェクトを返します。 |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm)
指定されたアルゴリズムを実装する
CertPathValidator オブジェクトを返します。 |
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 CertPathBuilder |
CertPathBuilder.getInstance(String algorithm, Provider provider)
指定されたアルゴリズムを実装する
CertPathBuilder オブジェクトを返します。 |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm, Provider provider)
指定されたアルゴリズムを実装する
CertPathValidator オブジェクトを返します。 |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm, String provider)
指定されたアルゴリズムを実装する
CertPathBuilder オブジェクトを返します。 |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm, String provider)
指定されたアルゴリズムを実装する
CertPathValidator オブジェクトを返します。 |
abstract void |
X509CRL.verify(PublicKey key)
指定された公開鍵に対応する非公開鍵を使って、この CRL が署名されたことを検証します。
|
abstract void |
Certificate.verify(PublicKey key)
指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
|
abstract void |
X509CRL.verify(PublicKey key, String sigProvider)
指定された公開鍵に対応する非公開鍵を使って、この CRL が署名されたことを検証します。
|
abstract void |
Certificate.verify(PublicKey key, String sigProvider)
指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
|
修飾子と型 | メソッドと説明 |
---|---|
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 KeyAgreement |
KeyAgreement.getInstance(String algorithm)
指定した鍵合意アルゴリズムを実装する
KeyAgreement オブジェクトを返します。 |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm)
指定した除外メカニズムアルゴリズムを実装する
ExemptionMechanism オブジェクトを返します。 |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm)
指定されたアルゴリズムの秘密鍵を生成する
KeyGenerator オブジェクトを返します。 |
static Mac |
Mac.getInstance(String algorithm)
指定された MAC アルゴリズムを実装する
Mac オブジェクトを返します。 |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm)
指定されたアルゴリズムの秘密鍵を変換する
SecretKeyFactory オブジェクトを返します。 |
static Cipher |
Cipher.getInstance(String transformation)
指定された変換を実装する
Cipher オブジェクトを返します。 |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm, Provider provider)
指定した鍵合意アルゴリズムを実装する
KeyAgreement オブジェクトを返します。 |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm, Provider provider)
指定した除外メカニズムアルゴリズムを実装する
ExemptionMechanism オブジェクトを返します。 |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm, Provider provider)
指定されたアルゴリズムの秘密鍵を生成する
KeyGenerator オブジェクトを返します。 |
static Mac |
Mac.getInstance(String algorithm, Provider provider)
指定された MAC アルゴリズムを実装する
Mac オブジェクトを返します。 |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm, Provider provider)
指定されたアルゴリズムの秘密鍵を変換する
SecretKeyFactory オブジェクトを返します。 |
static Cipher |
Cipher.getInstance(String transformation, Provider provider)
指定された変換を実装する
Cipher オブジェクトを返します。 |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm, String provider)
指定した鍵合意アルゴリズムを実装する
KeyAgreement オブジェクトを返します。 |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm, String provider)
指定した除外メカニズムアルゴリズムを実装する
ExemptionMechanism オブジェクトを返します。 |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm, String provider)
指定されたアルゴリズムの秘密鍵を生成する
KeyGenerator オブジェクトを返します。 |
static Mac |
Mac.getInstance(String algorithm, String provider)
指定された MAC アルゴリズムを実装する
Mac オブジェクトを返します。 |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm, String provider)
指定されたアルゴリズムの秘密鍵を変換する
SecretKeyFactory オブジェクトを返します。 |
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)
前にラップされた鍵をラップ解除します。
|
コンストラクタと説明 |
---|
EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)
暗号化アルゴリズムパラメータと暗号化されたデータから
EncryptedPrivateKeyInfo を構築します。 |
EncryptedPrivateKeyInfo(String algName, byte[] encryptedData)
暗号化アルゴリズム名と暗号化されたデータから
EncryptedPrivateKeyInfo を構築します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected abstract void |
KeyManagerFactorySpi.engineInit(KeyStore ks, char[] password)
鍵データのソースを使用して、このファクトリを初期化します。
|
static SSLContext |
SSLContext.getDefault()
デフォルトの SSL コンテキストを返します。
|
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm)
鍵マネージャーのファクトリとして機能する
KeyManagerFactory オブジェクトを返します。 |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm)
鍵マネージャーのファクトリとして機能する
TrustManagerFactory オブジェクトを返します。 |
static SSLContext |
SSLContext.getInstance(String protocol)
指定されたセキュアソケットプロトコルを実装する
SSLContext オブジェクトを返します。 |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm, Provider provider)
鍵マネージャーのファクトリとして機能する
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, String provider)
鍵マネージャーのファクトリとして機能する
KeyManagerFactory オブジェクトを返します。 |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm, String provider)
鍵マネージャーのファクトリとして機能する
TrustManagerFactory オブジェクトを返します。 |
static SSLContext |
SSLContext.getInstance(String protocol, String provider)
指定されたセキュアソケットプロトコルを実装する
SSLContext オブジェクトを返します。 |
void |
KeyManagerFactory.init(KeyStore ks, char[] password)
鍵データのソースを使用して、このファクトリを初期化します。
|
修飾子と型 | メソッドと説明 |
---|---|
static Configuration |
Configuration.getInstance(String type, Configuration.Parameters params)
指定された型の Configuration オブジェクトを返します。
|
static Configuration |
Configuration.getInstance(String type, Configuration.Parameters params, Provider provider)
指定された型の Configuration オブジェクトを返します。
|
static Configuration |
Configuration.getInstance(String type, Configuration.Parameters params, String provider)
指定された型の Configuration オブジェクトを返します。
|
修飾子と型 | メソッドと説明 |
---|---|
abstract void |
Certificate.verify(PublicKey key)
指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
|
abstract void |
Certificate.verify(PublicKey key, String sigProvider)
指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
|
修飾子と型 | メソッドと説明 |
---|---|
static TransformService |
TransformService.getInstance(String algorithm, String mechanismType)
指定されたアルゴリズム URI (例:
Transform.XPATH2 ) およびメカニズム型 (例: DOM) をサポートする TransformService を返します。 |
static TransformService |
TransformService.getInstance(String algorithm, String mechanismType, Provider provider)
指定したプロバイダが提供する、指定されたアルゴリズム URI (例:
Transform.XPATH2 ) およびメカニズム型 (例: DOM) をサポートする TransformService を返します。 |
static TransformService |
TransformService.getInstance(String algorithm, String mechanismType, String provider)
指定したプロバイダが提供する、指定されたアルゴリズム URI (例:
Transform.XPATH2 ) およびメカニズム型 (例: DOM) をサポートする TransformService を返します。 |
abstract CanonicalizationMethod |
XMLSignatureFactory.newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params)
指定したアルゴリズム URI およびパラメータ用に
CanonicalizationMethod を作成します。 |
abstract CanonicalizationMethod |
XMLSignatureFactory.newCanonicalizationMethod(String algorithm, XMLStructure params)
指定したアルゴリズム URI およびパラメータ用に
CanonicalizationMethod を作成します。 |
abstract DigestMethod |
XMLSignatureFactory.newDigestMethod(String algorithm, DigestMethodParameterSpec params)
指定したアルゴリズム URI およびパラメータ用に
DigestMethod を作成します。 |
abstract SignatureMethod |
XMLSignatureFactory.newSignatureMethod(String algorithm, SignatureMethodParameterSpec params)
指定したアルゴリズム URI およびパラメータ用に
SignatureMethod を作成します。 |
abstract Transform |
XMLSignatureFactory.newTransform(String algorithm, TransformParameterSpec params)
指定したアルゴリズム URI およびパラメータ用に
Transform を作成します。 |
abstract Transform |
XMLSignatureFactory.newTransform(String algorithm, XMLStructure params)
指定したアルゴリズム URI およびパラメータ用に
Transform を作成します。 |
バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.