dumps

fun dumps(privateOnly: Boolean = false): ByteArray

Serialize as d‖X‖Y (96 bytes), or just d (32 bytes) when privateOnly is set.

The 32-byte form is what zgpriv.dat holds; the 96-byte form is what a .prd slot holds.