Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
android/ | 03-May-2024 | - | 2,482 | 1,832 | ||
android-stub/ | 03-May-2024 | - | 1,063 | 594 | ||
apex/ | 03-May-2024 | - | 862 | 730 | ||
api/ | 03-May-2024 | - | 330 | 267 | ||
api-doclet/ | 03-May-2024 | - | 161 | 104 | ||
benchmark-android/ | 03-May-2024 | - | 788 | 540 | ||
benchmark-base/ | 03-May-2024 | - | 1,331 | 846 | ||
benchmark-graphs/ | 03-May-2024 | - | 259 | 204 | ||
benchmark-jmh/ | 03-May-2024 | - | 1,210 | 815 | ||
common/src/ | 03-May-2024 | - | 83,980 | 64,148 | ||
constants/ | 03-May-2024 | - | 203 | 153 | ||
gradle/ | 03-May-2024 | - | 79 | 68 | ||
libcore-stub/ | 03-May-2024 | - | 256 | 123 | ||
licenses/ | 03-May-2024 | - | 404 | 338 | ||
openjdk/ | 03-May-2024 | - | 10,749 | 8,412 | ||
openjdk-uber/ | 03-May-2024 | - | 100 | 88 | ||
platform/ | 03-May-2024 | - | 3,871 | 2,805 | ||
publicapi/src/ | 03-May-2024 | - | 472 | 276 | ||
release/ | 03-May-2024 | - | 508 | 364 | ||
repackaged/ | 03-May-2024 | - | 81,605 | 57,704 | ||
srcgen/ | 03-May-2024 | - | 555 | 524 | ||
test-support/ | 03-May-2024 | - | 382 | 246 | ||
testing/ | 03-May-2024 | - | 8,354 | 6,003 | ||
.clang-format | D | 03-May-2024 | 268 | 17 | 15 | |
.gitignore | D | 03-May-2024 | 231 | 31 | 23 | |
.lgtm.yml | D | 03-May-2024 | 866 | 22 | 19 | |
.travis.yml | D | 03-May-2024 | 4.6 KiB | 118 | 88 | |
Android.bp | D | 03-May-2024 | 18.8 KiB | 701 | 624 | |
BUILDING.md | D | 03-May-2024 | 3.7 KiB | 131 | 102 | |
CAPABILITIES.md | D | 03-May-2024 | 5.8 KiB | 236 | 191 | |
CONTRIBUTING.md | D | 03-May-2024 | 2.3 KiB | 61 | 40 | |
CPPLINT.cfg | D | 03-May-2024 | 83 | 5 | 4 | |
IMPLEMENTATION_NOTES.md | D | 03-May-2024 | 2.6 KiB | 52 | 40 | |
LICENSE | D | 03-May-2024 | 11.1 KiB | 203 | 169 | |
METADATA | D | 03-May-2024 | 39 | 4 | 3 | |
MODULE_LICENSE_APACHE2 | D | 03-May-2024 | 0 | |||
NOTICE | D | 03-May-2024 | 1.1 KiB | 31 | 23 | |
OWNERS | D | 03-May-2024 | 136 | 8 | 7 | |
PREUPLOAD.cfg | D | 03-May-2024 | 226 | 9 | 6 | |
README.android | D | 03-May-2024 | 283 | 13 | 11 | |
README.md | D | 03-May-2024 | 3.7 KiB | 142 | 112 | |
build.gradle | D | 03-May-2024 | 9 KiB | 248 | 215 | |
gradle.properties | D | 03-May-2024 | 25 | 2 | 1 | |
gradlew | D | 03-May-2024 | 5.6 KiB | 186 | 125 | |
gradlew.bat | D | 03-May-2024 | 3 KiB | 105 | 78 | |
lint-baseline.xml | D | 03-May-2024 | 637 | 16 | 13 | |
settings.gradle | D | 03-May-2024 | 1.5 KiB | 29 | 27 | |
test_logging.properties | D | 03-May-2024 | 421 | 14 | 10 |
README.android
1Conscrypt in Android is made up of the contents of the Conscrypt 2GitHub repo (https://github.com/google/conscrypt) plus some 3Android-specific additions. Specifically, the following are 4Android-only: 5 6Android.bp 7OWNERS 8README.android 9apex/... 10publicapi/... 11repackaged/... 12srcgen/... 13
README.md
1Conscrypt - A Java Security Provider 2======================================== 3 4Conscrypt is a Java Security Provider (JSP) that implements parts of the Java 5Cryptography Extension (JCE) and Java Secure Socket Extension (JSSE). It uses 6BoringSSL to provide cryptographic primitives and Transport Layer Security (TLS) 7for Java applications on Android and OpenJDK. See [the capabilities 8documentation](CAPABILITIES.md) for detailed information on what is provided. 9 10The core SSL engine has borrowed liberally from the [Netty](http://netty.io/) project and their 11work on [netty-tcnative](http://netty.io/wiki/forked-tomcat-native.html), giving `Conscrypt` 12similar performance. 13 14<table> 15 <tr> 16 <td><b>Homepage:</b></td> 17 <td> 18 <a href="https://conscrypt.org/">conscrypt.org</a> 19 </td> 20 </tr> 21 <tr> 22 <td><b>Mailing List:</b></td> 23 <td> 24 <a href="https://groups.google.com/forum/#!forum/conscrypt">conscrypt@googlegroups.com</a> 25 </td> 26 </tr> 27</table> 28 29Download 30------------- 31Conscrypt supports **Java 7** or later on OpenJDK and **Gingerbread (API Level 329)** or later on Android. The build artifacts are available on Maven Central. 33 34### Download JARs 35You can download 36[the JARs](http://search.maven.org/#search%7Cga%7C1%7Cg:%22org.conscrypt%22) 37directly from the Maven repositories. 38 39### OpenJDK (i.e. non-Android) 40 41#### Native Classifiers 42 43The OpenJDK artifacts are platform-dependent since each embeds a native library for a particular 44platform. We publish artifacts to Maven Central for the following platforms: 45 46Classifier | OS | Architecture 47-----------| ------- | ---------------- | 48linux-x86_64 | Linux | x86_64 (64-bit) 49osx-x86_64 | Mac | x86_64 (64-bit) 50windows-x86 | Windows | x86 (32-bit) 51windows-x86_64 | Windows | x86_64 (64-bit) 52 53#### Maven 54 55Use the [os-maven-plugin](https://github.com/trustin/os-maven-plugin) to add the dependency: 56 57```xml 58<build> 59 <extensions> 60 <extension> 61 <groupId>kr.motd.maven</groupId> 62 <artifactId>os-maven-plugin</artifactId> 63 <version>1.4.1.Final</version> 64 </extension> 65 </extensions> 66</build> 67 68<dependency> 69 <groupId>org.conscrypt</groupId> 70 <artifactId>conscrypt-openjdk</artifactId> 71 <version>2.5.2</version> 72 <classifier>${os.detected.classifier}</classifier> 73</dependency> 74``` 75 76#### Gradle 77Use the [osdetector-gradle-plugin](https://github.com/google/osdetector-gradle-plugin) 78(which is a wrapper around the os-maven-plugin) to add the dependency: 79 80```gradle 81buildscript { 82 repositories { 83 mavenCentral() 84 } 85 dependencies { 86 classpath 'com.google.gradle:osdetector-gradle-plugin:1.4.0' 87 } 88} 89 90// Use the osdetector-gradle-plugin 91apply plugin: "com.google.osdetector" 92 93dependencies { 94 compile 'org.conscrypt:conscrypt-openjdk:2.5.2:' + osdetector.classifier 95} 96``` 97 98#### Uber JAR 99 100For convenience, we also publish an Uber JAR to Maven Central that contains the shared 101libraries for all of the published platforms. While the overall size of the JAR is 102larger than depending on a platform-specific artifact, it greatly simplifies the task of 103dependency management for most platforms. 104 105To depend on the uber jar, simply use the `conscrypt-openjdk-uber` artifacts. 106 107##### Maven 108```xml 109<dependency> 110 <groupId>org.conscrypt</groupId> 111 <artifactId>conscrypt-openjdk-uber</artifactId> 112 <version>2.5.2</version> 113</dependency> 114``` 115 116##### Gradle 117```gradle 118dependencies { 119 compile 'org.conscrypt:conscrypt-openjdk-uber:2.5.2' 120} 121``` 122 123### Android 124 125The Android AAR file contains native libraries for x86, x86_64, armeabi-v7a, and 126arm64-v8a. 127 128#### Gradle 129 130```gradle 131dependencies { 132 implementation 'org.conscrypt:conscrypt-android:2.5.2' 133} 134``` 135 136 137How to Build 138------------ 139 140If you are making changes to Conscrypt, see the [building 141instructions](BUILDING.md). 142