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
certListCertList 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
ocspListOCSPList to save. Pass in nil to unset.
-
Retrieve the previously saved PKICertificates
Declaration
Swift
func getPKICertificates() -> PKICertificates? -
Set and save the TrustStore PKICertificates
Declaration
Swift
func set(pkiCertificates: PKICertificates?)Parameters
pkiCertificatesPKICertificates to save. Pass in nil to unset.
-
Retrieve the previously saved VAU certificate
Declaration
Swift
func getVauCertificate() -> Data? -
Set and save the VAU certificate
Declaration
Swift
func set(vauCertificate: Data?)Parameters
vauCertificateData of the VAU certificate to save. Pass in nil
-
Retrieve the previously saved OCSP response for the VAU certificate
Declaration
Swift
func getVauCertificateOcspResponse() -> Data? -
Set and save the OCSP response for the VAU certificate
Declaration
Swift
func set(vauCertificateOcspResponse: Data?)Parameters
vauCertificateOcspResponseData of the OCSP response to save. Pass in nil
View on GitHub
TrustStoreStorage Protocol Reference