TrustStoreStorage

public protocol TrustStoreStorage

TrustStore storage protocol

  • Retrieve a previously saved TrustStore CertList

    Declaration

    Swift

    var certList: AnyPublisher<CertList?, Never> { get }
  • Set and save the TrustStore CertList

    Declaration

    Swift

    func set(certList: CertList?)

    Parameters

    certList

    CertList of certificates to save. Pass in nil to unset.

  • Retrieve a previously saved OCSPList

    Declaration

    Swift

    var ocspList: AnyPublisher<OCSPList?, Never> { get }
  • Set and save the TrustStore OCSPList

    Declaration

    Swift

    func set(ocspList: OCSPList?)

    Parameters

    ocspList

    OCSPList to save. Pass in nil to unset.