Package | Description |
---|---|
com.turo.pushy.apns.auth |
Contains classes for working with APNs keys.
|
com.turo.pushy.apns.server |
Contains classes and interfaces for working with mock APNs servers.
|
Modifier and Type | Method and Description |
---|---|
static ApnsVerificationKey |
ApnsVerificationKey.loadFromInputStream(InputStream inputStream,
String teamId,
String keyId)
Loads a verification key from the given input stream.
|
static ApnsVerificationKey |
ApnsVerificationKey.loadFromPkcs8File(File pkcs8File,
String teamId,
String keyId)
Loads a verification key from the given PKCS#8 file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuthenticationToken.verifySignature(ApnsVerificationKey verificationKey)
Verifies the cryptographic signature of this authentication token.
|
Constructor and Description |
---|
ValidatingPushNotificationHandlerFactory(Map<String,Set<String>> deviceTokensByTopic,
Map<String,Date> expirationTimestampsByDeviceToken,
Map<String,ApnsVerificationKey> verificationKeysByKeyId,
Map<ApnsVerificationKey,Set<String>> topicsByVerificationKey)
Constructs a new factory for push notification handlers that emulate the behavior of a real APNs server.
|
ValidatingPushNotificationHandlerFactory(Map<String,Set<String>> deviceTokensByTopic,
Map<String,Date> expirationTimestampsByDeviceToken,
Map<String,ApnsVerificationKey> verificationKeysByKeyId,
Map<ApnsVerificationKey,Set<String>> topicsByVerificationKey)
Constructs a new factory for push notification handlers that emulate the behavior of a real APNs server.
|
Copyright © 2013–2018 Turo. All rights reserved.