Pular para o conteúdo principal

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:

Client libraries

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

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.

observação

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:

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