func (ks *Keystore) PrivateKey() (crypto.PrivateKey, bool) {
	ks.rw.RLock()
	defer ks.rw.RUnlock()
	return ks.Key, ks.Key != nil
}
func (ks *Keystore) PrivateKey() (crypto.PrivateKey, bool) {
	ks.rw.RLock()
	defer ks.rw.RUnlock()
	return ks.Key, ks.Key != nil
}
func ( ks * Keystore ) PrivateKey ( ) ( crypto . PrivateKey , bool ) { ks . rw . RLock ( ) defer ks . rw . RUnlock ( ) return ks . Key , ks . Key != nil }
// PrivateKey returns the stored private key for the keystore.
PrivateKey returns the stored private key for the keystore .