public class RSAPublicKeySpec extends Object implements KeySpec
Key
,
KeyFactory
,
KeySpec
,
X509EncodedKeySpec
,
RSAPrivateKeySpec
,
RSAPrivateCrtKeySpec
Constructor and Description |
---|
RSAPublicKeySpec(BigInteger modulus,
BigInteger publicExponent)
Creates a new RSAPublicKeySpec.
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getModulus()
Returns the modulus.
|
BigInteger |
getPublicExponent()
Returns the public exponent.
|
public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
modulus
- the moduluspublicExponent
- the public exponentpublic BigInteger getModulus()
public BigInteger getPublicExponent()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.