Validate public keys when constructing an HDKeychain.