Package org.soulwing.s2ks.spi
Interface KeyPairStorageProvider
-
public interface KeyPairStorageProviderA service provider ofKeyPairStorage.- Author:
- Carl Harris
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyPairStoragegetInstance(java.util.Properties configuration)Gets a key pair storage instance from this provider.java.lang.StringgetName()Gets the name of this provider.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name of this provider.- Returns:
- provider name
-
getInstance
KeyPairStorage getInstance(java.util.Properties configuration) throws java.lang.Exception
Gets a key pair storage instance from this provider.- Parameters:
configuration- configuration properties- Returns:
- key storage instance
- Throws:
java.lang.Exception- to indicate that an instance could not be initialized
-
-