Blame src/tests/asn.1/spake.asn1
|
Packit |
fd8b60 |
KerberosV5SPAKE {
|
|
Packit |
fd8b60 |
iso(1) identified-organization(3) dod(6) internet(1)
|
|
Packit |
fd8b60 |
security(5) kerberosV5(2) modules(4) spake(8)
|
|
Packit |
fd8b60 |
} DEFINITIONS EXPLICIT TAGS ::= BEGIN
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
IMPORTS
|
|
Packit |
fd8b60 |
EncryptedData, Int32
|
|
Packit |
fd8b60 |
FROM KerberosV5Spec2 { iso(1) identified-organization(3)
|
|
Packit |
fd8b60 |
dod(6) internet(1) security(5) kerberosV5(2) modules(4)
|
|
Packit |
fd8b60 |
krb5spec2(2) };
|
|
Packit |
fd8b60 |
-- as defined in RFC 4120.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
SPAKESupport ::= SEQUENCE {
|
|
Packit |
fd8b60 |
groups [0] SEQUENCE (SIZE(1..MAX)) OF Int32,
|
|
Packit |
fd8b60 |
...
|
|
Packit |
fd8b60 |
}
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
SPAKEChallenge ::= SEQUENCE {
|
|
Packit |
fd8b60 |
group [0] Int32,
|
|
Packit |
fd8b60 |
pubkey [1] OCTET STRING,
|
|
Packit |
fd8b60 |
factors [2] SEQUENCE (SIZE(1..MAX)) OF SPAKESecondFactor,
|
|
Packit |
fd8b60 |
...
|
|
Packit |
fd8b60 |
}
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
SPAKESecondFactor ::= SEQUENCE {
|
|
Packit |
fd8b60 |
type [0] Int32,
|
|
Packit |
fd8b60 |
data [1] OCTET STRING OPTIONAL
|
|
Packit |
fd8b60 |
}
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
SPAKEResponse ::= SEQUENCE {
|
|
Packit |
fd8b60 |
pubkey [0] OCTET STRING,
|
|
Packit |
fd8b60 |
factor [1] EncryptedData, -- SPAKESecondFactor
|
|
Packit |
fd8b60 |
...
|
|
Packit |
fd8b60 |
}
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
PA-SPAKE ::= CHOICE {
|
|
Packit |
fd8b60 |
support [0] SPAKESupport,
|
|
Packit |
fd8b60 |
challenge [1] SPAKEChallenge,
|
|
Packit |
fd8b60 |
response [2] SPAKEResponse,
|
|
Packit |
fd8b60 |
encdata [3] EncryptedData,
|
|
Packit |
fd8b60 |
...
|
|
Packit |
fd8b60 |
}
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
END
|