Most visited

Recently visited

Added in API level 1

RSAPublicKeySpec

public class RSAPublicKeySpec
extends Object implements KeySpec

java.lang.Object
    java.security.spec.RSAPublicKeySpec


这个类指定一个RSA公钥。

也可以看看:

摘要(Summary)

Public constructors

RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)

创建一个新的RSAPublicKeySpec。

公共方法(Public methods)

BigInteger getModulus()

返回模量。

BigInteger getPublicExponent()

返回公共指数。

继承方法(Inherited methods)

From class java.lang.Object

Public constructors

RSAPublicKeySpec

Added in API level 1
RSAPublicKeySpec (BigInteger modulus, 
                BigInteger publicExponent)

创建一个新的RSAPublicKeySpec。

参数(Parameters)
modulus BigInteger: the modulus
publicExponent BigInteger: the public exponent

公共方法(Public methods)

getModulus

Added in API level 1
BigInteger getModulus ()

返回模量。

返回(Returns)
BigInteger the modulus

getPublicExponent

Added in API level 1
BigInteger getPublicExponent ()

返回公共指数。

返回(Returns)
BigInteger the public exponent

Hooray!