SecureEGKCertificateStorage

public protocol SecureEGKCertificateStorage

Interface to access an eGK Certificate that should be kept private [REQ:gemSpec_IDP_Frontend:A_21595] Storage Protocol

  • Retrieve the prior stored certificate

    Declaration

    Swift

    var certificate: AnyPublisher<X509?, Never> { get }
  • Set the stored certificate for this session or delete it, if nil is passed.

    Declaration

    Swift

    func set(certificate: X509?)

    Parameters

    certificate

    The certificate to store or nilif an existing certificate should be removed

  • Retrieve the prior stored key identifier for biometric pairing use case

    Declaration

    Swift

    var keyIdentifier: AnyPublisher<Data?, Never> { get }
  • Set the stored certificate for this session or delete it, if nil is passed.

    Declaration

    Swift

    func set(keyIdentifier: Data?)

    Parameters

    certificate

    The certificate to store or nilif an existing certificate should be removed