HomeSort by relevance Sort by last modified time
    Searched refs:privateKeySpec (Results 1 - 3 of 3) sorted by null

  /external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
AbstractKeyFactoryTest.java 30 public abstract class AbstractKeyFactoryTest<PublicKeySpec extends KeySpec, PrivateKeySpec extends KeySpec> {
34 private final Class<PrivateKeySpec> privateKeySpecClass;
39 Class<PrivateKeySpec> privateKeySpecClass) {
56 PrivateKeySpec privateKeySpec = factory.getKeySpec(DefaultKeys.getPrivateKey(algorithmName),
58 PrivateKey privateKey = factory.generatePrivate(privateKeySpec);
  /external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
AbstractKeyFactoryTest.java 26 public abstract class AbstractKeyFactoryTest<PublicKeySpec extends KeySpec, PrivateKeySpec extends KeySpec> {
30 private final Class<PrivateKeySpec> privateKeySpecClass;
35 Class<PrivateKeySpec> privateKeySpecClass) {
52 PrivateKeySpec privateKeySpec = factory.getKeySpec(DefaultKeys.getPrivateKey(algorithmName),
54 PrivateKey privateKey = factory.generatePrivate(privateKeySpec);
  /cts/tests/tests/keystore/src/android/keystore/cts/
TestUtils.java 401 PKCS8EncodedKeySpec privateKeySpec = new PKCS8EncodedKeySpec(pkcs8EncodedForm);
404 return KeyFactory.getInstance("EC").generatePrivate(privateKeySpec);
407 return KeyFactory.getInstance("RSA").generatePrivate(privateKeySpec);
    [all...]

Completed in 138 milliseconds