This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from JeremyTubongbanua/changes-5
- Loading branch information
Showing
27 changed files
with
157 additions
and
215 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
--- | ||
layout: list | ||
layout: codelab-list | ||
|
||
title: "Java Reference" # The title (ON THE PAGE) | ||
lead: | # The lead below the title (ON THE PAGE) | ||
Build a Java application using the atPlatform. | ||
title: Java # Title of the codelab | ||
lead: Learn how the Java SDK works | ||
description: Learn how to use the atPlatform Java SDK | ||
|
||
description: | # SEO Description of the page (Shows in google and atsign.dev search) | ||
Add end-to-end encryption and data privacy to your Java applications and IoT devices running Java | ||
draft: false # Change this to "true" to hide the page | ||
toc: true # Change this to "false" to hide the table of contents | ||
autolinks: true # Change this to "false" to hide the automatic links below your content | ||
weight: 2 # For list pages, higher is first. | ||
doneLink: /sdk/java/ # Where to send them if they press "Done" at the end of the Codelab | ||
exitLink: /sdk/ # Where to send them to if they press "Exit Codelab" | ||
weight: 2 | ||
order: 1 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
layout: codelab | ||
|
||
title: Installation # Title of the codelab | ||
lead: Getting your development environment ready | ||
description: Learn about the core Atsign platform Flutter SDK services | ||
|
||
doneLink: /sdk/java/ # Where to send them if they press "Done" at the end of the Codelab | ||
exitLink: /sdk/java/ # Where to send them to if they press "Exit Codelab" | ||
order: 2 | ||
--- | ||
|
||
## Requirements | ||
|
||
There are two requirements for developing with `at_java` on your machine. | ||
|
||
1. [Java 8](https://www.java.com/en/download/) or higher | ||
2. [Maven](https://maven.apache.org/download.cgi) | ||
3. A code editor, see [getting started with Java](/start/java/) | ||
|
||
|
||
## Compile JAR | ||
|
||
If you'd like to use at_java as a dependency, you can compile `at_java` into a JAR by following the instructions below: | ||
1. `cd at_client` to be in the at_client directory. | ||
2. `mvn install` | ||
3. JAR file created in `target/` named similarly to `client-1.0-SNAPSHOT.jar` | ||
4. If you run into dependency issues, you may need to add the dependencies used by the `at_java`. Look in `at_client/pom.xml` and copy everything within the `<dependencies></dependencies>` tags and paste that in your `pom.xml` that you have in your Java project. | ||
|
||
## Maven Dependency | ||
|
||
Under construction | ||
|
||
## Cloning the Client | ||
|
||
If you'd like to make contributions or edit the client yourself, make a form of the repository by heading to the [repository](https://github.com/atsign-foundation/at_java) and clicking "[Fork](https://github.com/atsign-foundation/at_java/fork)" to fork the repository on your own GitHub account. | ||
|
||
Once forked, you can make changes to your own fork version of the repository. | ||
|
||
Get it on your local machine by doing the following (`.` is the directory you want to clone the repository in; in this case, we are cloning it in our current directory so be sure to `cd` into the directory you want the repository in): | ||
|
||
```git | ||
git clone https://github.com/<YOUR_GITHUB_USERNAME>/at_java.git . | ||
``` | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
layout: codelab | ||
|
||
title: Introduction # Title of the codelab | ||
lead: Learn some background information before diving into Java specifics. | ||
description: Learn about the core Atsign platform Java SDK services | ||
|
||
doneLink: /sdk/java/ # Where to send them if they press "Done" at the end of the Codelab | ||
exitLink: /sdk/java/ # Where to send them to if they press "Exit Codelab" | ||
order: 1 | ||
--- | ||
|
||
## atProtocol | ||
|
||
### Overview | ||
The atProtocol is the underlying network protocol used by the atPlatform. The atPlatform provides people, entities, and things with unique identifiers called atSigns. | ||
|
||
Each atSign creates its own public and private cryptographic key pair. The private keys are kept private and public keys made available globally through the atProtocol. | ||
|
||
The atProtocol provides verbs for interacting with fully qualified atSigns and the data in their secondary servers. | ||
|
||
#### Root Secondary | ||
When asking a Root Server for the lookup of a particular atSign the Root Server should respond with a null if the name does not exist and if the name exists the DNS name or address of the @server and the IP port number for that @sign should be returned. The Root Server is the only centralized feature controlled by Atsign. | ||
|
||
#### Secondary Servers | ||
Secondary servers are servers that belong to an atSign and hold data. All of the data in the secondary server is encrypted unless the owner specifically wants to make some data publicly available. | ||
|
||
## What is at_java? | ||
|
||
at_java is Atsign’s implementation of the atProtocol. Just like Atsign’s dart libraries, at_java allows you to interact with Atsign’s services like registering atSigns, onboarding, communicating with the root & secondary servers, and more. | ||
|
||
### Where can at_java be used? | ||
|
||
As long as the device running at_java has | ||
1. Internet | ||
2. Java 8 or higher | ||
|
||
Then at_java can be used to add simplicity and security to your Java applications and/or IoT devices running Java. | ||
|
||
at_java is perfect for those who want to interact with low-level atProtocol for whatever the use case is. Whether it be IoT devices sending end-to-end-encrypted data, sharing medical data between patients, or storing data in your Java apps that you can feel safe about owning; the possibilities are endless with the power of the atProtocol. | ||
|
||
As of writing this (July 20, 2022), at_java only has remote secondary implementation meaning that the device running this service must be connected to the internet. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.