/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreBCWorkaroundProvider.java | 230 private void putMacImpl(String algorithm, String implClass) { in putMacImpl() argument 231 put("Mac." + algorithm, implClass); in putMacImpl() 232 put("Mac." + algorithm + " SupportedKeyClasses", KEYSTORE_SECRET_KEY_CLASS_NAME); in putMacImpl() 246 private void putSignatureImpl(String algorithm, String implClass) { in putSignatureImpl() argument 247 put("Signature." + algorithm, implClass); in putSignatureImpl() 248 put("Signature." + algorithm + " SupportedKeyClasses", in putSignatureImpl()
|
D | KeyProperties.java | 172 @NonNull @KeyAlgorithmEnum String algorithm) { in toKeymasterAsymmetricKeyAlgorithm() 173 if (KEY_ALGORITHM_EC.equalsIgnoreCase(algorithm)) { in toKeymasterAsymmetricKeyAlgorithm() 175 } else if (KEY_ALGORITHM_RSA.equalsIgnoreCase(algorithm)) { in toKeymasterAsymmetricKeyAlgorithm() 178 throw new IllegalArgumentException("Unsupported key algorithm: " + algorithm); in toKeymasterAsymmetricKeyAlgorithm() 197 @NonNull @KeyAlgorithmEnum String algorithm) { in toKeymasterSecretKeyAlgorithm() 198 if (KEY_ALGORITHM_AES.equalsIgnoreCase(algorithm)) { in toKeymasterSecretKeyAlgorithm() 200 } else if (algorithm.toUpperCase(Locale.US).startsWith("HMAC")) { in toKeymasterSecretKeyAlgorithm() 204 "Unsupported secret key algorithm: " + algorithm); in toKeymasterSecretKeyAlgorithm() 241 public static int toKeymasterDigest(@NonNull @KeyAlgorithmEnum String algorithm) { in toKeymasterDigest() argument 242 String algorithmUpper = algorithm.toUpperCase(Locale.US); in toKeymasterDigest()
|
D | AndroidKeyStoreSecretKey.java | 28 public AndroidKeyStoreSecretKey(String alias, String algorithm) { in AndroidKeyStoreSecretKey() argument 29 super(alias, algorithm); in AndroidKeyStoreSecretKey()
|
D | AndroidKeyStorePrivateKey.java | 28 public AndroidKeyStorePrivateKey(String alias, String algorithm) { in AndroidKeyStorePrivateKey() argument 29 super(alias, algorithm); in AndroidKeyStorePrivateKey()
|
D | AndroidKeyStorePublicKey.java | 31 public AndroidKeyStorePublicKey(String alias, String algorithm, byte[] x509EncodedForm) { in AndroidKeyStorePublicKey() argument 32 super(alias, algorithm); in AndroidKeyStorePublicKey()
|
D | AndroidKeyStoreKey.java | 30 public AndroidKeyStoreKey(String alias, String algorithm) { in AndroidKeyStoreKey() argument 32 mAlgorithm = algorithm; in AndroidKeyStoreKey()
|
D | AndroidKeyStoreProvider.java | 121 private void putSecretKeyFactoryImpl(String algorithm) { in putSecretKeyFactoryImpl() argument 122 put("SecretKeyFactory." + algorithm, PACKAGE_NAME + ".AndroidKeyStoreSecretKeyFactorySpi"); in putSecretKeyFactoryImpl() 125 private void putKeyFactoryImpl(String algorithm) { in putKeyFactoryImpl() argument 126 put("KeyFactory." + algorithm, PACKAGE_NAME + ".AndroidKeyStoreKeyFactorySpi"); in putKeyFactoryImpl()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | DrmPlugin.h | 157 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setCipherAlgorithm() argument 159 UNUSED(algorithm); in setCipherAlgorithm() 164 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setMacAlgorithm() argument 166 UNUSED(algorithm); in setMacAlgorithm() 225 const String8& algorithm, in signRSA() argument 230 UNUSED(algorithm); in signRSA()
|
/frameworks/support/v4/java/android/support/v4/text/ |
D | TextDirectionHeuristicsCompat.java | 114 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl() argument 115 mAlgorithm = algorithm; in TextDirectionHeuristicImpl() 154 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal() argument 156 super(algorithm); in TextDirectionHeuristicInternal()
|
/frameworks/base/core/java/android/text/ |
D | TextDirectionHeuristics.java | 138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl() argument 139 mAlgorithm = algorithm; in TextDirectionHeuristicImpl() 178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal() argument 180 super(algorithm); in TextDirectionHeuristicInternal()
|
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
D | MediaDrmSigner.java | 134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA() argument 135 return drm.signRSA(sessionId, algorithm, wrappedKey, message); in signRSA()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyChain.java | 439 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { in isKeyAlgorithmSupported() 440 final String algUpper = algorithm.toUpperCase(Locale.US); in isKeyAlgorithmSupported() 466 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { in isBoundKeyAlgorithm() 467 if (!isKeyAlgorithmSupported(algorithm)) { in isBoundKeyAlgorithm() 471 return KeyStore.getInstance().isHardwareBacked(algorithm); in isBoundKeyAlgorithm()
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | SSLSocketFactory.java | 183 String algorithm, in SSLSocketFactory() argument 192 if (algorithm == null) { in SSLSocketFactory() 193 algorithm = TLS; in SSLSocketFactory() 203 this.sslcontext = SSLContext.getInstance(algorithm); in SSLSocketFactory()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 518 String8 const &algorithm) in setCipherAlgorithm() argument 523 vectorToString(sessionId).string(), algorithm.string()); in setCipherAlgorithm() 531 if (algorithm == "AES/CBC/NoPadding") { in setCipherAlgorithm() 538 String8 const &algorithm) in setMacAlgorithm() argument 543 vectorToString(sessionId).string(), algorithm.string()); in setMacAlgorithm() 551 if (algorithm == "HmacSHA256") { in setMacAlgorithm() 710 String8 const &algorithm, in signRSA() argument 719 algorithm.string(), in signRSA() 729 mStringProperties.add(String8("mock-algorithm"), algorithm); in signRSA()
|
D | MockDrmCryptoPlugin.h | 106 String8 const &algorithm); 109 String8 const &algorithm); 135 String8 const &algorithm,
|
/frameworks/av/include/media/ |
D | IDrm.h | 91 String8 const &algorithm) = 0; 94 String8 const &algorithm) = 0; 120 String8 const &algorithm,
|
/frameworks/av/media/libmedia/ |
D | IDrm.cpp | 409 String8 const &algorithm) { in setCipherAlgorithm() 414 data.writeString8(algorithm); in setCipherAlgorithm() 423 String8 const &algorithm) { in setMacAlgorithm() 428 data.writeString8(algorithm); in setMacAlgorithm() 522 String8 const &algorithm, in signRSA() 530 data.writeString8(algorithm); in signRSA() 851 String8 algorithm = data.readString8(); in onTransact() local 852 reply->writeInt32(setCipherAlgorithm(sessionId, algorithm)); in onTransact() 861 String8 algorithm = data.readString8(); in onTransact() local 862 reply->writeInt32(setMacAlgorithm(sessionId, algorithm)); in onTransact() [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | Drm.h | 96 String8 const &algorithm); 99 String8 const &algorithm); 125 String8 const &algorithm,
|
D | Drm.cpp | 655 String8 const &algorithm) { in setCipherAlgorithm() argument 668 return mPlugin->setCipherAlgorithm(sessionId, algorithm); in setCipherAlgorithm() 672 String8 const &algorithm) { in setMacAlgorithm() argument 685 return mPlugin->setMacAlgorithm(sessionId, algorithm); in setMacAlgorithm() 768 String8 const &algorithm, in signRSA() argument 788 return mPlugin->signRSA(sessionId, algorithm, message, wrappedKey, signature); in signRSA()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | DefaultHttpClientTest.java | 125 private void authenticateDigestAlgorithm(String algorithm) throws Exception { in authenticateDigestAlgorithm() argument 128 + "algorithm=" + algorithm; in authenticateDigestAlgorithm()
|
/frameworks/native/include/media/drm/ |
D | DrmAPI.h | 285 String8 const &algorithm) = 0; 294 String8 const &algorithm) = 0; 336 String8 const &algorithm,
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 1037 @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); in setCipherAlgorithmNative() argument 1040 @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); in setMacAlgorithmNative() argument 1295 @NonNull String algorithm, @NonNull byte[] wrappedKey, @NonNull byte[] message); in signRSANative() argument 1310 @NonNull byte[] sessionId, @NonNull String algorithm, in signRSA() argument 1312 return signRSANative(this, sessionId, algorithm, wrappedKey, message); in signRSA()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 142 String algorithm = mClientPrivateKey.getAlgorithm(); in writeToParcel() local 146 dest.writeString(algorithm); in writeToParcel() 187 String algorithm = in.readString(); 188 KeyFactory keyFactory = KeyFactory.getInstance(algorithm);
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 265 private static String getDigest(X509Certificate x509Certificate, String algorithm) { in getDigest() argument 271 MessageDigest md = MessageDigest.getInstance(algorithm); in getDigest()
|
/frameworks/base/docs/html/distribute/analyze/ |
D | google-services.jd | 96 algorithm X or algorithm Y better for cross-selling products in your app?
|