JavaTM Platform
Standard Ed. 6

java.security.spec
クラス ECPrivateKeySpec

java.lang.Object
  上位を拡張 java.security.spec.ECPrivateKeySpec
すべての実装されたインタフェース:
KeySpec

public class ECPrivateKeySpec
extends Object
implements KeySpec

この不変クラスは、楕円曲線非公開鍵とそれに関連付けられたパラメータを指定します。

導入されたバージョン:
1.5
関連項目:
KeySpec, ECParameterSpec

コンストラクタの概要
ECPrivateKeySpec(BigInteger s, ECParameterSpec params)
          指定されたパラメータ値を使って ECPrivateKeySpec を作成します。
 
メソッドの概要
 ECParameterSpec getParams()
          関連付けられた楕円曲線ドメインパラメータを返します。
 BigInteger getS()
          非公開値 S を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ECPrivateKeySpec

public ECPrivateKeySpec(BigInteger s,
                        ECParameterSpec params)
指定されたパラメータ値を使って ECPrivateKeySpec を作成します。

パラメータ:
s - 非公開値
params - 関連付けられた楕円曲線ドメインパラメータ
例外:
NullPointerException - s または params が null の場合
メソッドの詳細

getS

public BigInteger getS()
非公開値 S を返します。

戻り値:
非公開値 S

getParams

public ECParameterSpec getParams()
関連付けられた楕円曲線ドメインパラメータを返します。

戻り値:
EC ドメインパラメータ

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。