Uses of Enum Class
com.iizix.push.vapid.Encoding
Packages that use Encoding
Uses of Encoding in com.iizix.push.vapid
Methods in com.iizix.push.vapid that return EncodingModifier and TypeMethodDescriptionstatic Encoding
Returns the enum constant of this class with the specified name.static Encoding[]
Encoding.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.iizix.push.vapid with parameters of type EncodingModifier and TypeMethodDescriptionbyte[]
Decrypt the payload.byte[]
HttpEce.decryptRecord
(byte[] ciphertext, byte[] key, byte[] nonce, Encoding version) byte[][]
HttpEce.deriveKeyAndNonce
(byte[] salt, byte[] key, String keyId, org.bouncycastle.jce.interfaces.ECPublicKey dh, byte[] authSecret, Encoding version, int mode) static Encrypted
AbstractPushService.encrypt
(byte[] payload, org.bouncycastle.jce.interfaces.ECPublicKey userPublicKey, byte[] userAuth, Encoding encoding) Encrypt the payload.byte[]
HttpEce.encrypt
(byte[] plaintext, byte[] salt, byte[] privateKey, String keyid, org.bouncycastle.jce.interfaces.ECPublicKey dh, byte[] authSecret, Encoding version) Encrypt the given plaintext.org.asynchttpclient.BoundRequestBuilder
PushAsyncService.preparePost
(Notification notification, Encoding encoding) Prepare a POST request for AHC.org.apache.http.client.methods.HttpPost
PushService.preparePost
(Notification notification, Encoding encoding) Prepare a HttpPost for Apache async http clientprotected final HttpRequest
AbstractPushService.prepareRequest
(Notification notification, Encoding encoding) CompletableFuture<org.asynchttpclient.Response>
PushAsyncService.send
(Notification notification, Encoding encoding) Send a notification asynchronously.org.apache.http.HttpResponse
PushService.send
(Notification notification, Encoding encoding) Send a notification and wait for the response.Future<org.apache.http.HttpResponse>
PushService.sendAsync
(Notification notification, Encoding encoding) Deprecated.
PushAsyncService.send(Notification, Encoding)
instead.