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!