CryptoPkg: add new X509 function to Crypto Service.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4082 Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Signed-off-by: Qi Zhang <qi1.zhang@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
@ -187,16 +187,30 @@ typedef struct {
|
||||
} Sha512;
|
||||
union {
|
||||
struct {
|
||||
UINT8 GetSubjectName : 1;
|
||||
UINT8 GetCommonName : 1;
|
||||
UINT8 GetOrganizationName : 1;
|
||||
UINT8 VerifyCert : 1;
|
||||
UINT8 ConstructCertificate : 1;
|
||||
UINT8 ConstructCertificateStack : 1;
|
||||
UINT8 ConstructCertificateStackV : 1;
|
||||
UINT8 Free : 1;
|
||||
UINT8 StackFree : 1;
|
||||
UINT8 GetTBSCert : 1;
|
||||
UINT8 GetSubjectName : 1;
|
||||
UINT8 GetCommonName : 1;
|
||||
UINT8 GetOrganizationName : 1;
|
||||
UINT8 VerifyCert : 1;
|
||||
UINT8 ConstructCertificate : 1;
|
||||
UINT8 ConstructCertificateStack : 1;
|
||||
UINT8 ConstructCertificateStackV : 1;
|
||||
UINT8 Free : 1;
|
||||
UINT8 StackFree : 1;
|
||||
UINT8 GetTBSCert : 1;
|
||||
UINT8 GetVersion : 1;
|
||||
UINT8 GetSerialNumber : 1;
|
||||
UINT8 GetIssuerName : 1;
|
||||
UINT8 GetSignatureAlgorithm : 1;
|
||||
UINT8 GetExtensionData : 1;
|
||||
UINT8 GetExtendedKeyUsage : 1;
|
||||
UINT8 GetValidity : 1;
|
||||
UINT8 FormatDateTime : 1;
|
||||
UINT8 CompareDateTime : 1;
|
||||
UINT8 GetKeyUsage : 1;
|
||||
UINT8 VerifyCertChain : 1;
|
||||
UINT8 GetCertFromCertChain : 1;
|
||||
UINT8 Asn1GetTag : 1;
|
||||
UINT8 GetExtendedBasicConstraints : 1;
|
||||
} Services;
|
||||
UINT32 Family;
|
||||
} X509;
|
||||
|
Reference in New Issue
Block a user