HomeSort by relevance Sort by last modified time
    Searched refs:javaKey (Results 1 - 4 of 4) sorted by null

  /external/conscrypt/src/main/java/org/conscrypt/
CryptoUpcalls.java 58 public static byte[] rawSignDigestWithPrivateKey(PrivateKey javaKey, byte[] message) {
63 if (javaKey instanceof RSAPrivateKey) {
69 } else if (javaKey instanceof DSAPrivateKey) {
71 } else if (javaKey instanceof ECPrivateKey) {
74 throw new RuntimeException("Unexpected key type: " + javaKey.toString());
91 System.err.println("Unsupported private key algorithm: " + javaKey.getAlgorithm());
97 signature.initSign(javaKey);
101 System.err.println("Exception while signing message with " + javaKey.getAlgorithm()
108 public static byte[] rawCipherWithPrivateKey(PrivateKey javaKey, boolean encrypt,
110 if (!(javaKey instanceof RSAPrivateKey))
    [all...]
  /external/chromium_org/net/android/java/src/org/chromium/net/
DefaultAndroidKeyStore.java 50 public AndroidPrivateKey createKey(PrivateKey javaKey) {
51 return new DefaultAndroidPrivateKey(javaKey, this);
56 PrivateKey javaKey = ((DefaultAndroidPrivateKey) key).getJavaKey();
57 if (javaKey instanceof RSAKey) {
58 return ((RSAKey) javaKey).getModulus().toByteArray();
66 PrivateKey javaKey = ((DefaultAndroidPrivateKey) key).getJavaKey();
67 if (javaKey instanceof DSAKey) {
68 DSAParams params = ((DSAKey) javaKey).getParams();
77 PrivateKey javaKey = ((DefaultAndroidPrivateKey) key).getJavaKey();
78 if (javaKey instanceof ECKey)
    [all...]
  /external/conscrypt/src/compat/java/org/conscrypt/
Platform.java 174 public static OpenSSLKey wrapRsaKey(PrivateKey javaKey) throws InvalidKeyException {
193 if (!superClass.isInstance(javaKey)) {
200 + javaKey.getClass().getCanonicalName());
213 opensslKey = getKey.invoke(javaKey);
219 Log.e(TAG, "Could not getOpenSSLKey on instance: " + javaKey.toString());
252 Log.e(TAG, "Error during conversion of privatekey instance: " + javaKey.toString(), e);
  /external/conscrypt/src/main/native/
org_conscrypt_NativeCrypto.cpp     [all...]

Completed in 239 milliseconds