TrustCertificate

struct TrustCertificate : Codable, Hashable

An EUDCC TrustCertificate

Properties

  • The KeyID

    Declaration

    Swift

    public let keyID: KeyID
  • The contents of the certificate

    Declaration

    Swift

    public let contents: String

Initializer

  • Creates a new instance of EUDCC.TrustCertificate

    Declaration

    Swift

    public init(
        keyID: KeyID,
        contents: String
    )

    Parameters

    keyID

    The KeyID

    contents

    The contents of the certificate

KeyID

  • The EUDCC TrustCertificate KeyID

    See more

    Declaration

    Swift

    struct KeyID : Codable, Hashable

PublicKey

  • The PublicKey from SignerCertificate contents if available

    Declaration

    Swift

    var publicKey: Security.SecKey? { get }