vks-java/vks-java
2022-04-26 01:07:04 +02:00
..
src Add missing javadoc 2022-04-11 13:23:32 +02:00
build.gradle Move jsr version to version.gradle 2022-04-26 01:07:04 +02:00
README.md Add vks-java/README 2022-04-06 14:11:20 +02:00

VKS-Java

javadoc Maven Central

Client Side API for Communicating with Verifying Key Servers.

VKS vks = new VKSImpl("https://keys.openpgp.org/");

// Key Discovery via Email, key-id or fingerprint
InputStream bobsKey = vks.get().byEmail("bob@pgpainless.org");

// Upload Key to the VKS
InputStream myKey = ...
Upload.Response uploadResponse = vks.upload().cert(myKey);

// Request email verification of user-ids
RequestVerify.Response verifyResponse = vks.requestVerification()
        .forEmailAddress("bob@pgpainless.org")
        .execute(uploadResponse.getToken());