/usr/include/snacc/asn1/asn-useful.asn1 is in snacc 1.3.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | ASN-USEFUL DEFINITIONS ::=
BEGIN
-- file: .../asn1specs/asn-useful.asn1
--
-- NOTE: every one of these types is marked as a PDU so the compiler
-- will produce the encode and decode routines that
-- enc/dec the top tag/len pairs, not just the content decoders.
-- (only nec for re-generating the library files "asn_useful.[ch]").
-- The isPdu field does not affect how this module is linked
-- with other modules during compilation.
--
-- (type DEF comment directives immediately follow the "::=")
--
-- MS 92
--
-- $Header: /usr/app/odstb/CVS/snacc/asn1specs/asn-useful.asn1,v 1.3 1995/07/24 15:12:35 rj Exp $
-- $Log: asn-useful.asn1,v $
-- Revision 1.3 1995/07/24 15:12:35 rj
-- useful.asn1 renamed to asn-useful.asn1 to accomodate to snacc's new file name generation scheme.
--
-- Revision 1.2 1994/08/28 09:54:19 rj
-- comment leader fixed.
--
-- Revision 1.1 1994/08/28 09:51:15 rj
-- first check-in.
ObjectDescriptor ::= -- isPdu:"TRUE" --
[UNIVERSAL 7] IMPLICIT OCTET STRING
NumericString ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 18] IMPLICIT OCTET STRING
PrintableString ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 19] IMPLICIT OCTET STRING
TeletexString ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 20] IMPLICIT OCTET STRING
T61String ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 20] IMPLICIT OCTET STRING
VideotexString ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 21] IMPLICIT OCTET STRING
IA5String ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 22] IMPLICIT OCTET STRING
GraphicString ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 25] IMPLICIT OCTET STRING
VisibleString ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 26] IMPLICIT OCTET STRING
ISO646String ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 26] IMPLICIT OCTET STRING
GeneralString ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 27] IMPLICIT OCTET STRING
UTCTime ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 23] IMPLICIT OCTET STRING
GeneralizedTime ::= --snacc isPdu:"TRUE" --
[UNIVERSAL 24] IMPLICIT OCTET STRING
EXTERNAL ::= --snacc isPdu:"TRUE" -- [UNIVERSAL 8] IMPLICIT SEQUENCE
{
direct-reference OBJECT IDENTIFIER OPTIONAL,
indirect-reference INTEGER OPTIONAL,
data-value-descriptor ObjectDescriptor OPTIONAL,
encoding CHOICE
{
single-ASN1-type [0] OCTET STRING, -- should be ANY
octet-aligned [1] IMPLICIT OCTET STRING,
arbitrary [2] IMPLICIT BIT STRING
}
}
END -- of ASN-USEFUL type definitions
|