Home
last modified time | relevance | path

Searched refs:rsaSpec (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java157 RSAKeyGenParameterSpec rsaSpec = in testParcelingRSAAlgoParameter() local
161 .setAlgorithmParameterSpec(rsaSpec) in testParcelingRSAAlgoParameter()
171 assertEquals(parcelSpec.getKeysize(), rsaSpec.getKeysize()); in testParcelingRSAAlgoParameter()
172 assertEquals(parcelSpec.getPublicExponent(), rsaSpec.getPublicExponent()); in testParcelingRSAAlgoParameter()
/frameworks/base/keystore/java/android/security/keystore/
DParcelableKeyGenParameterSpec.java70 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec) algoSpec; in writeToParcel() local
72 out.writeInt(rsaSpec.getKeysize()); in writeToParcel()
73 out.writeByteArray(rsaSpec.getPublicExponent().toByteArray()); in writeToParcel()
DAndroidKeyStoreKeyPairGeneratorSpi.java388 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec) algSpecificSpec; in initAlgorithmSpecificParameters() local
390 mKeySizeBits = rsaSpec.getKeysize(); in initAlgorithmSpecificParameters()
391 } else if (mKeySizeBits != rsaSpec.getKeysize()) { in initAlgorithmSpecificParameters()
394 + ": " + mKeySizeBits + " vs " + rsaSpec.getKeysize()); in initAlgorithmSpecificParameters()
396 publicExponent = rsaSpec.getPublicExponent(); in initAlgorithmSpecificParameters()