|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.ide.common.signing.KeystoreHelper
public final class KeystoreHelper
A Helper to create and read keystore/keys.
| Constructor Summary | |
|---|---|
KeystoreHelper()
|
|
| Method Summary | |
|---|---|
static boolean |
createDebugStore(java.lang.String storeType,
java.io.File storeFile,
java.lang.String storePassword,
java.lang.String keyPassword,
java.lang.String keyAlias,
com.android.utils.ILogger logger)
Creates a new debug store with the location, keyalias, and passwords specified in the config. |
static java.lang.String |
defaultDebugKeystoreLocation()
Returns the location of the default debug keystore. |
static CertificateInfo |
getCertificateInfo(java.lang.String storeType,
java.io.File storeFile,
java.lang.String storePassword,
java.lang.String keyPassword,
java.lang.String keyAlias)
Returns the CertificateInfo for the given signing configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeystoreHelper()
| Method Detail |
|---|
@NonNull
public static java.lang.String defaultDebugKeystoreLocation()
throws com.android.prefs.AndroidLocation.AndroidLocationException
com.android.prefs.AndroidLocation.AndroidLocationException - if the location cannot be computed
public static boolean createDebugStore(@Nullable
java.lang.String storeType,
@NonNull
java.io.File storeFile,
@NonNull
java.lang.String storePassword,
@NonNull
java.lang.String keyPassword,
@NonNull
java.lang.String keyAlias,
@NonNull
com.android.utils.ILogger logger)
throws KeytoolException
signingConfig - The signing configlogger - a logger object to receive the log of the creation.
KeytoolException
public static CertificateInfo getCertificateInfo(@Nullable
java.lang.String storeType,
@NonNull
java.io.File storeFile,
@NonNull
java.lang.String storePassword,
@NonNull
java.lang.String keyPassword,
@NonNull
java.lang.String keyAlias)
throws KeytoolException,
java.io.FileNotFoundException
signingConfig - the signing configuration
KeytoolException
java.io.FileNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||