/* This code checks if the FileSuffix is one of the possible DER/PEM-encoded certificate suffix. */
BOOLEAN IsDerPemEncodeCertificate(IN CONST CHAR16 *FileSuffix)
/* This code checks if the FileSuffix is one of the possible DER/PEM-encoded certificate suffix. */
BOOLEAN IsDerPemEncodeCertificate(IN CONST CHAR16 *FileSuffix)
{
  UINTN  Index;
  for (Index = 0; mDerPemEncodedSuffix[Index] != NULL; Index++) {
    if (StrCmp (FileSuffix, mDerPemEncodedSuffix[Index]) == 0) {
      return TRUE;
    }
  }
  return FALSE;
}