|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavapns.communication.KeystoreManager
public class KeystoreManager
Class responsible for dealing with keystores.
| Constructor Summary | |
|---|---|
KeystoreManager()
|
|
| Method Summary | |
|---|---|
static KeyStore |
loadKeystore(AppleServer server,
Object keystore,
boolean verifyKeystore)
Loads a keystore. |
static void |
validateKeystoreParameter(Object keystore)
Ensures that a keystore parameter is actually supported by the KeystoreManager. |
static void |
verifyKeystoreContent(AppleServer server,
Object keystore)
Perform basic tests on a keystore to detect common user mistakes. |
static void |
verifyKeystoreContent(KeyStore keystore)
Perform basic tests on a keystore to detect common user mistakes (experimental). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeystoreManager()
| Method Detail |
|---|
public static KeyStore loadKeystore(AppleServer server,
Object keystore,
boolean verifyKeystore)
throws KeystoreException
server - the server the keystore is intended forkeystore - a keystore containing your private key and the certificate signed by Apple (File, InputStream, byte[], KeyStore or String for a file path)verifyKeystore - whether or not to perform basic verifications on the keystore to detect common mistakes.
KeystoreException
public static void verifyKeystoreContent(AppleServer server,
Object keystore)
throws KeystoreException
server - the server the keystore is intended forkeystore - a keystore containing your private key and the certificate signed by Apple (File, InputStream, byte[], KeyStore or String for a file path)
KeystoreException
public static void verifyKeystoreContent(KeyStore keystore)
throws KeystoreException
keystore - a keystore to verify
KeystoreException - thrown if a problem was detected
public static void validateKeystoreParameter(Object keystore)
throws InvalidKeystoreReferenceException
keystore - a keystore containing your private key and the certificate signed by Apple (File, InputStream, byte[], KeyStore or String for a file path)
InvalidKeystoreReferenceException - thrown if the provided keystore parameter is not supported
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||