(UNSIGNED): add.
use UNSIGNED for all sequence numbers. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8135 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -10,6 +10,10 @@ nt-srv-hst INTEGER ::= 3 -- Service with host name as instance
|
|||||||
nt-srv-xhst INTEGER ::= 4 -- Service with host as remaining components
|
nt-srv-xhst INTEGER ::= 4 -- Service with host as remaining components
|
||||||
nt-uid INTEGER ::= 5 -- Unique ID
|
nt-uid INTEGER ::= 5 -- Unique ID
|
||||||
|
|
||||||
|
-- this is sugar to make something ASN1 does not have: unsigned
|
||||||
|
|
||||||
|
UNSIGNED ::= INTEGER (0..4294967295)
|
||||||
|
|
||||||
Realm ::= GeneralString
|
Realm ::= GeneralString
|
||||||
PrincipalName ::= SEQUENCE {
|
PrincipalName ::= SEQUENCE {
|
||||||
name-type[0] INTEGER,
|
name-type[0] INTEGER,
|
||||||
@@ -147,7 +151,7 @@ Authenticator ::= [APPLICATION 2] SEQUENCE {
|
|||||||
cusec[4] INTEGER,
|
cusec[4] INTEGER,
|
||||||
ctime[5] KerberosTime,
|
ctime[5] KerberosTime,
|
||||||
subkey[6] EncryptionKey OPTIONAL,
|
subkey[6] EncryptionKey OPTIONAL,
|
||||||
seq-number[7] INTEGER OPTIONAL,
|
seq-number[7] UNSIGNED OPTIONAL,
|
||||||
authorization-data[8] AuthorizationData OPTIONAL
|
authorization-data[8] AuthorizationData OPTIONAL
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -252,14 +256,14 @@ EncAPRepPart ::= [APPLICATION 27] SEQUENCE {
|
|||||||
ctime[0] KerberosTime,
|
ctime[0] KerberosTime,
|
||||||
cusec[1] INTEGER,
|
cusec[1] INTEGER,
|
||||||
subkey[2] EncryptionKey OPTIONAL,
|
subkey[2] EncryptionKey OPTIONAL,
|
||||||
seq-number[3] INTEGER OPTIONAL
|
seq-number[3] UNSIGNED OPTIONAL
|
||||||
}
|
}
|
||||||
|
|
||||||
KRB-SAFE-BODY ::= SEQUENCE {
|
KRB-SAFE-BODY ::= SEQUENCE {
|
||||||
user-data[0] OCTET STRING,
|
user-data[0] OCTET STRING,
|
||||||
timestamp[1] KerberosTime OPTIONAL,
|
timestamp[1] KerberosTime OPTIONAL,
|
||||||
usec[2] INTEGER OPTIONAL,
|
usec[2] INTEGER OPTIONAL,
|
||||||
seq-number[3] INTEGER OPTIONAL,
|
seq-number[3] UNSIGNED OPTIONAL,
|
||||||
s-address[4] HostAddress OPTIONAL,
|
s-address[4] HostAddress OPTIONAL,
|
||||||
r-address[5] HostAddress OPTIONAL
|
r-address[5] HostAddress OPTIONAL
|
||||||
}
|
}
|
||||||
@@ -280,7 +284,7 @@ EncKrbPrivPart ::= [APPLICATION 28] SEQUENCE {
|
|||||||
user-data[0] OCTET STRING,
|
user-data[0] OCTET STRING,
|
||||||
timestamp[1] KerberosTime OPTIONAL,
|
timestamp[1] KerberosTime OPTIONAL,
|
||||||
usec[2] INTEGER OPTIONAL,
|
usec[2] INTEGER OPTIONAL,
|
||||||
seq-number[3] INTEGER OPTIONAL,
|
seq-number[3] UNSIGNED OPTIONAL,
|
||||||
s-address[4] HostAddress OPTIONAL, -- sender's addr
|
s-address[4] HostAddress OPTIONAL, -- sender's addr
|
||||||
r-address[5] HostAddress OPTIONAL -- recip's addr
|
r-address[5] HostAddress OPTIONAL -- recip's addr
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user