Changeset 53900 in vbox for trunk/src/VBox/Runtime/common/crypto/x509-template.h
- Timestamp:
- Jan 21, 2015 2:03:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/x509-template.h
r52521 r53900 112 112 113 113 /* 114 * One X.509 OtherName. 115 * Note! This is simplified and might not work correctly for all types with 116 * non-DER compatible encodings. 117 */ 118 #define RTASN1TMPL_TYPE RTCRX509OTHERNAME 119 #define RTASN1TMPL_EXT_NAME RTCrX509OtherName 120 #define RTASN1TMPL_INT_NAME rtCrX509OtherName 121 RTASN1TMPL_BEGIN_SEQCORE(); 122 RTASN1TMPL_MEMBER( TypeId, RTASN1OBJID, RTAsn1ObjId); 123 RTASN1TMPL_MEMBER( Value, RTASN1DYNTYPE, RTAsn1DynType); 124 RTASN1TMPL_END_SEQCORE(); 125 #undef RTASN1TMPL_TYPE 126 #undef RTASN1TMPL_EXT_NAME 127 #undef RTASN1TMPL_INT_NAME 128 129 130 /* 114 131 * One X.509 GeneralName. 115 132 * Note! This is simplified and might not work correctly for all types with … … 120 137 #define RTASN1TMPL_INT_NAME rtCrX509GeneralName 121 138 RTASN1TMPL_BEGIN_PCHOICE(); 122 RTASN1TMPL_PCHOICE_ XTAG( 0, RTCRX509GENERALNAMECHOICE_OTHER_NAME, u.pT0, CtxTag0, Other, RTASN1DYNTYPE, RTAsn1DynType); /** @todo */139 RTASN1TMPL_PCHOICE_ITAG( 0, RTCRX509GENERALNAMECHOICE_OTHER_NAME, u.pT0_OtherName, OtherName, RTCRX509OTHERNAME, RTCrX509OtherName); 123 140 RTASN1TMPL_PCHOICE_ITAG_CP( 1, RTCRX509GENERALNAMECHOICE_RFC822_NAME, u.pT1_Rfc822, Rfc822, RTASN1STRING, RTAsn1Ia5String); 124 141 RTASN1TMPL_PCHOICE_ITAG_CP( 2, RTCRX509GENERALNAMECHOICE_DNS_NAME, u.pT2_DnsName, DnsType, RTASN1STRING, RTAsn1Ia5String);
Note:
See TracChangeset
for help on using the changeset viewer.