DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T U

⟦599d3d3f5⟧ TextFile

    Length: 2066 (0x812)
    Types: TextFile
    Names: »UNIV.py«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/Tools/mpp84/UNIV.py« 

TextFile

-- ASN.1 UNIVERSAL defined types


-- @(#) $Header: /cs/research/pp/hubris/pp-beta/Tools/mpp84/RCS/UNIV.py,v 5.0 90/09/20 16:28:11 pp Exp Locker: pp $
--
-- $Log:	UNIV.py,v $
-- Revision 5.0  90/09/20  16:28:11  pp
-- rcsforce : 5.0 public release
-- 
--



UNIV DEFINITIONS ::=

%{
#ifndef	lint
static char *rcsid = "$Header: /cs/research/pp/hubris/pp-beta/Tools/mpp84/RCS/UNIV.py,v 5.0 90/09/20 16:28:11 pp Exp Locker: pp $";
#endif	lint

#undef	DEBUG
#define	testdebug(pe,s)
%}

BEGIN


			-- ISO 646-1983
IA5String ::=
	[UNIVERSAL 22] IMPLICIT OCTETSTRING

ISO646String ::=
	IA5String

NumericString ::=
	[UNIVERSAL 18] IMPLICIT IA5String

PrintableString	::=
	[UNIVERSAL 19] IMPLICIT IA5String


			-- ISO 6937/2-1983
T61String ::=
	[UNIVERSAL 20] IMPLICIT OCTETSTRING

TeletexString ::=
	T61String

			-- ISO 6937/2-1983
VideotexString ::=
	[UNIVERSAL 21] IMPLICIT OCTETSTRING


			-- ISO 2014, 3307, 4031
			--     date, time, zone
GeneralizedTime	::=
	[UNIVERSAL 24] IMPLICIT VisibleString

GeneralisedTime	::=
	GeneralizedTime


UTCTime ::=
	[UNIVERSAL 23] IMPLICIT VisibleString

UniversalTime ::=
	UTCTime

			-- ISO 2375
GraphicString ::=
	[UNIVERSAL 25] IMPLICIT OCTETSTRING

VisibleString ::=
	[UNIVERSAL 26] IMPLICIT OCTETSTRING

GeneralString ::=
	[UNIVERSAL 27] IMPLICIT OCTETSTRING


			-- ISO 8824
EXTERNAL ::=
	[UNIVERSAL 8]
	    IMPLICIT SEQUENCE {
		data-value-identifier CHOICE {
			-- only for prior argreement of transfer syntax
		    direct-reference OBJECT IDENTIFIER,

			-- only for presentation layer negotiation
		    indirect-reference INTEGER
		},

		data-value-descriptor ObjectDescriptor OPTIONAL,

		encodings CHOICE {
		    single-encoding Encoding-choice,

		    multiple-encoding SEQUENCE OF SEQUENCE {
			encoding-identifier OBJECT IDENTIFIER,

			encoding Encoding-choice
		    }
		}
	    }

Encoding-choice	::=
	CHOICE {
	    single-ASN1-type[0]
		ANY,

	    octet-aligned[1]
		IMPLICIT OCTETSTRING,

	    arbitrary[2]
		IMPLICIT BITSTRING
	}


			-- ISO 8824
ObjectDescriptor ::=
	[UNIVERSAL 7] IMPLICIT GraphicString

END