sign

fun sign(hash: ByteArray, signingPin: String): CeiSigner

Set the document hash and signing PIN for this session.

Parameters

hash

48-byte SHA-384 hash of the document content to be signed.

signingPin

The card holder's 6-digit signing PIN.

Throws

if hash is not exactly 48 bytes.