/* * * x509_useful.h * * Note, this file consists of machine-generated data structures. * Do not edit these contents. * * * Copyright (C) 1996, 1997, Visa International Service Association and MasterCard International Incorporated * All Rights Reserved. * * briank@terisa.com * */ #ifndef __x509_useful__h__ #define __x509_useful__h__ #include <define.h> #include <asn_types.h> #ifdef __cplusplus extern "C" { #endif #include "x509.h" typedef asn__any x509_useful__Name ; typedef asn__any x509_useful__SubjectPublicKeyInfo ; typedef struct x509_useful__SIGNED_ { asn__any toBeSigned ; asn__any algorithm ; asn__octet_string signature ; } x509_useful__SIGNED ; typedef struct x509_useful__UnsignedCertificate_ { # define x509_useful__UnsignedCertificate__issuerUniqueIdentifier 0 # define x509_useful__UnsignedCertificate__subjectUniqueIdentifier 1 # define x509_useful__UnsignedCertificate__extensions 2 UCHAR _present[1] ; x509__Version version ; x509__CertificateSerialNumber serialNumber ; x509__AlgorithmIdentifier signature ; x509_useful__Name issuer ; x509__Validity validity ; x509_useful__Name subject ; x509_useful__SubjectPublicKeyInfo subjectPublicKeyInfo ; x509__UniqueIdentifier issuerUniqueIdentifier ; x509__UniqueIdentifier subjectUniqueIdentifier ; x509__Extensions *extensions ; } x509_useful__UnsignedCertificate ; typedef struct x509_useful__Certificate_ { x509_useful__UnsignedCertificate toBeSigned ; x509__AlgorithmIdentifier algorithm ; struct { UINT4 length ; /* number of bits */ UCHAR *value ; } signature ; } x509_useful__Certificate ; typedef struct x509_useful__DirectoryString_ { # define x509_useful__DirectoryString__printable 0x9e # define x509_useful__DirectoryString__t61 0x9f # define x509_useful__DirectoryString__ia5 0xa0 # define x509_useful__DirectoryString__bmp 0xa1 UINT4 _choice ; union { asn__printable_string printable ; asn__ia5_string t61 ; asn__ia5_string ia5 ; asn__bmp_string bmp ; } u ; } x509_useful__DirectoryString ; typedef struct x509_useful__UnsignedCertificateRevocationList_ { # define x509_useful__UnsignedCertificateRevocationList__version 0 # define x509_useful__UnsignedCertificateRevocationList__nextUpdate 1 # define x509_useful__UnsignedCertificateRevocationList__revokedCertificates 2 # define x509_useful__UnsignedCertificateRevocationList__crlExtensions 3 UCHAR _present[1] ; x509__Version version ; x509__AlgorithmIdentifier signature ; x509_useful__Name issuer ; asn__utc_time thisUpdate ; asn__utc_time nextUpdate ; x509__CRLEntries *revokedCertificates ; x509__Extensions *crlExtensions ; } x509_useful__UnsignedCertificateRevocationList ; typedef struct x509_useful__CRL_ { x509_useful__UnsignedCertificateRevocationList toBeSigned ; x509__AlgorithmIdentifier algorithm ; struct { UINT4 length ; /* number of bits */ UCHAR *value ; } signature ; } x509_useful__CRL ; typedef x509_useful__CRL x509_useful__CertificateRevocationList ; # define X509_USEFUL__NAME 0 /* x509_useful__Name */ # define X509_USEFUL__SUBJECTPUBLICKEYINFO 1 /* x509_useful__SubjectPublicKeyInfo */ # define X509_USEFUL__SIGNED 2 /* x509_useful__SIGNED */ # define X509_USEFUL__CERTIFICATE 3 /* x509_useful__Certificate */ # define X509_USEFUL__UNSIGNEDCERTIFICATE 4 /* x509_useful__UnsignedCertificate */ # define X509_USEFUL__DIRECTORYSTRING 5 /* x509_useful__DirectoryString */ # define X509_USEFUL__CERTIFICATEREVOCATIONLIST 6 /* x509_useful__CertificateRevocationList */ # define X509_USEFUL__CRL 7 /* x509_useful__CRL */ # define X509_USEFUL__UNSIGNEDCERTIFICATEREVOCATIONLIST 8 /* x509_useful__UnsignedCertificateRevocationList */ PRIVATE a2c_module x509_useful ; #ifdef __cplusplus } #endif #endif
Copyright © 1996, 1997, Visa International Service Association and MasterCard International Incorporated
All Rights Reserved.