VirtualBox

Changeset 53900 in vbox for trunk/include/iprt/crypto


Ignore:
Timestamp:
Jan 21, 2015 2:03:50 PM (10 years ago)
Author:
vboxsync
Message:

IPRT: Implemented X.509 OtherName.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/crypto/x509.h

    r52600 r53900  
    197197
    198198
     199/**
     200 * One X.509 OtherName (IPRT representation).
     201 */
     202typedef struct RTCRX509OTHERNAME
     203{
     204    /** The sequence core. */
     205    RTASN1SEQUENCECORE                  SeqCore;
     206    /** The name type identifier. */
     207    RTASN1OBJID                         TypeId;
     208    /** The name value (explicit tag 0). */
     209    RTASN1DYNTYPE                       Value;
     210} RTCRX509OTHERNAME;
     211/** Pointer to a X.509 OtherName (IPRT representation). */
     212typedef RTCRX509OTHERNAME *PRTCRX509OTHERNAME;
     213/** Pointer to a const X.509 OtherName (IPRT representation). */
     214typedef RTCRX509OTHERNAME const *PCRTCRX509OTHERNAME;
     215RTASN1TYPE_STANDARD_PROTOTYPES(RTCRX509OTHERNAME, RTDECL, RTCrX509OtherName, SeqCore.Asn1Core);
     216
    199217
    200218typedef enum RTCRX509GENERALNAMECHOICE
     
    231249    union
    232250    {
    233         /** Tag 0: Other.  */
    234         struct
    235         {
    236             /** Context tag 0. */
    237             RTASN1CONTEXTTAG0           CtxTag0;
    238             /** User defined. */
    239             RTASN1DYNTYPE               Other;
    240         } *pT0;
     251        /** Tag 0: Other Name.  */
     252        PRTCRX509OTHERNAME              pT0_OtherName;
    241253        /** Tag 1: RFC-822 Name.  */
    242254        PRTASN1STRING                   pT1_Rfc822;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette