]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Application/Cryptest/Cryptest.h
CryptoPkg Updates to support RFC3161 timestamp signature verification.
[mirror_edk2.git] / CryptoPkg / Application / Cryptest / Cryptest.h
index b63128552ed5102353ec27fa58d5698469024eac..17b4224b65ba3a33b7b7f99fba8437d76d7d8675 100644 (file)
@@ -1,7 +1,7 @@
-/** @file  \r
+/** @file\r
   Application for Cryptographic Primitives Validation.\r
 \r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2014, 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
@@ -73,7 +73,31 @@ ValidateCryptRsa (
   );\r
 \r
 /**\r
-  Validate UEFI-OpenSSL PKCS#7 Verification Interfaces.\r
+  Validate UEFI-OpenSSL RSA Key Retrieving (from PEM & X509) & Signature Interfaces.\r
+\r
+  @retval  EFI_SUCCESS  Validation succeeded.\r
+  @retval  EFI_ABORTED  Validation failed.\r
+\r
+**/\r
+EFI_STATUS\r
+ValidateCryptRsa2 (\r
+  VOID\r
+  );\r
+\r
+/**\r
+  Validate UEFI-OpenSSL PKCS#7 Signing & Verification Interfaces.\r
+\r
+  @retval  EFI_SUCCESS  Validation succeeded.\r
+  @retval  EFI_ABORTED  Validation failed.\r
+\r
+**/\r
+EFI_STATUS\r
+ValidateCryptPkcs7 (\r
+  VOID\r
+  );\r
+\r
+/**\r
+  Validate UEFI-OpenSSL Authenticode Verification Interfaces.\r
 \r
   @retval  EFI_SUCCESS  Validation succeeded.\r
   @retval  EFI_ABORTED  Validation failed.\r
@@ -84,6 +108,18 @@ ValidateAuthenticode (
   VOID\r
   );\r
 \r
+/**\r
+  Validate UEFI-OpenSSL RFC3161 Timestamp CounterSignature Verification Interfaces.\r
+\r
+  @retval  EFI_SUCCESS  Validation succeeded.\r
+  @retval  EFI_ABORTED  Validation failed.\r
+\r
+**/\r
+EFI_STATUS\r
+ValidateTSCounterSignature (\r
+  VOID\r
+  );\r
+\r
 /**\r
   Validate UEFI-OpenSSL DH Interfaces.\r
 \r
@@ -108,4 +144,4 @@ ValidateCryptPrng (
   VOID\r
   );\r
 \r
-#endif\r
+#endif
\ No newline at end of file