DecodeECSignature (open)
Decode a BER-encoded EC signature into its r and s components
Syntax
LOADLIB "wh::crypto.whlib";
RECORD FUNCTION DecodeECSignature(STRING signature)Parameters
STRING signatureThe signature to decode
Return value
RECORDThe decoded EC signature, or a default record if it could not be decoded
STRING rThe EC signature's base16-encoded r component
STRING sThe EC signature's base16-encoded s component