List of usage examples for org.bouncycastle.crypto.params RSAKeyParameters isPrivate
public boolean isPrivate()
From source file:com.licel.jcardsim.crypto.RSAKeyImpl.java
License:Apache License
/** * Construct and initialize rsa key with RSAKeyParameters. Use in * KeyPairImpl/* w w w . j a v a 2 s . c o m*/ * * @see javacard.security.KeyPair * @see RSAKeyParameters * @param params key params from BouncyCastle API */ public RSAKeyImpl(RSAKeyParameters params) { this(params.isPrivate(), (short) params.getModulus().bitLength()); setParameters(params); }