com.android.sdklib.internal.build
Class KeystoreHelper
java.lang.Object
com.android.sdklib.internal.build.KeystoreHelper
Deprecated. Use Android-Builder instead
@Deprecated
public final class KeystoreHelper
- extends java.lang.Object
A Helper to create new keystore/key.
|
Method Summary |
static boolean |
createNewStore(java.lang.String osKeyStorePath,
java.lang.String storeType,
java.lang.String storePassword,
java.lang.String alias,
java.lang.String keyPassword,
java.lang.String description,
int validityYears,
DebugKeyProvider.IKeyGenOutput output)
Deprecated. Creates a new store |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeystoreHelper
public KeystoreHelper()
- Deprecated.
createNewStore
public static boolean createNewStore(java.lang.String osKeyStorePath,
java.lang.String storeType,
java.lang.String storePassword,
java.lang.String alias,
java.lang.String keyPassword,
java.lang.String description,
int validityYears,
DebugKeyProvider.IKeyGenOutput output)
throws java.security.KeyStoreException,
java.security.NoSuchAlgorithmException,
java.security.cert.CertificateException,
java.security.UnrecoverableEntryException,
java.io.IOException,
DebugKeyProvider.KeytoolException
- Deprecated.
- Creates a new store
- Parameters:
osKeyStorePath - the location of the storestoreType - an optional keystore type, or null if the default is to
be used.output - an optional DebugKeyProvider.IKeyGenOutput object to get the stdout and stderr
of the keytool process call.
- Throws:
java.security.KeyStoreException
java.security.NoSuchAlgorithmException
java.security.cert.CertificateException
java.security.UnrecoverableEntryException
java.io.IOException
DebugKeyProvider.KeytoolException