Class VAPIDEncryptor
java.lang.Object
org.deltava.mail.VAPIDEncryptor
- Since:
- 10.0
- Version:
- 10.0
- Author:
- Luke
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
encrypt
(String msg, PushEndpoint ep) (package private) static ECPrivateKey
fromPCKS8Key
(String base64) (package private) static ECPublicKey
fromX509Key
(String base64) (package private) static byte[]
toUncompressedECPublicKey
(ECPublicKey pubKey)
-
Method Details
-
encrypt
- Throws:
GeneralSecurityException
-
fromPCKS8Key
- Throws:
GeneralSecurityException
-
fromX509Key
- Throws:
GeneralSecurityException
-
toUncompressedECPublicKey
-