Home
last modified time | relevance | path

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

/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java152 KeyFactory keyFactory; in toPrivateKey() local
155 keyFactory = KeyFactory.getInstance("rsa"); in toPrivateKey()
158 keyFactory = KeyFactory.getInstance("dsa"); in toPrivateKey()
161 keyFactory = KeyFactory.getInstance("ec"); in toPrivateKey()
167 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in toPrivateKey()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDefaultAnnotationManager.kt127 val keyFactory = annotationNameToKeyFactory.get(qualifiedName) in <lambda>() constant
128 if (keyFactory != null) { in <lambda>()
129 return keyFactory(annotationItem) in <lambda>()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java534 SecretKeyFactory keyFactory = in decryptPkcs8EncodedKey() local
541 SecretKey decryptionKey = keyFactory.generateSecret(decryptionKeySpec); in decryptPkcs8EncodedKey()