Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AES128GCM - Enum constant in enum class de.svenkubiak.webpush4j.enums.Encoding
- AESGCM - Enum constant in enum class de.svenkubiak.webpush4j.enums.Encoding
- ALGORITHM - Static variable in class de.svenkubiak.webpush4j.utils.Utils
B
- build() - Method in class de.svenkubiak.webpush4j.Encrypted.Builder
- Builder() - Constructor for class de.svenkubiak.webpush4j.Encrypted.Builder
- buildInfo(String, byte[]) - Static method in class de.svenkubiak.webpush4j.HttpEce
-
Future versions might require a null-terminated info string?
C
- combinedLength(byte[]...) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Compute combined array length
- concat(byte[]...) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Utility to concat byte arrays
- create() - Static method in class de.svenkubiak.webpush4j.Notification
- crerate() - Static method in class de.svenkubiak.webpush4j.WebPush
- CURVE - Static variable in class de.svenkubiak.webpush4j.utils.Utils
D
- de.svenkubiak.webpush4j - package de.svenkubiak.webpush4j
- de.svenkubiak.webpush4j.enums - package de.svenkubiak.webpush4j.enums
- de.svenkubiak.webpush4j.utils - package de.svenkubiak.webpush4j.utils
- decrypt(byte[], byte[], byte[], String, Encoding) - Method in class de.svenkubiak.webpush4j.HttpEce
-
Decrypt the payload.
- decryptRecord(byte[], byte[], byte[], Encoding) - Method in class de.svenkubiak.webpush4j.HttpEce
- deriveKeyAndNonce(byte[], byte[], String, ECPublicKey, byte[], Encoding, int) - Method in class de.svenkubiak.webpush4j.HttpEce
E
- encode(ECPrivateKey) - Static method in class de.svenkubiak.webpush4j.utils.Utils
- encode(ECPublicKey) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Get the uncompressed encoding of the public key point.
- Encoding - Enum Class in de.svenkubiak.webpush4j.enums
- encrypt(byte[], byte[], byte[], String, ECPublicKey, byte[], Encoding) - Method in class de.svenkubiak.webpush4j.HttpEce
-
Encrypt the given plaintext.
- encrypt(byte[], ECPublicKey, byte[], Encoding) - Static method in class de.svenkubiak.webpush4j.WebPush
-
Encrypt the payload.
- Encrypted - Class in de.svenkubiak.webpush4j
- Encrypted(PublicKey, byte[], byte[]) - Constructor for class de.svenkubiak.webpush4j.Encrypted
- Encrypted.Builder - Class in de.svenkubiak.webpush4j
- extractSecretAndContext(byte[], String, ECPublicKey, byte[]) - Method in class de.svenkubiak.webpush4j.HttpEce
F
- from(String) - Static method in class de.svenkubiak.webpush4j.Subscriber
G
- getAuth() - Method in class de.svenkubiak.webpush4j.Subscriber
- getBody() - Method in class de.svenkubiak.webpush4j.HttpRequest
- getCiphertext() - Method in class de.svenkubiak.webpush4j.Encrypted
- getEndpoint() - Method in class de.svenkubiak.webpush4j.Notification
- getEndpoint() - Method in class de.svenkubiak.webpush4j.Subscriber
- getGcmApiKey() - Method in class de.svenkubiak.webpush4j.WebPush
- getHeaders() - Method in class de.svenkubiak.webpush4j.HttpRequest
- getHeaderValue() - Method in enum class de.svenkubiak.webpush4j.enums.Urgency
- getKeyPair() - Method in class de.svenkubiak.webpush4j.WebPush
- getOrigin() - Method in class de.svenkubiak.webpush4j.Notification
- getP256dh() - Method in class de.svenkubiak.webpush4j.Subscriber
- getPayload() - Method in class de.svenkubiak.webpush4j.Notification
- getPrivateKey() - Method in class de.svenkubiak.webpush4j.WebPush
- getPublicKey() - Method in class de.svenkubiak.webpush4j.Encrypted
- getPublicKey() - Method in class de.svenkubiak.webpush4j.WebPush
- getSalt() - Method in class de.svenkubiak.webpush4j.Encrypted
- getSubject() - Method in class de.svenkubiak.webpush4j.WebPush
- getTopic() - Method in class de.svenkubiak.webpush4j.Notification
- getTTL() - Method in class de.svenkubiak.webpush4j.Notification
- getUrgency() - Method in class de.svenkubiak.webpush4j.Notification
- getUrl() - Method in class de.svenkubiak.webpush4j.HttpRequest
- getUserAuth() - Method in class de.svenkubiak.webpush4j.Notification
- getUserPublicKey() - Method in class de.svenkubiak.webpush4j.Notification
H
- hasPayload() - Method in class de.svenkubiak.webpush4j.Notification
- hasTopic() - Method in class de.svenkubiak.webpush4j.Notification
- hasUrgency() - Method in class de.svenkubiak.webpush4j.Notification
- HIGH - Enum constant in enum class de.svenkubiak.webpush4j.enums.Urgency
- hkdfExpand(byte[], byte[], byte[], int) - Static method in class de.svenkubiak.webpush4j.HttpEce
-
Convenience method for computing the HMAC Key Derivation Function.
- HttpEce - Class in de.svenkubiak.webpush4j
-
An implementation of Encrypted Content-Encoding for HTTP.
- HttpEce() - Constructor for class de.svenkubiak.webpush4j.HttpEce
- HttpEce(Map<String, KeyPair>, Map<String, String>) - Constructor for class de.svenkubiak.webpush4j.HttpEce
- HttpRequest - Class in de.svenkubiak.webpush4j
- HttpRequest(String, Map<String, String>, byte[]) - Constructor for class de.svenkubiak.webpush4j.HttpRequest
I
- isFcm() - Method in class de.svenkubiak.webpush4j.Notification
- isGcm() - Method in class de.svenkubiak.webpush4j.Notification
-
Detect if the notification is for a GCM-based subscription
K
- KEY_LENGTH - Static variable in class de.svenkubiak.webpush4j.HttpEce
L
- loadPrivateKey(byte[]) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Load the private key from a byte array
- loadPrivateKey(String) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Load the private key from a URL-safe base64 encoded string
- loadPublicKey(byte[]) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Load the public key from a byte array.
- loadPublicKey(String) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Load the public key from a URL-safe base64 encoded string.
- loadPublicKey(ECPrivateKey) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Load a public key from the private key.
- LOW - Enum constant in enum class de.svenkubiak.webpush4j.enums.Urgency
N
- NORMAL - Enum constant in enum class de.svenkubiak.webpush4j.enums.Urgency
- Notification - Class in de.svenkubiak.webpush4j
- Notification(String, ECPublicKey, byte[], byte[], int, Urgency, String) - Constructor for class de.svenkubiak.webpush4j.Notification
P
- parseHeader(byte[]) - Method in class de.svenkubiak.webpush4j.HttpEce
- prepareRequest(Notification, Encoding) - Method in class de.svenkubiak.webpush4j.WebPush
S
- send(Notification) - Method in class de.svenkubiak.webpush4j.WebPush
- setGcmApiKey(String) - Method in class de.svenkubiak.webpush4j.WebPush
-
Set the Google Cloud Messaging (GCM) API key
- setKeyPair(KeyPair) - Method in class de.svenkubiak.webpush4j.WebPush
-
Set the public and private key (for VAPID).
- setPrivateKey(String) - Method in class de.svenkubiak.webpush4j.WebPush
-
Set the public key using a base64url-encoded string.
- setPrivateKey(PrivateKey) - Method in class de.svenkubiak.webpush4j.WebPush
-
Set the private key (for VAPID)
- setPublicKey(String) - Method in class de.svenkubiak.webpush4j.WebPush
-
Set the public key using a base64url-encoded string.
- setPublicKey(PublicKey) - Method in class de.svenkubiak.webpush4j.WebPush
-
Set the public key (for VAPID)
- setSubject(String) - Method in class de.svenkubiak.webpush4j.WebPush
-
Set the JWT subject (for VAPID)
- SHA_256_LENGTH - Static variable in class de.svenkubiak.webpush4j.HttpEce
- Subscriber - Class in de.svenkubiak.webpush4j
- Subscriber(String, String, String) - Constructor for class de.svenkubiak.webpush4j.Subscriber
T
- TAG_SIZE - Static variable in class de.svenkubiak.webpush4j.HttpEce
- to(Subscriber) - Method in class de.svenkubiak.webpush4j.Notification
- toByteArray(int, int) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Create a byte array of the given length from the given integer.
- TWO_BYTE_MAX - Static variable in class de.svenkubiak.webpush4j.HttpEce
U
- Urgency - Enum Class in de.svenkubiak.webpush4j.enums
-
Web Push Message Urgency header field values
- Utils - Class in de.svenkubiak.webpush4j.utils
- Utils() - Constructor for class de.svenkubiak.webpush4j.utils.Utils
V
- valueOf(String) - Static method in enum class de.svenkubiak.webpush4j.enums.Encoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.svenkubiak.webpush4j.enums.Urgency
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.svenkubiak.webpush4j.enums.Encoding
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.svenkubiak.webpush4j.enums.Urgency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vapidEnabled() - Method in class de.svenkubiak.webpush4j.WebPush
-
Check if VAPID is enabled
- verifyKeyPair(PrivateKey, PublicKey) - Static method in class de.svenkubiak.webpush4j.utils.Utils
-
Verify that the private key belongs to the public key.
- VERY_LOW - Enum constant in enum class de.svenkubiak.webpush4j.enums.Urgency
W
- WEB_PUSH_INFO - Static variable in class de.svenkubiak.webpush4j.HttpEce
- WebPush - Class in de.svenkubiak.webpush4j
- WebPush() - Constructor for class de.svenkubiak.webpush4j.WebPush
- webpushSecret(String, ECPublicKey, byte[], int) - Method in class de.svenkubiak.webpush4j.HttpEce
-
Combine Shared and Authentication Secrets See https://tools.ietf.org/html/draft-ietf-webpush-encryption-09#section-3.3.
- withCiphertext(byte[]) - Method in class de.svenkubiak.webpush4j.Encrypted.Builder
- withGcmApiKey(String) - Method in class de.svenkubiak.webpush4j.WebPush
- withKeyPair(KeyPair) - Method in class de.svenkubiak.webpush4j.WebPush
- withPayload(String) - Method in class de.svenkubiak.webpush4j.Notification
- withPrivateKey(String) - Method in class de.svenkubiak.webpush4j.WebPush
- withPublicKey(String) - Method in class de.svenkubiak.webpush4j.WebPush
- withPublicKey(PublicKey) - Method in class de.svenkubiak.webpush4j.Encrypted.Builder
- withSalt(byte[]) - Method in class de.svenkubiak.webpush4j.Encrypted.Builder
- withSubject(String) - Method in class de.svenkubiak.webpush4j.WebPush
All Classes and Interfaces|All Packages|Constant Field Values