JavaTM 2 Platform
Standard Ed. 6

類別 java.security.spec.ECPoint
的使用

使用 ECPoint 的軟體套件
java.security.interfaces 提供的介面用於產生 RSA Laboratory Technical Note PKCS#1 中定義的 RSA(Rivest、Shamir 和 Adleman AsymmetricCipher 演算法)密鑰,以及 NIST 的 FIPS-186 中定義的 DSA(數位簽章演算法)密鑰。 
java.security.spec 提供密鑰規範和演算法參數規範的類別和介面。 
 

java.security.interfaces 中 ECPoint 的使用
 

返回 ECPoint 的 java.security.interfaces 中的方法
 ECPoint ECPublicKey.getW()
          返回公用點 W。
 

java.security.spec 中 ECPoint 的使用
 

宣告為 ECPoint 的 java.security.spec 中的欄位
static ECPoint ECPoint.POINT_INFINITY
          這就將該點定義為無窮大。
 

返回 ECPoint 的 java.security.spec 中的方法
 ECPoint ECParameterSpec.getGenerator()
          返回也稱為基點的產生器。
 ECPoint ECPublicKeySpec.getW()
          返回公用點 W。
 

參數型別為 ECPoint 的 java.security.spec 中的建構子
ECParameterSpec(EllipticCurve curve, ECPoint g, BigInteger n, int h)
          創建基於指定值的橢圓曲線域參數。
ECPublicKeySpec(ECPoint w, ECParameterSpec params)
          根據指定參數值,創建一個新的 ECPublicKeySpec。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。