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