Searched refs:getAlgorithm (Results 1 – 21 of 21) sorted by relevance
47 public String getAlgorithm() { in getAlgorithm() method in CountingSecureRandom48 return mDelegate.getAlgorithm(); in getAlgorithm()
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 …]
37 public String getAlgorithm() { in getAlgorithm() method in TransparentSecretKey
58 signature = Signature.getInstance(signature.getAlgorithm(), signature.getProvider()); in assertNONEwithECDSATruncatesInputToFieldSize()100 signature = Signature.getInstance(signature.getAlgorithm(), signature.getProvider()); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
1942 String cipher = privateKey.getAlgorithm() + "/NONE/NOPADDING"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING()2105 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2110 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2114 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2203 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_EC()2208 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_EC()2212 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_EC()2296 cipher = Cipher.getInstance(cipher.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_AES()2300 cipher = Cipher.getInstance(cipher.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_AES()2304 cipher = Cipher.getInstance(cipher.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_AES()[all …]
60 KeyFactory keyFactory = KeyFactory.getInstance(key.getAlgorithm(), "AndroidKeyStore"); in testImmutabilityViaGetterReturnValues()
732 assertEquals(KM_ALGORITHM_RSA, keyDetailsList.getAlgorithm().intValue()); in checkRsaKeyDetails()733 assertNull(nonKeyDetailsList.getAlgorithm()); in checkRsaKeyDetails()777 assertEquals(KM_ALGORITHM_EC, keyDetailsList.getAlgorithm().intValue()); in checkEcKeyDetails()778 assertNull(nonKeyDetailsList.getAlgorithm()); in checkEcKeyDetails()
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()
147 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()327 assertEquals(algorithm, keyPair.getPrivate().getAlgorithm()); in testGenerateHonorsRequestedAuthorizations()1316 assertEquals(expectedKeyAlgorithm, keyPair.getPublic().getAlgorithm()); in assertGeneratedKeyPairAndSelfSignedCertificate()1375 if ("EC".equalsIgnoreCase(privateKey.getAlgorithm())) { in assertUsableForTLSPeerAuthentication()1380 } else if ("RSA".equalsIgnoreCase(privateKey.getAlgorithm())) { in assertUsableForTLSPeerAuthentication()1407 fail("Unsupported key algorithm: " + privateKey.getAlgorithm()); in assertUsableForTLSPeerAuthentication()
70 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()
241 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()441 if ((params != null) && ("OAEP".equalsIgnoreCase(params.getAlgorithm()))) { in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()494 && (!"GCM".equalsIgnoreCase(params.getAlgorithm()))) { in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
352 public Integer getAlgorithm() { in getAlgorithm() method in AuthorizationList
82 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()
346 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()682 signature = Signature.getInstance(signature.getAlgorithm(), provider); in testSmallMsgKat()
200 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US); in testAlgorithmList()
171 String algorithm = service.getAlgorithm(); in keyStores()447 String algorithm = service.getAlgorithm(); in test_KeyStore_create()
122 assertEquals(getTransformation(), mCipher.getAlgorithm()); in testGetAlgorithm()
100 assertEquals(KeyChain.getPrivateKey(getActivity(), alias).getAlgorithm(), "RSA"); in testCanInstallAndRemoveValidRsaKeypair()126 assertEquals(KeyChain.getPrivateKey(getActivity(), grant).getAlgorithm(), "RSA"); in testCanInstallWithAutomaticAccess()156 assertEquals(KeyChain.getPrivateKey(getActivity(), alias).getAlgorithm(), "RSA"); in testCanInstallCertChain()
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 …]
46797 public java.lang.String getAlgorithm()