public class RSAPublicKeySpec extends Object implements KeySpec
Key
, KeyFactory
, KeySpec
, X509EncodedKeySpec
, RSAPrivateKeySpec
, RSAPrivateCrtKeySpec
Constructor and Description |
---|
RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
创建一个新的RSAPublicKeySpec。
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getModulus()
返回模数。
|
BigInteger |
getPublicExponent()
返回公共指数。
|
public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
modulus
- 模数
publicExponent
- 公众指数
public BigInteger getModulus()
public BigInteger getPublicExponent()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.