]> git.saurik.com Git - apple/security.git/blob - SecuritySNACCRuntime/asn1specs/p-rec.asn1
Security-28.tar.gz
[apple/security.git] / SecuritySNACCRuntime / asn1specs / p-rec.asn1
1 -- file: .../asn1specs/p_rec.asn1
2 --
3 -- this file is used in ../c{,++}-examples/simple/
4 --
5 -- $Header: /cvs/Darwin/Security/SecuritySNACCRuntime/asn1specs/p-rec.asn1,v 1.1.1.1 2001/05/18 23:14:05 mb Exp $
6 -- $Log: p-rec.asn1,v $
7 -- Revision 1.1.1.1 2001/05/18 23:14:05 mb
8 -- Move from private repository to open source repository
9 --
10 -- Revision 1.1.1.1 1999/03/16 18:05:56 aram
11 -- Originals from SMIME Free Library.
12 --
13 -- Revision 1.3 1997/09/16 14:55:30 wan
14 -- Added test for "tag dividable by 128" case.
15 --
16 -- Revision 1.2 1995/07/25 19:53:17 rj
17 -- changed `_' to `-' in file names.
18 --
19 -- Revision 1.1 1994/08/31 23:05:47 rj
20 -- first check-in.
21 --
22
23 P-REC DEFINITIONS ::=
24 BEGIN
25
26
27 PersonnelRecord ::= --snacc isPdu:"TRUE" -- [APPLICATION 0] IMPLICIT SET
28 {
29 Name,
30 title [0] IA5String,
31 EmployeeNumber,
32 dateOfHire [1] Date,
33 nameOfSpouse [2] Name,
34 children [3] IMPLICIT SEQUENCE OF ChildInformation DEFAULT {}
35 }
36
37 ChildInformation ::= SET
38 {
39 Name,
40 dateOfBirth [0] Date
41 }
42
43 Name ::= [APPLICATION 1] IMPLICIT SEQUENCE
44 {
45 givenName IA5String,
46 initial IA5String,
47 familyName IA5String
48 }
49
50 EmployeeNumber ::= [APPLICATION 128] IMPLICIT INTEGER
51
52 Date ::= [APPLICATION 3] IMPLICIT IA5String -- YYYYMMDD
53
54
55
56 END