JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
B
D
E
G
H
I
L
N
P
S
U
V
W
B
base64Decode(String)
- Static method in class nl.martijndwars.webpush.
Utils
Base64-decode a string.
build()
- Method in class nl.martijndwars.webpush.
Encrypted.Builder
Builder()
- Constructor for class nl.martijndwars.webpush.
Encrypted.Builder
buildInfo(String, byte[])
- Static method in class nl.martijndwars.webpush.
HttpEce
Future versions might require a null-terminated info string?
D
deriveKey(byte[], byte[], String, PublicKey, byte[], int)
- Method in class nl.martijndwars.webpush.
HttpEce
E
encrypt(byte[], byte[], byte[], String, PublicKey, byte[], int)
- Method in class nl.martijndwars.webpush.
HttpEce
encrypt(byte[], PublicKey, byte[], int)
- Static method in class nl.martijndwars.webpush.
PushService
Encrypt the payload using the user's public key using Elliptic Curve Diffie Hellman cryptography over the prime256v1 curve.
Encrypted
- Class in
nl.martijndwars.webpush
Encrypted(PublicKey, byte[], byte[])
- Constructor for class nl.martijndwars.webpush.
Encrypted
Encrypted.Builder
- Class in
nl.martijndwars.webpush
G
getCiphertext()
- Method in class nl.martijndwars.webpush.
Encrypted
getEndpoint()
- Method in class nl.martijndwars.webpush.
Notification
getOrigin()
- Method in class nl.martijndwars.webpush.
Notification
getPadSize()
- Method in class nl.martijndwars.webpush.
Notification
getPayload()
- Method in class nl.martijndwars.webpush.
Notification
getPublicKey()
- Method in class nl.martijndwars.webpush.
Encrypted
getSalt()
- Method in class nl.martijndwars.webpush.
Encrypted
getTTL()
- Method in class nl.martijndwars.webpush.
Notification
getUserAuth()
- Method in class nl.martijndwars.webpush.
Notification
getUserPublicKey()
- Method in class nl.martijndwars.webpush.
Notification
H
hasPayload()
- Method in class nl.martijndwars.webpush.
Notification
hkdfExpand(byte[], byte[], byte[], int)
- Static method in class nl.martijndwars.webpush.
HttpEce
Convenience method for computing the HMAC Key Derivation Function.
HttpEce
- Class in
nl.martijndwars.webpush
An implementation of HTTP ECE (Encrypted Content Encoding) as described in https://tools.ietf.org/html/draft-ietf-httpbis-encryption-encoding-01
HttpEce(Map<String, KeyPair>, Map<String, String>)
- Constructor for class nl.martijndwars.webpush.
HttpEce
I
isGcm()
- Method in class nl.martijndwars.webpush.
Notification
Detect if the notification is for a GCM-based subscription
L
loadPrivateKey(String)
- Static method in class nl.martijndwars.webpush.
Utils
Load the private key from a URL-safe base64 encoded string
loadPublicKey(String)
- Static method in class nl.martijndwars.webpush.
Utils
Load the public key from a URL-safe base64 encoded string.
N
nl.martijndwars.webpush
- package nl.martijndwars.webpush
Notification
- Class in
nl.martijndwars.webpush
Notification(String, PublicKey, byte[], byte[], int)
- Constructor for class nl.martijndwars.webpush.
Notification
Notification(String, PublicKey, byte[], byte[])
- Constructor for class nl.martijndwars.webpush.
Notification
P
PushService
- Class in
nl.martijndwars.webpush
PushService()
- Constructor for class nl.martijndwars.webpush.
PushService
S
savePrivateKey(ECPrivateKey)
- Static method in class nl.martijndwars.webpush.
Utils
savePublicKey(ECPublicKey)
- Static method in class nl.martijndwars.webpush.
Utils
send(Notification)
- Method in class nl.martijndwars.webpush.
PushService
Send a notification
setGcmApiKey(String)
- Method in class nl.martijndwars.webpush.
PushService
Set the Google Cloud Messaging (GCM) API key
setPrivateKey(PrivateKey)
- Method in class nl.martijndwars.webpush.
PushService
Set the private key (for VAPID)
setPublicKey(PublicKey)
- Method in class nl.martijndwars.webpush.
PushService
Set the public key (for VAPID)
setSubject(String)
- Method in class nl.martijndwars.webpush.
PushService
Set the JWT subject (for VAPID)
U
Utils
- Class in
nl.martijndwars.webpush
Utils()
- Constructor for class nl.martijndwars.webpush.
Utils
V
vapidEnabled()
- Method in class nl.martijndwars.webpush.
PushService
Check if VAPID is enabled
W
withCiphertext(byte[])
- Method in class nl.martijndwars.webpush.
Encrypted.Builder
withPublicKey(PublicKey)
- Method in class nl.martijndwars.webpush.
Encrypted.Builder
withSalt(byte[])
- Method in class nl.martijndwars.webpush.
Encrypted.Builder
B
D
E
G
H
I
L
N
P
S
U
V
W
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes