- java.lang.Object
-
- com.zerodeplibs.webpush.MessageEncryptions
-
public class MessageEncryptions extends Object
Static factory methods used to create instances of
MessageEncryption.Thread Safety:Instances of
MessageEncryptionobtained through a factory method of this class are NOT thread-safe. But instances ofEncryptedPushMessageobtained through them are thread-safe.- Author:
- Tomoki Sato
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageEncryptionof()Creates a newMessageEncryptionthat uses the "aes128gcm" content encoding.
-
-
-
Method Detail
-
of
public static MessageEncryption of()
Creates a newMessageEncryptionthat uses the "aes128gcm" content encoding.- Returns:
- a new
MessageEncryption.
-
-