Home
last modified time | relevance | path

Searched refs:javaKey (Results 1 – 25 of 38) sorted by relevance

12

/aosp_15_r20/external/conscrypt/common/src/main/java/org/conscrypt/
H A DCryptoUpcalls.java60 static byte[] ecSignDigestWithPrivateKey(PrivateKey javaKey, byte[] message) { in ecSignDigestWithPrivateKey() argument
63 String keyAlgorithm = javaKey.getAlgorithm(); in ecSignDigestWithPrivateKey()
65 throw new RuntimeException("Unexpected key type: " + javaKey); in ecSignDigestWithPrivateKey()
68 return signDigestWithPrivateKey(javaKey, message, "NONEwithECDSA"); in ecSignDigestWithPrivateKey()
71 private static byte[] signDigestWithPrivateKey(PrivateKey javaKey, byte[] message, in signDigestWithPrivateKey() argument
80 signature.initSign(javaKey); in signDigestWithPrivateKey()
103 signature.initSign(javaKey); in signDigestWithPrivateKey()
129 "Exception while signing message with " + javaKey.getAlgorithm() in signDigestWithPrivateKey()
136 static byte[] rsaSignDigestWithPrivateKey(PrivateKey javaKey, int openSSLPadding, in rsaSignDigestWithPrivateKey() argument
139 return rsaOpWithPrivateKey(javaKey, openSSLPadding, Cipher.ENCRYPT_MODE, message); in rsaSignDigestWithPrivateKey()
[all …]
/aosp_15_r20/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
H A DCryptoUpcalls.java62 static byte[] ecSignDigestWithPrivateKey(PrivateKey javaKey, byte[] message) { in ecSignDigestWithPrivateKey() argument
65 String keyAlgorithm = javaKey.getAlgorithm(); in ecSignDigestWithPrivateKey()
67 throw new RuntimeException("Unexpected key type: " + javaKey); in ecSignDigestWithPrivateKey()
70 return signDigestWithPrivateKey(javaKey, message, "NONEwithECDSA"); in ecSignDigestWithPrivateKey()
73 private static byte[] signDigestWithPrivateKey(PrivateKey javaKey, byte[] message, in signDigestWithPrivateKey() argument
82 signature.initSign(javaKey); in signDigestWithPrivateKey()
105 signature.initSign(javaKey); in signDigestWithPrivateKey()
131 "Exception while signing message with " + javaKey.getAlgorithm() in signDigestWithPrivateKey()
138 static byte[] rsaSignDigestWithPrivateKey(PrivateKey javaKey, int openSSLPadding, in rsaSignDigestWithPrivateKey() argument
141 return rsaOpWithPrivateKey(javaKey, openSSLPadding, Cipher.ENCRYPT_MODE, message); in rsaSignDigestWithPrivateKey()
[all …]
/aosp_15_r20/frameworks/base/ravenwood/runtime-jni/
H A Dravenwood_initializer.cpp153 static jstring getSystemProperty(JNIEnv* env, jclass, jstring javaKey) { in getSystemProperty() argument
154 ScopedUtfChars key(env, javaKey); in getSystemProperty()
161 static jboolean setSystemProperty(JNIEnv* env, jclass, jstring javaKey, jstring javaValue) { in setSystemProperty() argument
162 ScopedUtfChars key(env, javaKey); in setSystemProperty()
167 static jboolean removeSystemProperty(JNIEnv* env, jclass, jstring javaKey) { in removeSystemProperty() argument
170 if (javaKey == nullptr) { in removeSystemProperty()
174 ScopedUtfChars key(env, javaKey); in removeSystemProperty()
/aosp_15_r20/external/conscrypt/common/src/jni/main/cpp/conscrypt/
H A Dnative_crypto.cc1327 static jlong NativeCrypto_getRSAPrivateKeyWrapper(JNIEnv* env, jclass, jobject javaKey, in NativeCrypto_getRSAPrivateKeyWrapper() argument
1330 JNI_TRACE("getRSAPrivateKeyWrapper(%p, %p)", javaKey, modulusBytes); in NativeCrypto_getRSAPrivateKeyWrapper()
1363 ex_data->private_key = env->NewGlobalRef(javaKey); in NativeCrypto_getRSAPrivateKeyWrapper()
1381 JNI_TRACE("getRSAPrivateKeyWrapper(%p, %p) => %p", javaKey, modulusBytes, pkey.get()); in NativeCrypto_getRSAPrivateKeyWrapper()
1385 static jlong NativeCrypto_getECPrivateKeyWrapper(JNIEnv* env, jclass, jobject javaKey, in NativeCrypto_getECPrivateKeyWrapper() argument
1389 JNI_TRACE("getECPrivateKeyWrapper(%p, %p)", javaKey, group); in NativeCrypto_getECPrivateKeyWrapper()
1403 JNI_TRACE("getECPrivateKeyWrapper(%p, %p) => EC_KEY_set_group error", javaKey, group); in NativeCrypto_getECPrivateKeyWrapper()
1409 ex_data->private_key = env->NewGlobalRef(javaKey); in NativeCrypto_getECPrivateKeyWrapper()
/aosp_15_r20/prebuilts/module_sdk/conscrypt/current/host-exports/java/linux_glibc/
Dconscrypt-unbundled.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/conscrypt/ org/ ...
/aosp_15_r20/out/soong/.intermediates/external/conscrypt/conscrypt-unbundled/linux_glibc_common/local-javac-header/
Dconscrypt-unbundled.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/conscrypt/ org/ ...
/aosp_15_r20/out/soong/.intermediates/external/conscrypt/conscrypt-unbundled/linux_glibc_common/javac/
Dconscrypt-unbundled.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/conscrypt/ org/ ...
/aosp_15_r20/prebuilts/module_sdk/conscrypt/current/host-exports/java/linux_bionic/
Dconscrypt-unbundled.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/conscrypt/ org/ ...
/aosp_15_r20/prebuilts/module_sdk/conscrypt/current/java/
Dconscrypt.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/net/ android/ ...
/aosp_15_r20/out/soong/.intermediates/external/conscrypt/conscrypt/android_common_apex30/javac/
Dconscrypt.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/net/ android/ ...
/aosp_15_r20/prebuilts/module_sdk/conscrypt/1/java/
Dconscrypt.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/net/ android/ ...
/aosp_15_r20/out/soong/.intermediates/external/conscrypt/conscrypt/android_common_apex30/package-check/
Dconscrypt.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/net/ android/ ...
/aosp_15_r20/prebuilts/module_sdk/conscrypt/current/test-exports/java/
Dconscrypt-for-host.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/net/ android/ ...
/aosp_15_r20/out/target/common/obj/JAVA_LIBRARIES/conscrypt.com.android.conscrypt_intermediates/
Dclasses.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/net/ android/ ...
/aosp_15_r20/out/soong/.intermediates/external/conscrypt/conscrypt/android_common_apex30/combined/
Dconscrypt.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/net/ android/ ...
/aosp_15_r20/prebuilts/misc/common/robolectric/android-all/
HDandroid-all-10-robolectric-5803371.jarMETA-INF/ META-INF/MANIFEST.MF res/ res/layout-notround- ...
HDandroid-all-11-robolectric-6757853.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/proguard/ META- ...
HDandroid-all-5.1.1_r9-robolectric-r2.jarMETA-INF/ META-INF/MANIFEST.MF assets/ assets/images/ assets/ ...
HDandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
HDandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
HDandroid-all-5.0.2_r3-robolectric-r0.jarMETA-INF/ META-INF/MANIFEST.MF assets/ assets/images/ assets/ ...
HDandroid-all-12-robolectric-7732740.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/proguard/ META- ...
HDandroid-all-12.1-robolectric-8229987.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/proguard/ META- ...
HDandroid-all-7.0.0_r1-robolectric-r1.jarMETA-INF/ META-INF/MANIFEST.MF assets/ assets/images/ assets/ ...
HDandroid-all-6.0.1_r3-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF sun/ sun/misc/ sun/ ...

12