Skip to content

digipost/signature-api-client-java

Repository files navigation

Posten Signering – Java client Library

Maven Central javadoc License

This repo is the Java client library for integrating with Posten signering.

If you are looking for the C# variant of this library, please see signature-api-client-dotnet.

Documentation

Get started by reading the documentation.

Dependency

The recommended way to declare dependency on the library is to utilize the BOM. With Maven, this is declared like this:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>no.digipost.signature</groupId>
            <artifactId>signature-api-client-bom</artifactId>
            <version>7.0.1</version> <!-- replace with any later version -->
            <type>pom</type>
            <scope>import</scope>
        </dependency>
...

And depend directly on the library artifact (without any specified version, since this is supplied by the BOM artifact above)

<dependencies>
    <dependency>
        <groupId>no.digipost.signature</groupId>
        <artifactId>signature-api-client-java</artifactId>
    </dependency>
...