Home
last modified time | relevance | path

Searched refs:certificateBytes (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java63 byte[] certificateBytes = in createRsaPrivateKeyFromKeyFile()
69 return (RSAPrivateKey) IkeCertUtils.privateKeyFromByteArray(certificateBytes); in createRsaPrivateKeyFromKeyFile()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainActivityTest.java236 private static X509Certificate parseCertificate(byte[] certificateBytes) { in parseCertificate() argument
237 InputStream in = new ByteArrayInputStream(certificateBytes); in parseCertificate()
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c1634 jbyte *certificateBytes = (*env)->GetByteArrayElements(env, certificate, 0); in _wprint_callback_fn() local
1635 memcpy(certificateBytes, (const void *) cb_param->certificate, in _wprint_callback_fn()
1637 (*env)->ReleaseByteArrayElements(env, certificate, certificateBytes, 0); in _wprint_callback_fn()
1787 jbyte *certificateBytes = (*env)->GetByteArrayElements(env, certificate, NULL); in _convertCertificate() local
1788 memcpy(params->certificate, certificateBytes, params->certificate_len); in _convertCertificate()
1789 (*env)->ReleaseByteArrayElements(env, certificate, certificateBytes, JNI_ABORT); in _convertCertificate()