public class KeystoreManager extends Object
| Constructor and Description |
|---|
KeystoreManager() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)KeystoreExceptionpublic 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 supportedCopyright © 2016. All rights reserved.