Package no.digipost.api.client.security
Class Encrypter
java.lang.Object
no.digipost.api.client.security.Encrypter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionencrypt
(byte[] content) encrypt
(InputStream content) static Encrypter
using
(X509Certificate certificate) static Encrypter
using
(DigipostPublicKey key)
-
Field Details
-
FAIL_IF_TRYING_TO_ENCRYPT
Encrypter with no key, i.e. it will throw an appropriate exception if trying to encrypt anything with it.
-
-
Method Details
-
using
-
using
-
encrypt
-
encrypt
-