equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <e32def.h> |
|
19 #include "nativehttptransaction.h" |
|
20 #include "com_nokia_mj_impl_https_HttpsConnectionNative.h" |
|
21 |
|
22 JNIEXPORT jint JNICALL Java_com_nokia_mj_impl_https_HttpsConnectionNative__1getMSecureConnectionInfo( |
|
23 JNIEnv*, |
|
24 jobject, |
|
25 jint aNativeHttpTransaction) |
|
26 { |
|
27 jint handle = -1; |
|
28 NativeHttpTransaction* tran = reinterpret_cast<NativeHttpTransaction*>(aNativeHttpTransaction); |
|
29 handle = tran->GetSecurityInfo(); |
|
30 return handle; |
|
31 } |