asn.1/pEp.asn1
author Krista Bennett <krista@pep-project.org>
Wed, 06 Jun 2018 20:21:24 +0200
branchENGINE-422
changeset 2742 cd06139cb7fc
parent 1513 e7f7e42385b5
child 2829 e444c3c960bb
permissions -rw-r--r--
close branch
vb@1513
     1
/* This file is under GNU General Public License 3.0 */
vb@1513
     2
/* see LICENSE.txt */
vb@1513
     3
vb@633
     4
PEP
vb@908
     5
    { iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) pEp(47878) basic(0) }
vb@633
     6
vb@633
     7
DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
vb@633
     8
vb@592
     9
BEGIN
vb@592
    10
vb@1063
    11
EXPORTS Version, Identity, IdentityList;
vb@633
    12
vb@648
    13
ISO639-1 ::= PrintableString(FROM ("a".."z")) (SIZE(2))
vb@633
    14
Hex ::= PrintableString(FROM ("A".."F") | FROM ("0".."9"))
vb@647
    15
Hash ::= Hex(SIZE(1..128)) -- SHA1 to SHA512 in hex
vb@633
    16
vb@592
    17
Identity ::= SEQUENCE {
vb@633
    18
    address     UTF8String  (SIZE(1..1024)) OPTIONAL,
vb@633
    19
    fpr         Hash,
vb@633
    20
    user-id     UTF8String  (SIZE(1..1024)) OPTIONAL,
vb@633
    21
    username    UTF8String  (SIZE(1..1024)) OPTIONAL,
vb@633
    22
    comm-type   INTEGER     (0..255) OPTIONAL,
vb@1077
    23
    lang        ISO639-1
vb@592
    24
}
vb@592
    25
vb@940
    26
IdentityList ::= SEQUENCE OF Identity
vb@592
    27
vb@593
    28
Version ::= SEQUENCE {
vb@1077
    29
    major       INTEGER (0..255),
vb@1077
    30
    minor       INTEGER (0..255)
vb@593
    31
}
vb@593
    32
vb@592
    33
END
vb@592
    34