DigitallySignedMessage

public protocol DigitallySignedMessage

A type which can be used to denote content that was digitally signed

  • Data to be verified

    Declaration

    Swift

    var payload: Data { get }
  • Signature that was used to sign data

    Declaration

    Swift

    var signature: Data { get }
  • Algorithm with which to verify signature

    Declaration

    Swift

    var algorithm: DigitalSignatureAlgorithm { get }