|
Foundation 1.1.2 | |||||||||
前 次 | フレームあり フレームなし |
Key を使用しているパッケージ | |
---|---|
java.security | セキュリティーフレームワークのクラスとインタフェースを提供します。 |
java.security.interfaces | RSA Laboratory Technical Note PKCS#1 で定義されている RSA (Rivest, Shamir andAdleman AsymmetricCipher algorithm) 鍵と、NIST の FIPS-186 で定義されている DSA (Digital Signature Algorithm) 鍵を生成するためのインタフェースを提供します。 |
java.security での Key の使用 |
---|
java.security での Key のサブインタフェース | |
---|---|
interface |
PrivateKey
非公開鍵です。 |
interface |
PublicKey
公開鍵です。 |
Key を返す java.security のメソッド | |
---|---|
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
指定されたパスワードを使用して、指定された別名に関連付けられた鍵を復元し、その鍵を返します。 |
protected abstract Key |
KeyFactorySpi.engineTranslateKey(Key key)
プロバイダが未知であるか、信頼できない可能性がある鍵オブジェクトを、この鍵ファクトリの対応する鍵オブジェクトに変換します。 |
Key |
KeyStore.getKey(String alias,
char[] password)
指定されたパスワードを使って、指定された別名に関連した鍵を復元し、その鍵を返します。 |
Key |
KeyFactory.translateKey(Key key)
プロバイダが未知であるか、信頼できない可能性がある鍵オブジェクトを、この鍵ファクトリの対応する鍵オブジェクトに変換します。 |
Key 型のパラメータを持つ java.security のメソッド | |
---|---|
protected abstract KeySpec |
KeyFactorySpi.engineGetKeySpec(Key key,
Class keySpec)
指定された鍵オブジェクトの仕様 (鍵データ) を返します。 |
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
指定された別名に指定された鍵を割り当て、指定されたパスワードでその鍵を保護します。 |
protected abstract Key |
KeyFactorySpi.engineTranslateKey(Key key)
プロバイダが未知であるか、信頼できない可能性がある鍵オブジェクトを、この鍵ファクトリの対応する鍵オブジェクトに変換します。 |
KeySpec |
KeyFactory.getKeySpec(Key key,
Class keySpec)
指定された鍵オブジェクトの仕様 (鍵データ) を返します。 |
void |
KeyStore.setKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
指定された別名に指定された鍵を割り当て、指定されたパスワードでその鍵を保護します。 |
Key |
KeyFactory.translateKey(Key key)
プロバイダが未知であるか、信頼できない可能性がある鍵オブジェクトを、この鍵ファクトリの対応する鍵オブジェクトに変換します。 |
java.security.interfaces での Key の使用 |
---|
java.security.interfaces での Key のサブインタフェース | |
---|---|
interface |
DSAPrivateKey
DSA 非公開鍵に対する標準インタフェースです。 |
interface |
DSAPublicKey
DSA 公開鍵に対するインタフェースです。 |
interface |
RSAPrivateCrtKey
中国剰余定理 (CRT) の情報の値を使った、RSA 非公開鍵 (PKCS#1 標準の定義による) のインタフェースです。 |
interface |
RSAPrivateKey
RSA 非公開鍵のインタフェースです。 |
interface |
RSAPublicKey
RSA 公開鍵のインタフェースです。 |
|
Foundation 1.1.2 | |||||||||
前 次 | フレームあり フレームなし |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。