support cache for PrivateKey
test of add