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.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
encrypt(byte[] content) |
InputStream |
encrypt(InputStream content) |
static Encrypter |
using(DigipostPublicKey key) |
static Encrypter |
using(X509Certificate certificate) |
public static final Encrypter FAIL_IF_TRYING_TO_ENCRYPT
public static Encrypter using(DigipostPublicKey key)
public static Encrypter using(X509Certificate certificate)
public InputStream encrypt(InputStream content)
public InputStream encrypt(byte[] content)
Copyright © 2019 Digipost. All rights reserved.