Searched refs:rsaSpec (Results 1 – 3 of 3) sorted by relevance
157 RSAKeyGenParameterSpec rsaSpec = in testParcelingRSAAlgoParameter() local161 .setAlgorithmParameterSpec(rsaSpec) in testParcelingRSAAlgoParameter()171 assertEquals(parcelSpec.getKeysize(), rsaSpec.getKeysize()); in testParcelingRSAAlgoParameter()172 assertEquals(parcelSpec.getPublicExponent(), rsaSpec.getPublicExponent()); in testParcelingRSAAlgoParameter()
70 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec) algoSpec; in writeToParcel() local72 out.writeInt(rsaSpec.getKeysize()); in writeToParcel()73 out.writeByteArray(rsaSpec.getPublicExponent().toByteArray()); in writeToParcel()
387 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec) algSpecificSpec; in initAlgorithmSpecificParameters() local389 mKeySizeBits = rsaSpec.getKeysize(); in initAlgorithmSpecificParameters()390 } else if (mKeySizeBits != rsaSpec.getKeysize()) { in initAlgorithmSpecificParameters()393 + ": " + mKeySizeBits + " vs " + rsaSpec.getKeysize()); in initAlgorithmSpecificParameters()395 publicExponent = rsaSpec.getPublicExponent(); in initAlgorithmSpecificParameters()