public final class Encrypter extends Object
Modifier and Type | Field and Description |
---|---|
static Encrypter |
FAIL_IF_TRYING_TO_ENCRYPT
Encrypter with no key, i.e.
|
static no.motif.f.Fn<DigipostPublicKey,Encrypter> |
keyToEncrypter |
Modifier and Type | Method and Description |
---|---|
InputStream |
encrypt(byte[] content) |
InputStream |
encrypt(InputStream content) |
static Encrypter |
using(DigipostPublicKey digipostPublicKey) |
public static final Encrypter FAIL_IF_TRYING_TO_ENCRYPT
public static final no.motif.f.Fn<DigipostPublicKey,Encrypter> keyToEncrypter
public static Encrypter using(DigipostPublicKey digipostPublicKey)
public InputStream encrypt(InputStream content)
public InputStream encrypt(byte[] content)
Copyright © 2016 Digipost. All rights reserved.