Searched refs:ks (Results 1 – 5 of 5) sorted by relevance
46 public void addSigningKeySet(long ks) { in addSigningKeySet() argument49 if (ks == knownKeySet) { in addSigningKeySet()55 mSigningKeySets[end] = ks; in addSigningKeySet()58 public void removeSigningKeySet(long ks) { in removeSigningKeySet() argument59 if (packageIsSignedBy(ks)) { in removeSigningKeySet()63 if (signingKeySet != ks) { in removeSigningKeySet()72 public void addDefinedKeySet(long ks, String alias) { in addDefinedKeySet() argument75 if (ks == knownKeySet) { in addDefinedKeySet()81 mDefinedKeySets[end] = ks; in addDefinedKeySet()82 mKeySetAliases.put(alias, ks); in addDefinedKeySet()[all …]
83 public boolean packageIsSignedBy(String packageName, KeySet ks) { in packageIsSignedBy() argument92 long id = getIdByKeySetLocked(ks); in packageIsSignedBy()109 KeySet ks = addKeySetLocked(keys); in addDefinedKeySetToPackage() local114 long id = getIdByKeySetLocked(ks); in addDefinedKeySetToPackage()131 KeySet ks = addKeySetLocked(signingKeys); in addSigningKeySetToPackage() local132 long id = getIdByKeySetLocked(ks); in addSigningKeySetToPackage()160 public long getIdByKeySet(KeySet ks) { in getIdByKeySet() argument162 return getIdByKeySetLocked(ks); in getIdByKeySet()166 private long getIdByKeySetLocked(KeySet ks) { in getIdByKeySetLocked() argument169 if (ks.equals(value)) { in getIdByKeySetLocked()[all …]
322 KeyStore ks = KeyStore.getInstance("BKS"); in testDefaultAlgorithms() local327 assertEquals("BKS", ks.getType()); in testDefaultAlgorithms()
2582 KeySpec ks = new PBEKeySpec(mKey.toCharArray(), obbInfo.salt, in handleExecute() local2584 SecretKey key = factory.generateSecret(ks); in handleExecute()
1148 KeySpec ks = new PBEKeySpec(pwArray, salt, rounds, PBKDF2_KEY_SIZE); in buildCharArrayKey() local1149 return keyFactory.generateSecret(ks); in buildCharArrayKey()