TianoCore EDK2 master
|
#include "InternalCryptLib.h"
#include "mbedtls/oid.h"
#include "mbedtls/asn1.h"
#include "mbedtls/asn1write.h"
#include "mbedtls/x509.h"
#include "mbedtls/x509_crt.h"
Go to the source code of this file.
Data Structures | |
struct | MbedtlsPkcs7SignerInfo |
struct | MbedtlsPkcs7Data |
struct | MbedtlsPkcs7SignedData |
struct | MbedtlsPkcs7 |
Macros | |
#define | MBEDTLS_OID_PKCS7 MBEDTLS_OID_PKCS "\x07" |
#define | MBEDTLS_OID_PKCS7_DATA MBEDTLS_OID_PKCS7 "\x01" |
#define | MBEDTLS_OID_PKCS7_SIGNED_DATA MBEDTLS_OID_PKCS7 "\x02" |
#define | MBEDTLS_OID_PKCS7_ENVELOPED_DATA MBEDTLS_OID_PKCS7 "\x03" |
#define | MBEDTLS_OID_PKCS7_SIGNED_AND_ENVELOPED_DATA MBEDTLS_OID_PKCS7 "\x04" |
#define | MBEDTLS_OID_PKCS7_DIGESTED_DATA MBEDTLS_OID_PKCS7 "\x05" |
#define | MBEDTLS_OID_PKCS7_ENCRYPTED_DATA MBEDTLS_OID_PKCS7 "\x06" |
#define | EDKII_ASN1_CHK_ADD(g, f) |
Typedefs | |
typedef struct MbedtlsPkcs7SignerInfo | MbedtlsPkcs7SignerInfo |
typedef struct MbedtlsPkcs7Data | MbedtlsPkcs7Data |
typedef struct MbedtlsPkcs7SignedData | MbedtlsPkcs7SignedData |
typedef struct MbedtlsPkcs7 | MbedtlsPkcs7 |
PKCS#7 SignedData Sign Wrapper and PKCS#7 SignedData Verification Wrapper Implementation over mbedtls, Internal headers.
RFC 2315 - PKCS #7: Cryptographic Message Syntax Version 1.5
Copyright (c) 2023-2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CryptPkcs7Internal.h.
#define EDKII_ASN1_CHK_ADD | ( | g, | |
f | |||
) |
Definition at line 79 of file CryptPkcs7Internal.h.
#define MBEDTLS_OID_PKCS7 MBEDTLS_OID_PKCS "\x07" |
PKCS7 OID
Definition at line 26 of file CryptPkcs7Internal.h.
#define MBEDTLS_OID_PKCS7_DATA MBEDTLS_OID_PKCS7 "\x01" |
Definition at line 27 of file CryptPkcs7Internal.h.
#define MBEDTLS_OID_PKCS7_DIGESTED_DATA MBEDTLS_OID_PKCS7 "\x05" |
Definition at line 31 of file CryptPkcs7Internal.h.
#define MBEDTLS_OID_PKCS7_ENCRYPTED_DATA MBEDTLS_OID_PKCS7 "\x06" |
Definition at line 32 of file CryptPkcs7Internal.h.
#define MBEDTLS_OID_PKCS7_ENVELOPED_DATA MBEDTLS_OID_PKCS7 "\x03" |
Definition at line 29 of file CryptPkcs7Internal.h.
#define MBEDTLS_OID_PKCS7_SIGNED_AND_ENVELOPED_DATA MBEDTLS_OID_PKCS7 "\x04" |
Definition at line 30 of file CryptPkcs7Internal.h.
#define MBEDTLS_OID_PKCS7_SIGNED_DATA MBEDTLS_OID_PKCS7 "\x02" |
Definition at line 28 of file CryptPkcs7Internal.h.
typedef struct MbedtlsPkcs7 MbedtlsPkcs7 |
PKCS7 struct, only support SignedData
typedef struct MbedtlsPkcs7Data MbedtlsPkcs7Data |
PKCS7 signed data attached data format
typedef struct MbedtlsPkcs7SignedData MbedtlsPkcs7SignedData |
Signed Data https://tools.ietf.org/html/rfc2315#section-9.1
typedef struct MbedtlsPkcs7SignerInfo MbedtlsPkcs7SignerInfo |
PKCS7 SignerInfo type https://tools.ietf.org/html/rfc2315#section-9.2