Implement GetCapabilities and reading flags for tpm2