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.
-
Retrieve the previously saved PKICertificates
Declaration
Swift
func getPKICertificates() -> PKICertificates?
-
Set and save the TrustStore PKICertificates
Declaration
Swift
func set(pkiCertificates: PKICertificates?)
Parameters
pkiCertificates
PKICertificates 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
vauCertificate
Data 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
vauCertificateOcspResponse
Data of the OCSP response to save. Pass in nil