botan v1.12.12 (2020-01-26T16:00:04Z)
Dub
Repo
PKSigner.signMessage
botan
pubkey
pubkey
PKSigner
Sign a message.
Vector
!
ubyte
signMessage
(const(ubyte)* msg, size_t length, RandomNumberGenerator rng)
Vector
!
ubyte
signMessage
(Vector!(ubyte, ALLOC) input, RandomNumberGenerator rng)
struct
PKSigner
Vector
!ubyte
signMessage
(
ALLOC
)
(
auto
const
ref
Vector
!(
ubyte
,
ALLOC
)
input
,
RandomNumberGenerator
rng
)
Vector
!
ubyte
signMessage
(RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input, RandomNumberGenerator rng)
Parameters
input
Vector
!(
ubyte
,
ALLOC
)
the message to sign
rng
RandomNumberGenerator
the rng to use
Return Value
Type:
Vector
!ubyte
signature
Meta
Source
See Implementation
botan
pubkey
pubkey
PKSigner
constructors
this
functions
setOutputFormat
signMessage
signature
update
Sign a message.