xref: /freebsd/crypto/heimdal/lib/asn1/kx509.asn1 (revision 4928135658a9d0eaee37003df6137ab363fcb0b4)
1-- $Id$
2
3KX509 DEFINITIONS ::=
4BEGIN
5
6KX509-ERROR-CODE ::= INTEGER {
7	KX509-STATUS-GOOD(0),
8	KX509-STATUS-CLIENT-BAD(1),
9	KX509-STATUS-CLIENT-FIX(2),
10	KX509-STATUS-CLIENT-TEMP(3),
11	KX509-STATUS-SERVER-BAD(4),
12	KX509-STATUS-SERVER-TEMP(5),
13        -- 6 is used internally in the umich client, avoid that
14	KX509-STATUS-SERVER-KEY(7)
15}
16
17Kx509Request ::= SEQUENCE {
18	authenticator OCTET STRING,
19	pk-hash OCTET STRING,
20	pk-key OCTET STRING
21}
22
23Kx509Response ::= SEQUENCE {
24	error-code[0]	INTEGER (-2147483648..2147483647)
25	      OPTIONAL -- DEFAULT 0 --,
26	hash[1]		OCTET STRING OPTIONAL,
27	certificate[2]	OCTET STRING OPTIONAL,
28	e-text[3]	VisibleString OPTIONAL
29}
30
31END
32