Class SingleCertManager

  • All Implemented Interfaces:
    ExtraCertManager

    public class SingleCertManager
    extends Object
    implements ExtraCertManager
    ExtraCertManager implementation that only allows a single accepted certificate at once. Any time a certificate is added (be it temporarily or permanently), any previous certificates will be forgotten. At any given time, the asKeyStore() method should return a KeyStore with 0 or 1 certificates registered.