Interface KeyPairSource

All Known Implementing Classes:
ClassPathKeySource, FileKeyPairSource, InputStreamKeyPairSource, UrlKeyPairSource

public interface KeyPairSource

Responsible for getting key pairs from a source. It parses the stream using the KeyPairSource.StreamVisitor. Have a look at the implementation to see what sources are supported or feel free to implement your own.

Implementations should only handle the underlying stream, leaving actual parsing to the supplied StreamVisitor instance.