/** @file\r
This library is used by other modules to send TPM2 command.\r
\r
-Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>\r
+Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved. <BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
OUT TPM2B_DIGEST *PolicyHash\r
);\r
\r
+/**\r
+ This command allows access to the public area of a loaded object.\r
+\r
+ @param[in] ObjectHandle TPM handle of an object\r
+ @param[out] OutPublic Structure containing the public area of an object\r
+ @param[out] Name Name of the object\r
+ @param[out] QualifiedName The Qualified Name of the object\r
+\r
+ @retval EFI_SUCCESS Operation completed successfully.\r
+ @retval EFI_DEVICE_ERROR Unexpected device behavior.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+Tpm2ReadPublic (\r
+ IN TPMI_DH_OBJECT ObjectHandle,\r
+ OUT TPM2B_PUBLIC *OutPublic,\r
+ OUT TPM2B_NAME *Name,\r
+ OUT TPM2B_NAME *QualifiedName\r
+ );\r
+\r
//\r
// Help function\r
//\r
/**\r
Copy TPML_DIGEST_VALUES into a buffer\r
\r
- @param[in,out] Buffer Buffer to hold TPML_DIGEST_VALUES.\r
+ @param[in,out] Buffer Buffer to hold copied TPML_DIGEST_VALUES compact binary.\r
@param[in] DigestList TPML_DIGEST_VALUES to be copied.\r
@param[in] HashAlgorithmMask HASH bits corresponding to the desired digests to copy.\r
\r