GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LucHayward/NIS

BranchesTags
Open more actions menu

Latest commit

 

History

104 Commits
104 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
src
src
 
 
.DS_Store
.DS_Store
 
 
.gitignore
.gitignore
 
 
NIS Marking Guide 2020.pdf
NIS Marking Guide 2020.pdf
 
 
NIS Prac 2020.pdf
NIS Prac 2020.pdf
 
 
NIS.iml
NIS.iml
 
 
README.md
README.md
 
 
filename
filename
 
 
pom.xml
pom.xml
 
 
testinput.txt
testinput.txt
 
 
testoutput.txt
testoutput.txt
 
 

Repository files navigation

NIS Assignment

Usage

  1. Initially, the keys and certificate for the certificate authority (CA) need to be generated by running the GenerateCertificateAuthorityCert main method.
  2. Run a server (listening client) by running the Main class with <port number> as an argument.
  3. Enter the username and password for the user running the server. (if the user does not exist, a new certificate and keypair will be generated and signed for them)
  4. Run a client which connects to that server by running the Main class with <server port number> <server ip> as arguments.
  5. Enter the username and password of the user running the client.
  6. On both instances, the user can now type a message and press enter to send

Libraries

JDK14 version of Bouncy Castle 1.51

Certificate Format

X509 v3 certificates

Using der encoding when saving certificates to files. See here for an explanation. The contents of a der encoded certificate can be viewed using:

openssl x509 -in uct.der -inform der -text -noout

Note that we never actually use the .der file because we store all certificates in .p12 files as well. The .der files are simply for debugging purposes, allowing easy inspection of the generated certificates.

Private key storage

Private keys are stored in PKCS12 (.p12) files.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.