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.java159 RSAKeyGenParameterSpec rsaSpec = in testParcelingRSAAlgoParameter() local
163 .setAlgorithmParameterSpec(rsaSpec) in testParcelingRSAAlgoParameter()
173 assertEquals(parcelSpec.getKeysize(), rsaSpec.getKeysize()); in testParcelingRSAAlgoParameter()
174 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.java386 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec) algSpecificSpec; in initAlgorithmSpecificParameters() local
388 mKeySizeBits = rsaSpec.getKeysize(); in initAlgorithmSpecificParameters()
389 } else if (mKeySizeBits != rsaSpec.getKeysize()) { in initAlgorithmSpecificParameters()
392 + ": " + mKeySizeBits + " vs " + rsaSpec.getKeysize()); in initAlgorithmSpecificParameters()
394 publicExponent = rsaSpec.getPublicExponent(); in initAlgorithmSpecificParameters()