EUDCCVerifier

public struct EUDCCVerifier

An EUDCC Verifier

Initializer

VerificationResult

Failure

  • The EUDCCVerifier Failure

    See more

    Declaration

    Swift

    enum Failure : Error

Verify EUDCC

Verify against TrustCertificates

  • Verify EUDCC against a given sequence of EUDCC TrustCertificates

    Declaration

    Swift

    func verify<Certificates: Sequence>(
        eudcc: EUDCC,
        against trustCertificates: Certificates
    ) -> VerificationResult where Certificates.Element == EUDCC.TrustCertificate

    Parameters

    eudcc

    The EUDCC

    trustCertificates

    The sequence of EUDCC TrustCertificate

    Return Value

    A VerificationResult

Verify EUDCC VerificationCandidate

  • Verify EUDCC VerificationCandidate

    Declaration

    Swift

    func verify(
        candidate: EUDCC.VerificationCandidate
    ) -> Bool

    Parameters

    candidate

    The EUDCC VerificationCandidate that should be verified

    Return Value

    Bool value if VerificationCandidate verified successfully