SignCallback typedef

SignCallback = void Function(ByteBuffer?)

If no error occurred, this function must be called with the signature of the digest using the private key of the requested certificate. For an RSA key, the signature must be a PKCS#1 signature. The extension is responsible for prepending the DigestInfo prefix and adding PKCS#1 padding. If an error occurred, this callback should be called without signature.

Implementation

typedef SignCallback = void Function(ByteBuffer?);