Skip to content

SharkPKI Integration

Thomas Schwotzer edited this page Jan 9, 2022 · 11 revisions

[Working on it. Just a sketch, a collection of links and class names. We bring order in this mess asap.]

SharkPKI is a component. It is used as contact management in SN2 - implies: We have got a public key for any contact. We know people only when we met them in person or received a certificate. Welcome to our small world.

package net.sharksytem.pki.android

Persons management

Contacts

  • PersonEditActivity - view and allows setting signing failure estimation

Owner / User

  • OwnerActivity - shows user information. Allows creating new certificates. Send credentials..
  • OwnerCredentialSendActivity - dialog that allows users to send - leads to sendOnlineCredentialMessage().

Certificates

Credential exchange

A certificate is created once a peer receives a public key and a user (a human being) certifies its (if it is a machine) or her/his identity.

  • CredentialExchangeActivity presents a description and give choice to receive or send credentials

send credential

  • OwnerCredentialSendActivity - is created as a result of user interaction by OwnerActivity. Provides dialog that finally leads to a call to sendOnlineCredentialMessage()

receive credential

  • PersonAddReceivedCredentialsActivity - called with a received credential. Starts dialog, asks user whether to accept this credential and issue a certificate or not.

Exchange

Clone this wiki locally