Class AbstractGeneratorHostKeyProvider

All Implemented Interfaces:
AlgorithmNameProvider, KeyIdentityProvider, KeyPairProvider, KeySizeIndicator
Direct Known Subclasses:
BouncyCastleGeneratorHostKeyProvider, SimpleGeneratorHostKeyProvider

public abstract class AbstractGeneratorHostKeyProvider extends AbstractKeyPairProvider implements AlgorithmNameProvider, KeySizeIndicator
Holds a single KeyPair which is generated the 1st time loadKeys(SessionContext) is called. If there is a file backing it up and the file exists, the key is loaded from it. Otherwise a new key pair is generated and saved (provided a path is configured and isOverwriteAllowed()