-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKerberosPAKE.asn1
63 lines (53 loc) · 1.11 KB
/
KerberosPAKE.asn1
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
KerberosPAKE
DEFINITIONS EXPLICIT TAGS ::= BEGIN
IMPORTS
Int32, EncryptedData
FROM KerberosV5Spec2 {
iso(1) identified-organization(3)
dod(6) internet(1) security(5) kerberosV5(2)
modules(4) krb5spec2(2)
}; -- as defined in RFC 4120.
-- PA-PAKE 150
-- PA-PAKE-SPAKE 1
-- PA-PAKE-JPAKE 2
PAKEMessage ::= CHOICE {
support [0] PAKEInfo,
exchange [1] PAKEData,
verifier [2] PAKEData,
...
}
PAKEInfo ::= SEQUENCE {
ptypes SEQUENCE (SIZE(1..MAX)) OF Int32,
supports SEQUENCE (SIZE(1..MAX)) OF PAKESupport,
...
}
PAKESupport ::= SEQUENCE {
etype Int32,
groups SEQUENCE (SIZE(1..MAX)) OF OBJECT IDENTIFIER,
hashes SEQUENCE (SIZE(1..MAX)) OF OBJECT IDENTIFIER,
...
}
PAKEData ::= SEQUENCE {
ptype Int32,
etype Int32,
group OBJECT IDENTIFIER,
hash OBJECT IDENTIFIER,
data OCTET STRING
}
JPAKEMessage ::= CHOICE {
step1 [0] JPAKEStep1,
step2 [1] JPAKEKey,
...
}
JPAKEStep1 ::= SEQUENCE {
x1 JPAKEKey,
x2 JPAKEKey,
...
}
JPAKEKey ::= SEQUENCE {
gv OCTET STRING,
r OCTET STRING,
x OCTET STRING,
...
}
END