botan v1.12.5 (2016-04-07T22:31:19Z)
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.