public class KeyStoreDescriptorImpl extends Object implements KeyStoreDescriptor
KeyStoreDescriptorImpl
implements the
TrustStoreDescriptor
interface.KeyStoreDescriptor.KeyStoreDescriptorBuilder
TrustStoreDescriptor.TrustStoreDescriptorBuilder
Constructor and Description |
---|
KeyStoreDescriptorImpl(File aStoreFile)
Constructs a
KeyStoreDescriptor with the data required to access
a KeyStore . |
KeyStoreDescriptorImpl(File aStoreFile,
StoreType aStoreType)
Constructs a
KeyStoreDescriptor with the data required to access
a KeyStore . |
KeyStoreDescriptorImpl(File aStoreFile,
StoreType aStoreType,
String aStorePassword)
Constructs a
KeyStoreDescriptor with the data required to access
a KeyStore . |
KeyStoreDescriptorImpl(File aStoreFile,
StoreType aStoreType,
String aStorePassword,
String aKeyPassword)
Constructs a
KeyStoreDescriptor with the data required to access
a KeyStore . |
KeyStoreDescriptorImpl(File aStoreFile,
String aStorePassword)
Constructs a
KeyStoreDescriptor with the data required to access
a KeyStore . |
KeyStoreDescriptorImpl(File aStoreFile,
String aStorePassword,
String aKeyPassword)
Constructs a
KeyStoreDescriptor with the data required to access
a KeyStore . |
Modifier and Type | Method and Description |
---|---|
String |
getKeyPassword()
Retrieves the key's password.
|
File |
getStoreFile()
|
String |
getStorePassword()
Retrieves the keysotre's password.
|
StoreType |
getStoreType()
|
public KeyStoreDescriptorImpl(File aStoreFile)
KeyStoreDescriptor
with the data required to access
a KeyStore
.
The StoreType
defaults to StoreType.JKS
.public KeyStoreDescriptorImpl(File aStoreFile, StoreType aStoreType)
KeyStoreDescriptor
with the data required to access
a KeyStore
.public KeyStoreDescriptorImpl(File aStoreFile, StoreType aStoreType, String aStorePassword)
KeyStoreDescriptor
with the data required to access
a KeyStore
.public KeyStoreDescriptorImpl(File aStoreFile, String aStorePassword)
KeyStoreDescriptor
with the data required to access
a KeyStore
.public KeyStoreDescriptorImpl(File aStoreFile, String aStorePassword, String aKeyPassword)
KeyStoreDescriptor
with the data required to access
a KeyStore
.public File getStoreFile()
getStoreFile
in interface TrustStoreDescriptor
KeyStore
File
.public StoreType getStoreType()
getStoreType
in interface TrustStoreDescriptor
KeyStore
's StoreType
.public String getStorePassword()
getStorePassword
in interface TrustStoreDescriptor
KeyStore
password.public String getKeyPassword()
getKeyPassword
in interface KeyStoreDescriptor
Copyright © 2018. All rights reserved.