Searched refs:getAlgorithm (Results 1 – 17 of 17) sorted by relevance
47 public String getAlgorithm() { in getAlgorithm() method in CountingSecureRandom48 return mDelegate.getAlgorithm(); in getAlgorithm()
37 public String getAlgorithm() { in getAlgorithm() method in TransparentSecretKey
91 assertEquals(publicKey.getAlgorithm(), privateKey.getAlgorithm()); in assertKeyPairSelfConsistent()92 String keyAlgorithm = publicKey.getAlgorithm(); in assertKeyPairSelfConsistent()166 keystorePublicKey.getAlgorithm(), x509Cert.getPublicKey().getAlgorithm()); in assertKeyStoreKeyPair()248 return KeyFactory.getInstance(key.getAlgorithm(), "AndroidKeyStore") in getKeyInfo()251 return (KeyInfo) SecretKeyFactory.getInstance(key.getAlgorithm(), "AndroidKeyStore") in getKeyInfo()439 if (!originalPublicKey.getAlgorithm().equalsIgnoreCase(originalPrivateKey.getAlgorithm())) { in importIntoAndroidKeyStore()441 + " Public: " + originalPublicKey.getAlgorithm() in importIntoAndroidKeyStore()442 + ", private: " + originalPrivateKey.getAlgorithm()); in importIntoAndroidKeyStore()556 if (keyAlgorithm.equalsIgnoreCase(keyPair.getPublic().getAlgorithm())) { in getKeyPairForKeyAlgorithm()565 if (keyAlgorithm.equalsIgnoreCase(key.getAlgorithm())) { in getKeyForKeyAlgorithm()[all …]
58 signature = Signature.getInstance(signature.getAlgorithm(), signature.getProvider()); in assertNONEwithECDSATruncatesInputToFieldSize()100 signature = Signature.getInstance(signature.getAlgorithm(), signature.getProvider()); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
1932 String cipher = privateKey.getAlgorithm() + "/NONE/NOPADDING"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING()2095 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2100 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2104 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2193 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_EC()2198 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_EC()2202 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_EC()2286 cipher = Cipher.getInstance(cipher.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_AES()2290 cipher = Cipher.getInstance(cipher.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_AES()2294 cipher = Cipher.getInstance(cipher.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_AES()[all …]
60 KeyFactory keyFactory = KeyFactory.getInstance(key.getAlgorithm(), "AndroidKeyStore"); in testImmutabilityViaGetterReturnValues()
82 signature = Signature.getInstance(signature.getAlgorithm(), provider); in testMaxMessageSizeWhenNoDigestUsed()
85 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()493 assertEquals(algorithm, key.getAlgorithm()); in testGenerateHonorsRequestedAuthorizations()
146 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()326 assertEquals(algorithm, keyPair.getPrivate().getAlgorithm()); in testGenerateHonorsRequestedAuthorizations()1289 assertEquals(expectedKeyAlgorithm, keyPair.getPublic().getAlgorithm()); in assertGeneratedKeyPairAndSelfSignedCertificate()1348 if ("EC".equalsIgnoreCase(privateKey.getAlgorithm())) { in assertUsableForTLSPeerAuthentication()1353 } else if ("RSA".equalsIgnoreCase(privateKey.getAlgorithm())) { in assertUsableForTLSPeerAuthentication()1380 fail("Unsupported key algorithm: " + privateKey.getAlgorithm()); in assertUsableForTLSPeerAuthentication()
70 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()
239 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()439 if ((params != null) && ("OAEP".equalsIgnoreCase(params.getAlgorithm()))) { in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()480 && (!"GCM".equalsIgnoreCase(params.getAlgorithm()))) { in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
82 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()
346 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()683 signature = Signature.getInstance(signature.getAlgorithm(), provider); in testSmallMsgKat()
200 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()
119 assertEquals(getTransformation(), mCipher.getAlgorithm()); in testGetAlgorithm()
90 assertEquals(retrievedKey.getAlgorithm(), "RSA"); in testCanInstallValidRsaKeypair()
31161 public final java.lang.String getAlgorithm()31237 public final java.lang.String getAlgorithm()32060 public abstract java.lang.String getAlgorithm()32108 public final java.lang.String getAlgorithm()32259 public java.lang.String getAlgorithm()32988 public final java.lang.String getAlgorithm()33384 public final java.lang.String getAlgorithm()33553 public java.lang.String getAlgorithm()33837 public final java.lang.String getAlgorithm()33987 public java.lang.String getAlgorithm()[all …]