PKVerifier.verifyMessage

Verify a signature.

  1. bool verifyMessage(const(ubyte)* msg, size_t msg_length, const(ubyte)* sig, size_t sig_length)
  2. bool verifyMessage(Vector!(ubyte, Alloc) msg, Vector!(ubyte, Alloc2) sig)
    struct PKVerifier
    public
    bool
    verifyMessage
    (
    Alloc
    Alloc2
    )
    (
    auto const ref Vector!(ubyte, Alloc) msg
    ,
    auto const ref Vector!(ubyte, Alloc2) sig
    )
  3. bool verifyMessage(RefCounted!(Vector!(ubyte, Alloc), Alloc) msg, RefCounted!(Vector!(ubyte, Alloc2), Alloc2) sig)

Parameters

msg Vector!(ubyte, Alloc)

the message that the signature belongs to

sig Vector!(ubyte, Alloc2)

the signature

Return Value

Type: bool

true if the signature is valid

Meta