code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/* x509_trs.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | zx08uestc-openvpn | main/openssl/crypto/x509/x509_trs.c | C | gpl2 | 8,813 |
/* crypto/md5/md5.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-com... | zx08uestc-openvpn | main/openssl/crypto/md5/md5.h | C | gpl2 | 4,692 |
/* crypto/md5/md5_one.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non... | zx08uestc-openvpn | main/openssl/crypto/md5/md5_one.c | C | gpl2 | 3,908 |
/* crypto/md5/md5test.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non... | zx08uestc-openvpn | main/openssl/crypto/md5/md5test.c | C | gpl2 | 4,736 |
//
// gettsc.inl
//
// gives access to the Pentium's (secret) cycle counter
//
// This software was written by Leonard Janke (janke@unixg.ubc.ca)
// in 1996-7 and is entered, by him, into the public domain.
#if defined(__WATCOMC__)
void GetTSC(unsigned long&);
#pragma aux GetTSC = 0x0f 0x31 "mov [edi], eax" parm [edi]... | zx08uestc-openvpn | main/openssl/crypto/md5/md5s.cpp | C++ | gpl2 | 1,502 |
/* crypto/md5/md5_locl.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and no... | zx08uestc-openvpn | main/openssl/crypto/md5/md5_locl.h | C | gpl2 | 5,194 |
/* crypto/md5/md5.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-com... | zx08uestc-openvpn | main/openssl/crypto/md5/md5.c | C | gpl2 | 4,173 |
.file "crypto/md5/asm/md5-586.s"
.text
.globl md5_block_asm_data_order
.type md5_block_asm_data_order,@function
.align 16
md5_block_asm_data_order:
.L_md5_block_asm_data_order_begin:
pushl %esi
pushl %edi
movl 12(%esp),%edi
movl 16(%esp),%esi
movl 20(%esp),%ecx
pushl %ebp
shll $6,%ecx
pushl %ebx
addl %esi,%ecx... | zx08uestc-openvpn | main/openssl/crypto/md5/asm/md5-586.S | Unix Assembly | gpl2 | 11,226 |
/* Copyright (c) 2005 Hewlett-Packard Development Company, L.P.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, m... | zx08uestc-openvpn | main/openssl/crypto/md5/asm/md5-ia64.S | Unix Assembly | gpl2 | 21,544 |
#!/usr/bin/perl -w
#
# MD5 optimized for AMD64.
#
# Author: Marc Bevand <bevand_m (at) epita.fr>
# Licence: I hereby disclaim the copyright on this code and place it
# in the public domain.
#
use strict;
my $code;
# round1_step() does:
# dst = x + ((dst + F(x,y,z) + X[k] + T_i) <<< s)
# %r10d = X[k_next]
# %r1... | zx08uestc-openvpn | main/openssl/crypto/md5/asm/md5-x86_64.pl | Perl | gpl2 | 12,448 |
#!/usr/local/bin/perl
# Normal is the
# md5_block_x86(MD5_CTX *c, ULONG *X);
# version, non-normal is the
# md5_block_x86(MD5_CTX *c, ULONG *X,int blocks);
$normal=0;
$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
&asm_init($ARGV[0],$0);
$A="eax";
$B="ebx";
$... | zx08uestc-openvpn | main/openssl/crypto/md5/asm/md5-586.pl | Raku | gpl2 | 7,612 |
.text
.align 16
.globl md5_block_asm_data_order
.type md5_block_asm_data_order,@function
md5_block_asm_data_order:
pushq %rbp
pushq %rbx
pushq %r12
pushq %r14
pushq %r15
.Lprologue:
movq %rdi,%rbp
shlq $6,%rdx
leaq (%rsi,%rdx,1),%rdi
movl 0(%rbp),%eax
movl 4(%rbp),%ebx
movl 8(%rbp),%ecx
movl 12(%rbp),... | zx08uestc-openvpn | main/openssl/crypto/md5/asm/md5-x86_64.S | Unix Assembly | gpl2 | 12,284 |
/* crypto/md5/md5_dgst.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and no... | zx08uestc-openvpn | main/openssl/crypto/md5/md5_dgst.c | C | gpl2 | 7,079 |
/* opensslconf.h */
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
/* OpenSSL was configured with the following options: */
#ifndef OPENSSL_DOING_MAKEDEPEND
#ifndef OPENSSL_NO_CAMELLIA
# define OPENSSL_NO_CAMELLIA
#endif
#ifndef OPENSSL_NO_CAPIENG
# define OPENSSL_NO_CAPIENG
#endif
#ifnde... | zx08uestc-openvpn | main/openssl/crypto/opensslconf-static-trusty.h | C | gpl2 | 11,302 |
/* p12_p8d.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2001.
*/
/* ====================================================================
* Copyright (c) 2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_p8d.c | C | gpl2 | 3,005 |
/* p12_utl.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_utl.c | C | gpl2 | 5,016 |
/* pkcs12.h */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* m... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/pkcs12.h | C | gpl2 | 12,654 |
/* crypto/pkcs12/pk12err.c */
/* ====================================================================
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ar... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/pk12err.c | C | gpl2 | 6,783 |
/* p12_init.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_init.c | C | gpl2 | 3,474 |
/* p12_mutl.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_mutl.c | C | gpl2 | 6,529 |
/* p12_crt.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
/* ====================================================================
* Copyright (c) 1999-2002 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_crt.c | C | gpl2 | 8,522 |
/* p12_attr.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_attr.c | C | gpl2 | 4,812 |
/* p12_npas.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_npas.c | C | gpl2 | 7,472 |
/* p12_p8e.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2001.
*/
/* ====================================================================
* Copyright (c) 2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_p8e.c | C | gpl2 | 3,688 |
/* p12_decr.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_decr.c | C | gpl2 | 5,903 |
/* p12_asn.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_asn.c | C | gpl2 | 5,299 |
/* p12_crpt.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_crpt.c | C | gpl2 | 4,355 |
/* p12_kiss.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_kiss.c | C | gpl2 | 8,202 |
/* p12_add.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_add.c | C | gpl2 | 7,740 |
/* p12_key.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | zx08uestc-openvpn | main/openssl/crypto/pkcs12/p12_key.c | C | gpl2 | 6,897 |
LOCAL_PATH := $(call my-dir)
# Enable to be able to use ALOG* with #include "cutils/log.h"
#log_c_includes += system/core/include
#log_shared_libraries := liblog
# These makefiles are here instead of being Android.mk files in the
# respective crypto, ssl, and apps directories so
# that import_openssl.sh import won't ... | zx08uestc-openvpn | main/openssl/Android.mk | Makefile | gpl2 | 507 |
#!/bin/bash
#
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | zx08uestc-openvpn | main/openssl/android.testssl/testssl.sh | Shell | gpl2 | 2,152 |
#!/bin/sh
if [ "$1" = "" ]; then
key=../apps/server.pem
else
key="$1"
fi
if [ "$2" = "" ]; then
cert=../apps/server.pem
else
cert="$2"
fi
ssltest="adb shell /system/bin/ssltest -key $key -cert $cert -c_key $key -c_cert $cert"
if adb shell /system/bin/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key... | zx08uestc-openvpn | main/openssl/android.testssl/testssl | Shell | gpl2 | 5,475 |
package de.blinkt.openvpn.core;
import net.openvpn.ovpn3.ClientAPI_Config;
import net.openvpn.ovpn3.ClientAPI_EvalConfig;
import net.openvpn.ovpn3.ClientAPI_Event;
import net.openvpn.ovpn3.ClientAPI_ExternalPKICertRequest;
import net.openvpn.ovpn3.ClientAPI_ExternalPKISignRequest;
import net.openvpn.ovpn3.ClientAPI_Lo... | zx08uestc-openvpn | main/src/ovpn3/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java | Java | gpl2 | 6,734 |
package de.blinkt.openvpn.api;
parcelable APIVpnProfile;
| zx08uestc-openvpn | main/src/main/aidl/de/blinkt/openvpn/api/APIVpnProfile.aidl | AIDL | gpl2 | 58 |
package de.blinkt.openvpn.api;
/**
* Example of a callback interface used by IRemoteService to send
* synchronous notifications back to its clients. Note that this is a
* one-way interface so the server does not block waiting for the client.
*/
oneway interface IOpenVPNStatusCallback {
/**
* Cal... | zx08uestc-openvpn | main/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl | AIDL | gpl2 | 458 |
// IOpenVPNAPIService.aidl
package de.blinkt.openvpn.api;
import de.blinkt.openvpn.api.APIVpnProfile;
import de.blinkt.openvpn.api.IOpenVPNStatusCallback;
import android.content.Intent;
import android.os.ParcelFileDescriptor;
interface IOpenVPNAPIService {
List<APIVpnProfile> getProfiles();
void sta... | zx08uestc-openvpn | main/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl | AIDL | gpl2 | 1,772 |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | zx08uestc-openvpn | main/src/main/aidl/com/android/vending/billing/IInAppBillingService.aidl | AIDL | gpl2 | 8,443 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.views;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java | Java | gpl2 | 2,302 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.views;
import android.content.Context;
import android.preference.DialogPreference;
import android.util.AttributeSet;
import android.util.Pair;
import android.view.V... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/views/RemoteCNPreference.java | Java | gpl2 | 3,755 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.views;
import android.content.Context;
import android.content.Intent;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.V... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/views/FileSelectLayout.java | Java | gpl2 | 5,821 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.activities;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.*;
import android.os.IBinder;
import de.blinkt.openvpn.R;
import de... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java | Java | gpl2 | 2,760 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.activities;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
imp... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/activities/FileSelect.java | Java | gpl2 | 6,272 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.activities;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.ActivityNotFoundException;
... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/activities/ConfigConverter.java | Java | gpl2 | 21,607 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.activities;
import java.util.List;
import android.annotation.TargetApi;
import android.app.AlertDialog;
import android.app.Fragment;
import android.content.DialogI... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/activities/VPNPreferences.java | Java | gpl2 | 4,834 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.activities;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Parcelable;
import android.view.View;
import... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/activities/CreateShortcuts.java | Java | gpl2 | 6,046 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.activities;
import android.app.Activity;
import android.os.Bundle;
import android.view.MenuItem;
import de.blinkt.openvpn.R;
import de.blinkt.openvpn.fragments.Log... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/activities/LogWindow.java | Java | gpl2 | 963 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.activities;
import android.app.ActionBar;
import android.app.ActionBar.Tab;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentTra... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/activities/MainActivity.java | Java | gpl2 | 3,426 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ActivityNotFoundException;
import android.content.DialogInterface;
import andro... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/LaunchVPN.java | Java | gpl2 | 10,632 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/FileProvider.java | Java | gpl2 | 3,876 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
impor... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java | Java | gpl2 | 16,406 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.StreamCo... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/ProfileManager.java | Java | gpl2 | 5,820 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import java.security.InvalidKeyException;
public class NativeUtils {
public static native byte[] rsasign(byte[] input,int pkey) throws InvalidKeyException;
... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java | Java | gpl2 | 458 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import java.util.Locale;
class CIDRIP {
String mIp;
int len;
public CIDRIP(String ip, String mask) {
mIp = ip;
long netmask = g... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/CIDRIP.java | Java | gpl2 | 1,753 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.Manifest.permission;
import android.annotation.TargetApi;
import android.app.Notification;
import android.app.NotificationManager;
import andro... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java | Java | gpl2 | 30,355 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java | Java | gpl2 | 3,848 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.app.Application;
/*
import org.acra.ACRA;
import org.acra.ReportingInteractionMode;
import org.acra.annotation.ReportsCrashes;
*/
import de.bl... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/ICSOpenVPNApplication.java | Java | gpl2 | 1,092 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.os.Build;
import android.text.TextUtils;
import junit.framework.Assert;
import org.jetbrains.annotations.NotNull;
import java.math.BigIntege... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java | Java | gpl2 | 11,746 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;/*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will Google be held liable for any damages
* arising from the... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/PRNGFixes.java | Java | gpl2 | 12,548 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
public interface OpenVPNManagement {
enum pauseReason {
noNetwork,
userPause,
screenOff
}
int mBytecountInterval =2;
void ... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/OpenVPNManagement.java | Java | gpl2 | 477 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import java.net.InetSocketAddress;
import java.net.MalformedURLException;
import java.net.Proxy;
import java.net.ProxySelector;
import java.net.SocketAddress;... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/ProxyDetection.java | Java | gpl2 | 1,500 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.annotation.SuppressLint;
import android.util.Log;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.Fil... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java | Java | gpl2 | 7,107 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.util.Collections;
import java.util.HashMap;
import java.util.Loc... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java | Java | gpl2 | 21,386 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.content.Context;
import android.text.TextUtils;
import de.blinkt.openvpn.R;
import de.blinkt.openvpn.VpnProfile;
import org.spongycastle.util.... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/X509Utils.java | Java | gpl2 | 5,282 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/DeviceStateReceiver.java | Java | gpl2 | 8,614 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.LocalServerSocket;
import android.net.LocalSocket;
imp... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java | Java | gpl2 | 20,795 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import de.blinkt.openvpn.core.ProfileManager;
public cla... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/OnBootReceiver.java | Java | gpl2 | 1,162 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.app.Activity... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java | Java | gpl2 | 21,320 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.preference.EditTextPreference;
import android.preference.ListPrefe... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/Settings_Behaviour.java | Java | gpl2 | 2,439 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
impor... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/ShowConfigFragment.java | Java | gpl2 | 2,610 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.TreeMap;
imp... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/FileSelectionFragment.java | Java | gpl2 | 6,981 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.app.Fragment;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.support.v7.... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/FaqFragment.java | Java | gpl2 | 3,071 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import java.io.File;
import java.util.ArrayList;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import andr... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/SendDumpFragment.java | Java | gpl2 | 2,926 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import andr... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/Utils.java | Java | gpl2 | 7,905 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
im... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/InlineFileTab.java | Java | gpl2 | 1,876 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.content.Context;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.text.Html;
impor... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/FaqViewAdapter.java | Java | gpl2 | 2,571 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import java.io.File;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
import android.content.DialogInte... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/GeneralSettings.java | Java | gpl2 | 3,977 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.preference.CheckBoxPreferen... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/Settings_Authentication.java | Java | gpl2 | 7,365 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.preference.EditTextPreference;
import android.preference.Preferenc... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/Settings_Obscure.java | Java | gpl2 | 3,433 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.os.Bundle;
import android.preference.PreferenceFragment;
import de.blinkt.openvpn.R;
import de.blinkt.openvpn.VpnProfile;
impor... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/OpenVpnPreferencesFragment.java | Java | gpl2 | 1,558 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.preference.EditTextPreference;
import android.preference.Preference... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/Settings_IP.java | Java | gpl2 | 4,399 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.app.Fragment;
import android.app.PendingIntent;
import android.content.ComponentName;
import android.content.Intent;
import android.conten... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/AboutFragment.java | Java | gpl2 | 10,766 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ListFragment;
import android.content... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/VPNProfileList.java | Java | gpl2 | 10,212 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.preference.EditTextPreference;
import android.preference.Preference... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/Settings_Routing.java | Java | gpl2 | 3,401 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.fragments;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/fragments/Settings_Basic.java | Java | gpl2 | 12,268 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.api;
import android.os.Parcel;
import android.os.Parcelable;
public class APIVpnProfile implements Parcelable {
public final String mUUID;
public f... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/api/APIVpnProfile.java | Java | gpl2 | 1,247 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.api;
import android.os.RemoteException;
public class SecurityRemoteException extends RemoteException {
/**
*
*/
private static final long ser... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/api/SecurityRemoteException.java | Java | gpl2 | 346 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.api;
import android.annotation.TargetApi;
import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import androi... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java | Java | gpl2 | 12,204 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/api/ConfirmDialog.java | Java | gpl2 | 3,403 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.api;
import android.app.Activity;
import android.content.Intent;
import android.net.VpnService;
public class GrantPermissionsActivity extends Activity {
private s... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/api/GrantPermissionsActivity.java | Java | gpl2 | 761 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.api;
import java.util.HashSet;
import java.util.Set;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPrefere... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/api/ExternalAppDatabase.java | Java | gpl2 | 1,550 |
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.con... | zx08uestc-openvpn | main/src/main/java/de/blinkt/openvpn/VpnProfile.java | Java | gpl2 | 32,547 |
package org.spongycastle.util.encoders;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
public class Base64
{
private static final Encoder encoder = new Base64Encoder();
/**
* encode the input data producing a base 64 encoded byte array.
*
* @... | zx08uestc-openvpn | main/src/main/java/org/spongycastle/util/encoders/Base64.java | Java | gpl2 | 3,198 |
package org.spongycastle.util.encoders;
import java.io.IOException;
import java.io.OutputStream;
public class Base64Encoder
implements Encoder
{
protected final byte[] encodingTable =
{
(byte)'A', (byte)'B', (byte)'C', (byte)'D', (byte)'E', (byte)'F', (byte)'G',
(byte)'H', (byt... | zx08uestc-openvpn | main/src/main/java/org/spongycastle/util/encoders/Base64Encoder.java | Java | gpl2 | 7,982 |
package org.spongycastle.util.encoders;
import java.io.IOException;
import java.io.OutputStream;
/**
* Encode and decode byte arrays (typically from binary to 7-bit ASCII
* encodings).
*/
public interface Encoder
{
int encode(byte[] data, int off, int length, OutputStream out) throws IOException;
int... | zx08uestc-openvpn | main/src/main/java/org/spongycastle/util/encoders/Encoder.java | Java | gpl2 | 469 |
package org.spongycastle.util.io.pem;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@SuppressWarnings("all")
public class PemObject
implements PemObjectGenerator
{
private static final List EMPTY_LIST = Collections.unmodifiableList(new ArrayList());
private String type;
... | zx08uestc-openvpn | main/src/main/java/org/spongycastle/util/io/pem/PemObject.java | Java | gpl2 | 1,365 |
package org.spongycastle.util.io.pem;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.List;
import org.spongycastle.util.encoders.Base64;
public class PemReader
extends BufferedReader
{
private static final String BEGIN = "-----BE... | zx08uestc-openvpn | main/src/main/java/org/spongycastle/util/io/pem/PemReader.java | Java | gpl2 | 1,966 |
package org.spongycastle.util.io.pem;
public class PemHeader
{
private String name;
private String value;
public PemHeader(String name, String value)
{
this.name = name;
this.value = value;
}
public String getName()
{
return name;
}
public String getValue(... | zx08uestc-openvpn | main/src/main/java/org/spongycastle/util/io/pem/PemHeader.java | Java | gpl2 | 1,142 |
package org.spongycastle.util.io.pem;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.Iterator;
import org.spongycastle.util.encoders.Base64;
/**
* A generic PEM writer, based on RFC 1421
*/
@SuppressWarnings("all")
public class PemWriter
extends BufferedWrite... | zx08uestc-openvpn | main/src/main/java/org/spongycastle/util/io/pem/PemWriter.java | Java | gpl2 | 3,394 |
package org.spongycastle.util.io.pem;
import java.io.IOException;
@SuppressWarnings("serial")
public class PemGenerationException
extends IOException
{
private Throwable cause;
public PemGenerationException(String message, Throwable cause)
{
super(message);
this.cause = cause;
}
... | zx08uestc-openvpn | main/src/main/java/org/spongycastle/util/io/pem/PemGenerationException.java | Java | gpl2 | 475 |