signAsDER

open fun signAsDER(digest: Array<Byte>): Array<Byte>

Signs a digest using ECDSA. The result is encoded with DER.

Return

Signature as a Non-null block of data

Parameters

pk

Non-null pointer to a Private key

digest

Non-null digest block of data