|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--java.security.spec.EncodedKeySpec | +--java.security.spec.PKCS8EncodedKeySpec
ASN.1 PrivateKeyInfo
で指定された形式に従って符号化された、非公開鍵の ASN.1 での符号化を表します。PrivateKeyInfo
の構文は次のとおり PKCS#8 標準で定義します。
PrivateKeyInfo ::= SEQUENCE { version Version, privateKeyAlgorithm PrivateKeyAlgorithmIdentifier, privateKey PrivateKey, attributes [0] IMPLICIT Attributes OPTIONAL } Version ::= INTEGER PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier PrivateKey ::= OCTET STRING Attributes ::= SET OF Attribute
Key
,
KeyFactory
,
KeySpec
,
EncodedKeySpec
,
X509EncodedKeySpec
コンストラクタの概要 | |
PKCS8EncodedKeySpec(byte[] encodedKey)
指定の符号化された鍵を使って新しい PKCS8EncodedKeySpec を作成します。 |
メソッドの概要 | |
byte[] |
getEncoded()
PKCS #8 標準に従って符号化された鍵のバイトを返します。 |
String |
getFormat()
この鍵仕様に関連した符号化形式の名前を返します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public PKCS8EncodedKeySpec(byte[] encodedKey)
encodedKey
- 鍵。PKCS #8 標準に従って符号化されているものとするメソッドの詳細 |
public byte[] getEncoded()
EncodedKeySpec
内の getEncoded
public final String getFormat()
EncodedKeySpec
内の getFormat
「PKCS#8」
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.