Package org.refcodes.security
Interface TrustStoreDescriptor
-
- All Known Subinterfaces:
KeyStoreDescriptor
,KeyStoreDescriptor.KeyStoreDescriptorBuilder
,TrustStoreDescriptor.TrustStoreDescriptorBuilder
- All Known Implementing Classes:
KeyStoreDescriptorBuilderImpl
,KeyStoreDescriptorImpl
,TrustStoreDescriptorBuilderImpl
,TrustStoreDescriptorImpl
public interface TrustStoreDescriptor
Describes the data required to access a truststore. A truststore stores certificates from third party to identify third party and signed by certificate authorities such as "Verisign", "Thawte", or "GoDaddy". A client will use certificates stored in a truststore to verify the identity of a server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TrustStoreDescriptor.TrustStoreDescriptorBuilder
The mutableTrustStoreDescriptor.TrustStoreDescriptorBuilder
extends theTrustStoreDescriptor
with manipulator methods.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getStoreFile()
Retrieves theFile
pointing to theKeyStore
.java.lang.String
getStorePassword()
Retrieves the keysotre's password.StoreType
getStoreType()
Retrieves theStoreType
representing the type of theKeyStore
.
-
-
-
Method Detail
-
getStoreFile
java.io.File getStoreFile()
Retrieves theFile
pointing to theKeyStore
.- Returns:
- The
KeyStore
File
.
-
getStoreType
StoreType getStoreType()
Retrieves theStoreType
representing the type of theKeyStore
.- Returns:
- The
KeyStore
'sStoreType
.
-
getStorePassword
java.lang.String getStorePassword()
Retrieves the keysotre's password.- Returns:
- The
KeyStore
password.
-
-