Show / Hide Table of Contents
Edit on GitHub

Using Rest PKI on Java

Rest PKI can be used on Java applications using a wide range of frameworks and platforms. To get started, choose one of the available samples projects:

  • Spring MVC (Java 7+)
  • Spring MVC (Java 6)

Client libraries

The usage of Rest PKI on Java applications should be done using one of the following packages:

  • For Java 7+: com.lacunasoftware.restpki:restpki-client
  • For Java 6: com.lacunasoftware.restpki:restpki-client-java6

Referencing the package (Java 7+)

If your project uses Maven, add this to your pom.xml:

<dependencies>
    ...
    <dependency>
        <groupId>com.lacunasoftware.restpki</groupId>
        <artifactId>restpki-client</artifactId>
        <version>1.15.6</version>
    </dependency>
    ...
</dependencies>

If your project uses Gradle, add this to your build.gradle:

repositories {
    mavenCentral()
} 

dependencies {
    compile("com.lacunasoftware.restpki:restpki-client:1.15.6")
}

Referencing the package (Java 6)

If your project uses Maven, add this to your pom.xml:

<dependencies>
    ...
    <dependency>
        <groupId>com.lacunasoftware.restpki</groupId>
        <artifactId>restpki-client-java6</artifactId>
        <version>1.9.0</version>
    </dependency>
    ...
</dependencies>

If your project uses Gradle, add this to your build.gradle:

repositories {
    mavenCentral()
} 

dependencies {
    compile("com.lacunasoftware.restpki:restpki-client-java6:1.9.0")
}

API Reference

See the package javadoc.

Note

The javadoc is actually for the Java 7+ version of the library, but the APIs of both packages are almost identical.

Source code

The packages are open-source, hosted on:

  • Java 7+ version: BitBucket
  • Java 6 version: GitHub

Feel free to fork the packages if you need to make any customizations.

Back to top Copyright © 2015-2020 Lacuna Software