asn.1/pEp.asn1
author Krista Grothoff <krista@pep-project.org>
Tue, 18 Oct 2016 00:33:42 +0200
branchENGINE-109
changeset 1296 9491e990650c
parent 1077 d22b9d70370d
child 1513 e7f7e42385b5
permissions -rw-r--r--
ENGINE-109: closed branch
vb@633
     1
PEP
vb@908
     2
    { iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) pEp(47878) basic(0) }
vb@633
     3
vb@633
     4
DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
vb@633
     5
vb@592
     6
BEGIN
vb@592
     7
vb@1063
     8
EXPORTS Version, Identity, IdentityList;
vb@633
     9
vb@648
    10
ISO639-1 ::= PrintableString(FROM ("a".."z")) (SIZE(2))
vb@633
    11
Hex ::= PrintableString(FROM ("A".."F") | FROM ("0".."9"))
vb@647
    12
Hash ::= Hex(SIZE(1..128)) -- SHA1 to SHA512 in hex
vb@633
    13
vb@592
    14
Identity ::= SEQUENCE {
vb@633
    15
    address     UTF8String  (SIZE(1..1024)) OPTIONAL,
vb@633
    16
    fpr         Hash,
vb@633
    17
    user-id     UTF8String  (SIZE(1..1024)) OPTIONAL,
vb@633
    18
    username    UTF8String  (SIZE(1..1024)) OPTIONAL,
vb@633
    19
    comm-type   INTEGER     (0..255) OPTIONAL,
vb@1077
    20
    lang        ISO639-1
vb@592
    21
}
vb@592
    22
vb@940
    23
IdentityList ::= SEQUENCE OF Identity
vb@592
    24
vb@593
    25
Version ::= SEQUENCE {
vb@1077
    26
    major       INTEGER (0..255),
vb@1077
    27
    minor       INTEGER (0..255)
vb@593
    28
}
vb@593
    29
vb@592
    30
END
vb@592
    31