Skip navigation links
B C E G H I N P S W 

B

build() - Method in class nl.martijndwars.webpush.Encrypted.Builder
 
Builder() - Constructor for class nl.martijndwars.webpush.Encrypted.Builder
 

C

computeSecret(PrivateKey, PublicKey) - Static method in class nl.martijndwars.webpush.PushService
Compute the shared secret

E

encrypt(PublicKey, byte[]) - 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.
encrypt(SecretKey, byte[], byte[]) - Static method in class nl.martijndwars.webpush.PushService
Encrypt payload according to Encrypted Content-Encoding for HTTP.
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

GcmNotification - Class in nl.martijndwars.webpush
 
GcmNotification(String) - Constructor for class nl.martijndwars.webpush.GcmNotification
 
getBody() - Method in class nl.martijndwars.webpush.GcmNotification
Compute the body according to the downstream message syntax.
getCiphertext() - Method in class nl.martijndwars.webpush.Encrypted
 
getEndpoint() - Method in class nl.martijndwars.webpush.GcmNotification
 
getEndpoint() - Method in class nl.martijndwars.webpush.Notification
 
getPayload() - Method in class nl.martijndwars.webpush.Notification
 
getPublicKey() - Method in class nl.martijndwars.webpush.Encrypted
 
getRegistrationId() - Method in class nl.martijndwars.webpush.GcmNotification
Extract registration ID from a Google Cloud Messaging endpoint
getSalt() - Method in class nl.martijndwars.webpush.Encrypted
 
getTTL() - Method in class nl.martijndwars.webpush.Notification
 
getUserPublicKey() - Method in class nl.martijndwars.webpush.Notification
 

H

hkdfExpand(byte[], byte[], byte[], int) - Static method in class nl.martijndwars.webpush.PushService
Convenience method for computing the HMAC Key Derivation Function.

I

info(String) - Static method in class nl.martijndwars.webpush.PushService
Future versions might require a null-terminated info string?

N

nl.martijndwars.webpush - package nl.martijndwars.webpush
 
Notification - Class in nl.martijndwars.webpush
 
Notification(String, PublicKey, byte[], int) - Constructor for class nl.martijndwars.webpush.Notification
 
Notification(String, PublicKey, byte[]) - Constructor for class nl.martijndwars.webpush.Notification
 

P

PushService - Class in nl.martijndwars.webpush
 
PushService() - Constructor for class nl.martijndwars.webpush.PushService
 
PushService(String) - Constructor for class nl.martijndwars.webpush.PushService
 

S

send(Notification) - Method in class nl.martijndwars.webpush.PushService
Send a notification

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 C E G H I N P S W 
Skip navigation links