Annotation of 43BSDReno/contrib/isode-beta/dsap/x500as/af-prn.py, revision 1.1.1.1

1.1       root        1: -- af-prn.py - manually-augmented AuthenticationFramework module
                      2: 
                      3: -- $Header: /f/osi/dsap/x500as/RCS/af-prn.py,v 7.0 89/11/23 21:50:04 mrose Rel $
                      4: --
                      5: --
                      6: -- $Log:       af-prn.py,v $
                      7: -- Revision 7.0  89/11/23  21:50:04  mrose
                      8: -- Release 6.0
                      9: -- 
                     10: 
                     11: --
                     12: --                               NOTICE
                     13: --
                     14: --    Acquisition, use, and distribution of this module and related
                     15: --    materials are subject to the restrictions of a license agreement.
                     16: --    Consult the Preface in the User's Manual for the full terms of
                     17: --    this agreement.
                     18: --
                     19: --
                     20: 
                     21: 
                     22: AF
                     23:        {
                     24:        joint-iso-ccitt
                     25:        ds(5)
                     26:        modules(1)
                     27:        authenticationFramework(7)
                     28:        }
                     29: 
                     30: DEFINITIONS ::=
                     31: 
                     32: PREFIXES encode decode print
                     33: 
                     34: BEGIN
                     35: 
                     36: -- EXPORTS
                     37: --     AlgorithmIdentifier ,
                     38: --     Certificate ,
                     39: --     Certificates ,
                     40: --     CertificationPath;
                     41: 
                     42: IMPORTS
                     43:        Name
                     44:                FROM IF
                     45:                        {
                     46:                        joint-iso-ccitt
                     47:                        ds(5)
                     48:                        modules(1)
                     49:                        informationFramework(1)
                     50:                        };
                     51: 
                     52: PRINTER print
                     53: 
                     54: Version
                     55:        ::=
                     56:        INTEGER
                     57:        {
                     58:        v1988(0)
                     59:        }
                     60: 
                     61: CertificateSerialNumber
                     62:        ::=
                     63:        INTEGER
                     64: 
                     65: Validity
                     66:        ::=
                     67:        SEQUENCE
                     68:        {
                     69:        notBefore
                     70:                UTCTime ,
                     71:        notAfter
                     72:                UTCTime
                     73:        }
                     74: 
                     75: AlgorithmIdentifier
                     76:        ::=
                     77:        SEQUENCE
                     78:        {
                     79:        algorithm
                     80:                OBJECT IDENTIFIER ,
                     81:        parameters
                     82:                ANY DEFINED BY
                     83:                        algorithm
                     84:                    OPTIONAL
                     85:        }
                     86: 
                     87: SubjectPublicKeyInfo
                     88:        ::=
                     89:        SEQUENCE
                     90:        {
                     91:        algorithm
                     92:                AlgorithmIdentifier ,
                     93:        subjectPublicKey
                     94:                BIT STRING
                     95:        }
                     96: 
                     97: CertificateToSign
                     98:        ::=
                     99:        SEQUENCE
                    100:        {
                    101:        version
                    102:                [0] Version
                    103:                    -- DEFAULT v1988 ,
                    104:                    OPTIONAL ,
                    105:        serialNumber
                    106:                CertificateSerialNumber ,
                    107:        signature
                    108:                AlgorithmIdentifier ,
                    109:        issuer
                    110:                Name ,
                    111:        validity
                    112:                Validity ,
                    113:        subject
                    114:                Name ,
                    115:        subjectPublicKeyInfo
                    116:                SubjectPublicKeyInfo
                    117:        }
                    118: 
                    119: Certificate
                    120:        ::=
                    121:        SEQUENCE
                    122:        {
                    123:                CertificateToSign ,
                    124:                AlgorithmIdentifier ,
                    125:                BIT STRING
                    126:        }
                    127: 
                    128: CrossCertificates
                    129:        ::=
                    130:        SET OF
                    131:                Certificate
                    132: 
                    133: ForwardCertificationPath
                    134:        ::=
                    135:        SEQUENCE OF
                    136:                CrossCertificates
                    137: 
                    138: Certificates
                    139:        ::=
                    140:        SEQUENCE
                    141:        {
                    142:        certificate
                    143:                Certificate ,
                    144:        certificationPath
                    145:                ForwardCertificationPath
                    146:                    OPTIONAL
                    147:        }
                    148: 
                    149: CertificatePair
                    150:        ::=
                    151:        SEQUENCE
                    152:        {
                    153:        forward
                    154:                [0] Certificate
                    155:                    OPTIONAL ,
                    156:        reverse
                    157:                [1] Certificate
                    158:                    OPTIONAL
                    159:        }
                    160: 
                    161: CertificationPath
                    162:        ::=
                    163:        SEQUENCE
                    164:        {
                    165:        userCertificate
                    166:                Certificate ,
                    167:        theCACertificates
                    168:                SEQUENCE OF
                    169:                        CertificatePair
                    170:                    OPTIONAL
                    171:        }
                    172: 
                    173: CertificateListToSign
                    174:        ::=
                    175:        SEQUENCE
                    176:        {
                    177:        signature
                    178:                AlgorithmIdentifier ,
                    179:        issuer
                    180:                Name ,
                    181:        lastUpdate
                    182:                UTCTime ,
                    183:        revokedCertificates
                    184:                SEQUENCE
                    185:                {
                    186:                        SEQUENCE OF
                    187:                                SEQUENCE
                    188:                                {
                    189:                                signature
                    190:                                        AlgorithmIdentifier ,
                    191:                                issuer
                    192:                                        Name ,
                    193:                                subject
                    194:                                        CertificateSerialNumber ,
                    195:                                revokationDate
                    196:                                        UTCTime
                    197:                                } ,
                    198:                        AlgorithmIdentifier ,
                    199:                        BIT STRING
                    200:                }
                    201:                    OPTIONAL
                    202:        }
                    203: 
                    204: CertificateList
                    205:        ::=
                    206:        SEQUENCE
                    207:        {
                    208:                CertificateListToSign ,
                    209:                AlgorithmIdentifier ,
                    210:                BIT STRING
                    211:        }
                    212: 
                    213: END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.