how to get private key of address?
The validateaddress command will give you some information about a CredaCash destination. If the destination belongs to your wallet, then valudateaddress will give you the "hdmasterkeyid", which is the hash of the master secret used to create the destination. The information needed to spend billets sent to that destination is contained in your wallet's CCWallet.ccw file and could be extracted using the sqlite3 tool. What would you do with that information once you had it?