Package no.digipost.api.client.security
Interface Signer
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Signer
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
sign(String dataToSign)
static Signer
using(PrivateKey privateKey)
static Signer
usingKeyFromPKCS12KeyStore(InputStream keystoreStream, String keyStoreAndKeyPassword)
-
-
-
Method Detail
-
usingKeyFromPKCS12KeyStore
static Signer usingKeyFromPKCS12KeyStore(InputStream keystoreStream, String keyStoreAndKeyPassword)
-
using
static Signer using(PrivateKey privateKey)
-
sign
byte[] sign(String dataToSign)
-
-