botan ~master (2020-08-19T17:56:38Z)
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.