TrustStoreDescriptor
public class TrustStoreDescriptorImpl extends Object implements TrustStoreDescriptor
TrustStoreDescriptorImpl
implements the
TrustStoreDescriptor
interface.TrustStoreDescriptor.TrustStoreDescriptorBuilder
Constructor | Description |
---|---|
TrustStoreDescriptorImpl(File aStoreFile) |
Constructs a
KeyStoreDescriptor with the data required to access
a keystore. |
TrustStoreDescriptorImpl(File aStoreFile,
String aStorePassword) |
Constructs a
KeyStoreDescriptor with the data required to access
a keystore. |
TrustStoreDescriptorImpl(File aStoreFile,
StoreType aStoreType) |
Constructs a
KeyStoreDescriptor with the data required to access
a keystore. |
TrustStoreDescriptorImpl(File aStoreFile,
StoreType aStoreType,
String aStorePassword) |
Constructs a
KeyStoreDescriptor with the data required to access
a keystore. |
Modifier and Type | Method | Description |
---|---|---|
File |
getStoreFile() |
|
String |
getStorePassword() |
Retrieves the keysotre's password.
|
StoreType |
getStoreType() |
public TrustStoreDescriptorImpl(File aStoreFile)
KeyStoreDescriptor
with the data required to access
a keystore. The StoreType
defaults to StoreType.JKS
.aStoreFile
- The keystore File
.public TrustStoreDescriptorImpl(File aStoreFile, StoreType aStoreType)
KeyStoreDescriptor
with the data required to access
a keystore.public TrustStoreDescriptorImpl(File aStoreFile, String aStorePassword)
KeyStoreDescriptor
with the data required to access
a keystore.aStoreFile
- The keystore File
.aStorePassword
- The keystore password.public TrustStoreDescriptorImpl(File aStoreFile, StoreType aStoreType, String aStorePassword)
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.Copyright © 2021. All rights reserved.