public abstract class BaseKeyStoreFactory extends java.lang.Object implements KeyStoreFactory
Modifier and Type | Class and Description |
---|---|
static class |
BaseKeyStoreFactory.Type |
Constructor and Description |
---|
BaseKeyStoreFactory()
creates a new KeyStoreFactory for the default certificate type
ACRAConstants.DEFAULT_CERTIFICATE_TYPE |
BaseKeyStoreFactory(java.lang.String certificateType)
creates a new KeyStoreFactory with the specified certificate type
|
Modifier and Type | Method and Description |
---|---|
java.security.KeyStore |
create(android.content.Context context) |
protected abstract java.io.InputStream |
getInputStream(android.content.Context context) |
protected java.lang.String |
getKeyStoreType() |
protected char[] |
getPassword() |
protected BaseKeyStoreFactory.Type |
getStreamType() |
public BaseKeyStoreFactory()
ACRAConstants.DEFAULT_CERTIFICATE_TYPE
public BaseKeyStoreFactory(java.lang.String certificateType)
certificateType
- the certificate typeprotected abstract java.io.InputStream getInputStream(@NonNull android.content.Context context)
protected java.lang.String getKeyStoreType()
protected BaseKeyStoreFactory.Type getStreamType()
protected char[] getPassword()
@Nullable public final java.security.KeyStore create(@NonNull android.content.Context context)
create
in interface KeyStoreFactory